diff options
author | Franck Cuny <fcuny@roblox.com> | 2024-04-19 09:20:57 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@roblox.com> | 2024-04-19 09:20:57 -0700 |
commit | f5400b6fb0c3cb57a2950b027da41d44204cdcd4 (patch) | |
tree | 11c157a4178b6a76b7ba52d402e3c8042e3004f1 /nix/hosts | |
parent | move the `slocalc` to a python script (diff) | |
download | world-f5400b6fb0c3cb57a2950b027da41d44204cdcd4.tar.gz |
switch to fish as the default shell
Diffstat (limited to 'nix/hosts')
-rw-r--r-- | nix/hosts/mba/default.nix | 6 | ||||
-rw-r--r-- | nix/hosts/work/default.nix | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/nix/hosts/mba/default.nix b/nix/hosts/mba/default.nix index d583df6..a9779f8 100644 --- a/nix/hosts/mba/default.nix +++ b/nix/hosts/mba/default.nix @@ -1,10 +1,14 @@ -{ self, ... }: +{ pkgs, self, ... }: { services.nix-daemon.enable = true; programs.zsh.enable = true; + programs.fish.enable = true; + + environment.shells = [ pkgs.fish pkgs.zsh ]; users.users.fcuny.home = "/Users/fcuny"; + users.users.fcuny.shell = pkgs.fish; # Touch ID for sudo auth security.pam.enableSudoTouchIdAuth = true; diff --git a/nix/hosts/work/default.nix b/nix/hosts/work/default.nix index 24cb95e..895d9af 100644 --- a/nix/hosts/work/default.nix +++ b/nix/hosts/work/default.nix @@ -1,10 +1,14 @@ -{ self, ... }: +{ pkgs, self, ... }: { services.nix-daemon.enable = true; programs.zsh.enable = true; + programs.fish.enable = true; + + environment.shells = [ pkgs.fish pkgs.zsh ]; users.users.fcuny.home = "/Users/fcuny"; + users.users.fcuny.shell = pkgs.fish; # Touch ID for sudo auth security.pam.enableSudoTouchIdAuth = true; |