summary refs log tree commit diff stats
path: root/system/settings/darwin.nix
diff options
context:
space:
mode:
authorAlan Pearce2025-02-02 20:39:53 +0100
committerAlan Pearce2025-02-02 20:39:53 +0100
commit6f752c78607cf2043e0bd2ce4219510bc7965276 (patch)
tree46ab2157917e70a37b00b8f441eb133d8cd99fdd /system/settings/darwin.nix
parentbbc69d9fbfead8f20c48d76dec98cce143ad9602 (diff)
downloadnixfiles-6f752c78607cf2043e0bd2ce4219510bc7965276.tar.lz
nixfiles-6f752c78607cf2043e0bd2ce4219510bc7965276.tar.zst
nixfiles-6f752c78607cf2043e0bd2ce4219510bc7965276.zip
use srvos for better defaults on linde/marvin
Diffstat (limited to 'system/settings/darwin.nix')
-rw-r--r--system/settings/darwin.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index 0f507a31..9841c06c 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -16,9 +16,7 @@
     [ "/run/current-system/sw" "/nix/var/nix/profiles/default" ]
   ];
 
-  environment.darwinConfig = "$HOME/.config/nixpkgs/darwin-configuration.nix";
   nix = {
-    daemonIOLowPriority = true;
     settings.extra-platforms = "aarch64-darwin x86_64-darwin";
 
     settings.trusted-users = [ "@admin" ];
@@ -28,11 +26,6 @@
     allowUnfree = true;
   };
 
-  # needed so that nix-darwin can activate the system as root
-  security.sudo.extraConfig = ''
-    Defaults	env_keep += "NIX_PATH"
-  '';
-
   services.lorri.enable = true;
   launchd.user.agents.lorri = {
     serviceConfig = {