fix: environment access is not allowed in hm profiles
This commit is contained in:
parent
f9f905a771
commit
f4461c91e7
5 changed files with 5 additions and 9 deletions
|
@ -1 +1 @@
|
||||||
{ imports = [ ]; }
|
{ imports = [ ./shells/zsh.nix ]; }
|
||||||
|
|
3
profiles/develop/shells/zsh.nix
Normal file
3
profiles/develop/shells/zsh.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{ ... }: {
|
||||||
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
|
}
|
|
@ -7,6 +7,4 @@
|
||||||
|
|
||||||
starship.enableBashIntegration = true;
|
starship.enableBashIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
config.environment.shells = with pkgs; [ bashInteractive ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,4 @@
|
||||||
|
|
||||||
starship.enableFishIntegration = lib.mkIf config.programs.starship.enable true;
|
starship.enableFishIntegration = lib.mkIf config.programs.starship.enable true;
|
||||||
};
|
};
|
||||||
|
|
||||||
config.environment.shells = [ pkgs.fish ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,8 +60,5 @@
|
||||||
starship.enableZshIntegration = lib.mkIf config.programs.starship.enable true;
|
starship.enableZshIntegration = lib.mkIf config.programs.starship.enable true;
|
||||||
};
|
};
|
||||||
|
|
||||||
config.environment = {
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
pathsToLink = [ "/share/zsh" ];
|
|
||||||
shells = [ pkgs.zsh ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue