From 7decd40844224c894195fd948ac9829d2f9d0765 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 23 Dec 2024 11:14:18 -0500 Subject: [PATCH] Switch to zsh. --- nix/configuration/configuration.nix | 1 + nix/configuration/roles/zsh/default.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 nix/configuration/roles/zsh/default.nix diff --git a/nix/configuration/configuration.nix b/nix/configuration/configuration.nix index c8fe1c8..6d9e79e 100644 --- a/nix/configuration/configuration.nix +++ b/nix/configuration/configuration.nix @@ -22,6 +22,7 @@ ./zfs.nix ./network.nix ./roles/firewall + ./roles/zsh ./roles/graphics ./roles/sound ./roles/sway diff --git a/nix/configuration/roles/zsh/default.nix b/nix/configuration/roles/zsh/default.nix new file mode 100644 index 0000000..ec8801a --- /dev/null +++ b/nix/configuration/roles/zsh/default.nix @@ -0,0 +1,17 @@ +{ + config, + lib, + pkgs, + ... +}: + +{ + imports = [ ]; + + environment.systemPackages = with pkgs; [ + zsh + ]; + + users.users.talexander.shell = pkgs.zsh; + environment.shells = with pkgs; [ zsh ]; +}