From 74ec60d50d38c8b2f095ef2756a78a460325a225 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 11 Jan 2026 19:07:14 +0100 Subject: [PATCH] profile/zsh: init --- profiles/default.nix | 1 + profiles/zsh/default.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 profiles/zsh/default.nix 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; + }; +}