summaryrefslogtreecommitdiff
path: root/hostnix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-04-14 23:43:15 -0400
committerJoe Mou <dev@mou.fo>2026-04-15 01:40:36 -0400
commitdb06a927b99813b7be1f936ad0a7171b553141e3 (patch)
tree9a1f6b17055e4181a0786302ea81f574ee0521bb /hostnix
parent40845ef76969cda496bb7e00231e9c2c315eac27 (diff)
mojo: Lazy darwin-rebuild
Perhaps less secure but we're running this command a whole lot.
Diffstat (limited to 'hostnix')
-rw-r--r--hostnix/mojo/modules/system.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostnix/mojo/modules/system.nix b/hostnix/mojo/modules/system.nix
index f7c836b..9e18a85 100644
--- a/hostnix/mojo/modules/system.nix
+++ b/hostnix/mojo/modules/system.nix
@@ -16,6 +16,10 @@
system.primaryUser = "joe";
+ security.sudo.extraConfig = ''
+ Defaults!/run/current-system/sw/bin/darwin-rebuild timestamp_timeout=120
+ '';
+
# $ chsh -s /run/current-system/sw/bin/bash
environment.shells = [ pkgs.bashInteractive ];
programs.bash.completion.enable = true;