move all zsh options to the module
This commit is contained in:
parent
01a5b312b9
commit
06c4893c05
2 changed files with 9 additions and 5 deletions
|
@ -138,14 +138,9 @@
|
|||
users.users.${config'.username} = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" "libvirtd" ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
environment = {
|
||||
shells = [ pkgs.zsh ];
|
||||
pathsToLink = [ "/share/zsh" ];
|
||||
sessionVariables = {
|
||||
TERM = "foot";
|
||||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
||||
|
|
|
@ -22,6 +22,15 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.zsh.enable = true;
|
||||
|
||||
users.users.${config'.username}.shell = pkgs.zsh;
|
||||
|
||||
environment = {
|
||||
shells = [ pkgs.zsh ];
|
||||
pathsToLink = [ "/share/zsh" ];
|
||||
};
|
||||
|
||||
home-manager.users.${config'.username} = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue