summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-12-09 19:50:25 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-12-09 19:50:25 -0500
commit9999a412c67c69406eef691ec0bce1a54214a73b (patch)
treeb3608adf9f36f7ce4be5764da0ee01fd9ac79bc1 /modules
parent6ada051ea8544e0dc8cb0e16c3cfc5e7b3600bf1 (diff)
Upgrade to NixOS 21.11
Diffstat (limited to 'modules')
-rw-r--r--modules/common.nix4
-rw-r--r--modules/users.nix3
2 files changed, 4 insertions, 3 deletions
diff --git a/modules/common.nix b/modules/common.nix
index 84f7b83..9d649c1 100644
--- a/modules/common.nix
+++ b/modules/common.nix
@@ -86,8 +86,8 @@
gc.automatic = lib.mkDefault true;
trustedBinaryCaches = [ "https://cache.nixos.org" ];
binaryCaches = trustedBinaryCaches;
- daemonNiceLevel = 10;
- daemonIONiceLevel = 10;
+ daemonCPUSchedPolicy = "idle";
+ daemonIOSchedPriority = 10;
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
diff --git a/modules/users.nix b/modules/users.nix
index ff4e7e2..7729e7c 100644
--- a/modules/users.nix
+++ b/modules/users.nix
@@ -61,8 +61,8 @@ in {
};
minecraft = {
name = "minecraft";
- uid = config.ids.uids.minecraft;
extraGroups = [ "readonly" ];
+ group = "minecraft";
isSystemUser = true;
};
stats = {
@@ -155,6 +155,7 @@ in {
pjournal = { gid = 507; };
pjournal_test = { gid = 508; };
hledger = lib.mkIf config.orbekk.hledger-web.enable { };
+ minecraft = {};
};
};
}