diff options
author | Alan Pearce | 2025-02-02 20:39:53 +0100 |
---|---|---|
committer | Alan Pearce | 2025-02-02 20:39:53 +0100 |
commit | 6f752c78607cf2043e0bd2ce4219510bc7965276 (patch) | |
tree | 46ab2157917e70a37b00b8f441eb133d8cd99fdd /system/settings/configuration | |
parent | bbc69d9fbfead8f20c48d76dec98cce143ad9602 (diff) | |
download | nixfiles-6f752c78607cf2043e0bd2ce4219510bc7965276.tar.lz nixfiles-6f752c78607cf2043e0bd2ce4219510bc7965276.tar.zst nixfiles-6f752c78607cf2043e0bd2ce4219510bc7965276.zip |
use srvos for better defaults on linde/marvin
Diffstat (limited to 'system/settings/configuration')
-rw-r--r-- | system/settings/configuration/nix-linux.nix | 10 | ||||
-rw-r--r-- | system/settings/configuration/nix.nix | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/system/settings/configuration/nix-linux.nix b/system/settings/configuration/nix-linux.nix index e11b0389..1c26bc7e 100644 --- a/system/settings/configuration/nix-linux.nix +++ b/system/settings/configuration/nix-linux.nix @@ -1,5 +1,4 @@ { config -, lib , pkgs , ... }: { @@ -11,20 +10,11 @@ settings = { auto-optimise-store = true; }; - daemonCPUSchedPolicy = "idle"; - daemonIOSchedClass = "idle"; }; nixpkgs.config.allowUnfree = true; system.autoUpgrade = { enable = true; - flags = [ "--max-jobs" "2" ]; - }; - systemd.services.nixos-upgrade = { - script = pkgs.lib.mkForce '' - ${pkgs.nix}/bin/nix-channel --update - ${config.system.build.nixos-rebuild}/bin/nixos-rebuild boot --no-build-output ${toString config.system.autoUpgrade.flags} - ''; }; } diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix index b0459b16..481c3911 100644 --- a/system/settings/configuration/nix.nix +++ b/system/settings/configuration/nix.nix @@ -9,7 +9,6 @@ use-xdg-base-directories = true; keep-outputs = true; keep-derivations = true; - experimental-features = "nix-command flakes"; warn-dirty = false; substituters = [ "https://nix-community.cachix.org" @@ -38,7 +37,6 @@ type = "path"; path = pkgs.path; }; - }; }; } |