diff options
author | makefu <github@syntax-fehler.de> | 2021-12-13 09:29:58 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-12-13 09:29:58 +0100 |
commit | ed065e8add0376384b8f23a016f0fedab13f7fd2 (patch) | |
tree | 1e596ac0432bb6d085d2861efee5f54bdea37e75 /tv/2configs/hw/AO753.nix | |
parent | d424c3f6af7c505d5ad64210d0a1b59af7483916 (diff) | |
parent | f2533d88924feb48834a07c4dc1e82cd21acd025 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'tv/2configs/hw/AO753.nix')
-rw-r--r-- | tv/2configs/hw/AO753.nix | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/tv/2configs/hw/AO753.nix b/tv/2configs/hw/AO753.nix index 469f5c6f8..dd6fcfe67 100644 --- a/tv/2configs/hw/AO753.nix +++ b/tv/2configs/hw/AO753.nix @@ -5,6 +5,18 @@ with import <stockholm/lib>; { imports = [ ../smartd.nix + + { + nix.buildCores = 2; + nix.maxJobs = 2; + } + (if lib.versionAtLeast (lib.versions.majorMinor lib.version) "21.11" then { + nix.daemonCPUSchedPolicy = "batch"; + nix.daemonIOSchedPriority = 1; + } else { + nix.daemonIONiceLevel = 1; + nix.daemonNiceLevel = 1; + }) ]; boot.loader.grub = { @@ -21,21 +33,10 @@ with import <stockholm/lib>; "wl" ]; - # broadcom_sta is marked as broken for 5.9+ - # pkgs.linuxPackages_latest ist 5.9 - boot.kernelPackages = pkgs.linuxPackages_5_8; - boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; - nix = { - buildCores = 2; - maxJobs = 2; - daemonIONiceLevel = 1; - daemonNiceLevel = 1; - }; - services.logind.extraConfig = '' HandleHibernateKey=ignore HandleLidSwitch=ignore |