about summary refs log tree commit diff
path: root/nix/hosts/work
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-03-11 17:26:22 -0700
committerFranck Cuny <franck@fcuny.net>2024-03-11 17:26:22 -0700
commit1248d431ff09c15df666b381059efb8884718a9b (patch)
tree7959ce50cd52a99998430b13d0e47feff9630789 /nix/hosts/work
parentreorganize common files for hosts (diff)
downloadworld-1248d431ff09c15df666b381059efb8884718a9b.tar.gz
switch to absolute path
Diffstat (limited to 'nix/hosts/work')
-rw-r--r--nix/hosts/work/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/nix/hosts/work/default.nix b/nix/hosts/work/default.nix
new file mode 100644
index 0000000..24cb95e
--- /dev/null
+++ b/nix/hosts/work/default.nix
@@ -0,0 +1,13 @@
+{ self, ... }:
+{
+  services.nix-daemon.enable = true;
+
+  programs.zsh.enable = true;
+
+  users.users.fcuny.home = "/Users/fcuny";
+
+  # Touch ID for sudo auth
+  security.pam.enableSudoTouchIdAuth = true;
+
+  home-manager.users.fcuny = import "${self}/nix/profiles/home-manager/work.nix";
+}