about summary refs log tree commit diff
path: root/nix/hosts/work
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-10-26 11:03:52 -0700
committerFranck Cuny <franck@fcuny.net>2024-10-26 11:03:52 -0700
commitbeb9e15884a1d3eb519edbe92770460d4141625d (patch)
tree757eb3eb18578dc17c1380f10a5e40b9bb6a5e7e /nix/hosts/work
parentfix typo for the name of the cascadia font (diff)
downloadworld-beb9e15884a1d3eb519edbe92770460d4141625d.tar.gz
centralize more configurations related to darwin
Diffstat (limited to 'nix/hosts/work')
-rw-r--r--nix/hosts/work/default.nix17
1 files changed, 5 insertions, 12 deletions
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";
 }