Regenerated
This commit is contained in:
+5
-10
@@ -1218,18 +1218,13 @@ This sets up the zsh in the terminal
|
||||
|
||||
let
|
||||
username = config.users.users.defaultUser or "henrov";
|
||||
homeDir = "/home/${username}";
|
||||
programName = "zsh";
|
||||
programAssets = ../../../assets/system/conf/${programName};
|
||||
zshInitFile = "${programAssets}/zsh.conf";
|
||||
in
|
||||
{
|
||||
# Ensure zsh is installed system-wide
|
||||
environment.systemPackages = [ pkgs.zsh ];
|
||||
|
||||
# Home Manager configuration for the default user
|
||||
home.username = username;
|
||||
home.homeDirectory = homeDir;
|
||||
# Make sure Zsh is available to the user
|
||||
home.packages = [ pkgs.zsh ];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
@@ -1245,10 +1240,10 @@ in
|
||||
"direnv"
|
||||
"zsh-completions"
|
||||
];
|
||||
|
||||
# Inject custom Zsh configuration
|
||||
shellInit = builtins.readFile zshInitFile;
|
||||
};
|
||||
|
||||
# Inject extra Zsh config
|
||||
shellInit = builtins.readFile zshInitFile;
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
Reference in New Issue
Block a user