feat(zsh): add zsh as default user shell
This commit is contained in:
parent
8b69346b1f
commit
db66adcc8c
4 changed files with 31 additions and 0 deletions
14
modules/nixos/cli/default.nix
Normal file
14
modules/nixos/cli/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{config, lib,...}:
|
||||
{
|
||||
imports = [];
|
||||
|
||||
options.cli = {};
|
||||
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
environment.pathsToLink = [ "/share/zsh" ]; # enables completion
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue