feat: add zsh as default shell
This commit is contained in:
parent
f0a423f2f4
commit
466697be14
7 changed files with 28 additions and 6 deletions
|
@ -1,4 +1,10 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./networking.nix
|
||||
./shell.nix
|
||||
./stylix.nix
|
||||
];
|
||||
|
||||
users.users.rafiq = {
|
||||
isNormalUser = true;
|
||||
description = "rafiq";
|
||||
|
|
7
systems/modules/programs/zsh.nix
Normal file
7
systems/modules/programs/zsh.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
};
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
environment.pathsToLink = ["/share/zsh"]; # enables completion
|
||||
}
|
5
systems/modules/shell.nix
Normal file
5
systems/modules/shell.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./programs/zsh.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue