From f5400b6fb0c3cb57a2950b027da41d44204cdcd4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 19 Apr 2024 09:20:57 -0700 Subject: switch to fish as the default shell --- nix/hosts/mba/default.nix | 6 +++++- nix/hosts/work/default.nix | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'nix/hosts') 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; -- cgit 1.4.1