From beb9e15884a1d3eb519edbe92770460d4141625d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 26 Oct 2024 11:03:52 -0700 Subject: centralize more configurations related to darwin --- nix/hosts/work/default.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'nix/hosts/work') diff --git a/nix/hosts/work/default.nix b/nix/hosts/work/default.nix index 0d9432e..9d5f2c0 100644 --- a/nix/hosts/work/default.nix +++ b/nix/hosts/work/default.nix @@ -1,18 +1,11 @@ -{ pkgs, self, ... }: -{ - services.nix-daemon.enable = true; - - programs.fish.enable = true; - - environment.shells = [ pkgs.fish ]; - +{ pkgs, self, ... }: { users.users.fcuny.home = "/Users/fcuny"; users.users.fcuny.shell = pkgs.fish; - - # Touch ID for sudo auth - security.pam.enableSudoTouchIdAuth = true; + programs.fish.enable = true; + environment.shells = [ pkgs.fish ]; system.stateVersion = 5; - home-manager.users.fcuny = import "${self}/nix/profiles/home-manager/work.nix"; + home-manager.users.fcuny = + import "${self}/nix/profiles/home-manager/work.nix"; } -- cgit 1.4.1