Regenerated

This commit is contained in:
2026-03-30 13:13:32 +00:00
parent 6690605575
commit 6b699004b5
3 changed files with 312 additions and 318 deletions
+296 -298
View File
File diff suppressed because it is too large Load Diff
+8 -10
View File
@@ -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;
} }