From 7e76f5f09fab60e8ac95172a267b6f88b6d2b379 Mon Sep 17 00:00:00 2001 From: Claas Date: Tue, 17 Sep 2024 18:18:41 +0200 Subject: [PATCH] Set fish as shell Does not work currently I believe but when it works again it should work --- flake.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 1ba704d..32ad0fc 100644 --- a/flake.nix +++ b/flake.nix @@ -36,7 +36,7 @@ # Create /etc/zshrc that loads the nix-darwin environment. programs.zsh.enable = true; # default shell on catalina - # programs.fish.enable = true; + programs.fish.enable = true; # Set Git commit hash for darwin-version. system.configurationRevision = self.rev or self.dirtyRev or null; @@ -63,7 +63,13 @@ ]; # Tell nix wher the home directory is for hom manager - users.users.claas.home = "/Users/claas"; + users.users = { + claas = { + home = "/Users/claas"; + # This does not set the shell for the user. Use instructions above + shell = pkgs.fish; + }; + }; # Tell nix to build users that are currently not in the system nix.configureBuildUsers = true; -- 2.51.2