Regenerated
This commit is contained in:
+296
-298
File diff suppressed because it is too large
Load Diff
+8
-10
@@ -1145,7 +1145,7 @@ This sets up the zsh in the terminal
|
|||||||
{ lib, pkgs, flakeRoot, ... }:
|
{ lib, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Path to generated zsh config (optional)
|
# Path to generated global zshrc
|
||||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -1158,16 +1158,14 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Optional: Deploy a custom .zshrc for all users
|
# Deploy global zshrc for all users
|
||||||
#################################
|
#################################
|
||||||
# This will create /etc/zsh/.zshrc for all users
|
environment.etc."zshrc".text = ''
|
||||||
environment.etc."zshrc".source = generatedZsh;
|
export ZSH=${pkgs.oh-my-zsh}/share/oh-my-zsh
|
||||||
|
ZSH_THEME=""
|
||||||
#################################
|
plugins=(git sudo extract colored-man-pages command-not-found history docker kubectl)
|
||||||
# Optional: Set default shell for all users
|
source $ZSH/oh-my-zsh.sh
|
||||||
#################################
|
'';
|
||||||
# You can enable this if you want
|
|
||||||
# users.extraUsers.<username>.shell = pkgs.zsh;
|
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ lib, pkgs, flakeRoot, ... }:
|
{ lib, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Path to generated zsh config (optional)
|
# Path to generated global zshrc
|
||||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -14,14 +14,12 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Optional: Deploy a custom .zshrc for all users
|
# Deploy global zshrc for all users
|
||||||
#################################
|
#################################
|
||||||
# This will create /etc/zsh/.zshrc for all users
|
environment.etc."zshrc".text = ''
|
||||||
environment.etc."zshrc".source = generatedZsh;
|
export ZSH=${pkgs.oh-my-zsh}/share/oh-my-zsh
|
||||||
|
ZSH_THEME=""
|
||||||
#################################
|
plugins=(git sudo extract colored-man-pages command-not-found history docker kubectl)
|
||||||
# Optional: Set default shell for all users
|
source $ZSH/oh-my-zsh.sh
|
||||||
#################################
|
'';
|
||||||
# You can enable this if you want
|
|
||||||
# users.extraUsers.<username>.shell = pkgs.zsh;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user