commit ef3e2ec68fbdf05ae9a8e4ccd1efaa91a031e22b
parent b6ce4a169ec4f6dc87980a582803a2a8e224db9c
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 9 Aug 2023 14:24:28 +0200
Set zsh for marcel as shell
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/home-manager/home.nix b/home-manager/home.nix
@@ -61,6 +61,7 @@
programs.zsh = {
enable = true;
shellAliases = {
+ # TODO: Make this specific to the current running host instead
update = "cd /etc/nixos/nixos && git pull && sudo nixos-rebuild switch --flake .#worker-1 && home-manager switch --flake .#marcel@worker-1";
};
history = {
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -111,8 +111,12 @@
rustc
rustfmt
home-manager
+ zsh
];
+ # Ensure /etc/shells is setups
+ environment.shells = with pkgs; [ zsh ];
+
boot.loader = {
systemd-boot = {
enable = true;
@@ -158,6 +162,7 @@
];
# TODO: Be sure to add any other groups you need (such as networkmanager, audio, docker, etc)
extraGroups = [ "wheel" ];
+ shell = pkgs.zsh;
};
};