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, ... }:
|
||||
|
||||
let
|
||||
# Path to generated zsh config (optional)
|
||||
# Path to generated global zshrc
|
||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||
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".source = generatedZsh;
|
||||
|
||||
#################################
|
||||
# Optional: Set default shell for all users
|
||||
#################################
|
||||
# You can enable this if you want
|
||||
# users.extraUsers.<username>.shell = pkgs.zsh;
|
||||
environment.etc."zshrc".text = ''
|
||||
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)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
'';
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
# Path to generated zsh config (optional)
|
||||
# Path to generated global zshrc
|
||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||
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".source = generatedZsh;
|
||||
|
||||
#################################
|
||||
# Optional: Set default shell for all users
|
||||
#################################
|
||||
# You can enable this if you want
|
||||
# users.extraUsers.<username>.shell = pkgs.zsh;
|
||||
environment.etc."zshrc".text = ''
|
||||
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)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user