diff --git a/profiles/default.nix b/profiles/default.nix index 4f95122..f454d45 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -23,5 +23,6 @@ ./update ./usb-iso ./webcam + ./zsh ]; } diff --git a/profiles/zsh/default.nix b/profiles/zsh/default.nix new file mode 100644 index 0000000..41edd59 --- /dev/null +++ b/profiles/zsh/default.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + pkgs, + ... +}: +let + cfg = config.my.profiles.zsh; +in +{ + options.my.profiles.zsh = with lib; { + enable = mkEnableOption "zsh profile"; + }; + + config = lib.mkIf cfg.enable { + users.defaultUserShell = pkgs.zsh; + programs.zsh.enable = true; + }; +}