summaryrefslogtreecommitdiff
path: root/nixos/common
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/common')
-rw-r--r--nixos/common/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/common/default.nix b/nixos/common/default.nix
index a99eb95..b199ca5 100644
--- a/nixos/common/default.nix
+++ b/nixos/common/default.nix
@@ -11,8 +11,6 @@
./services.nix
];
-
-
nix.settings.experimental-features = ["nix-command" "flakes"];
time.timeZone = "Europe/Amsterdam"; # Set timezone
@@ -62,6 +60,12 @@
lz4
];
+ systemd.oomd = {
+ enable = true;
+ enableUserSlices = true;
+ enableRootSlice = true;
+ };
+
# This option defines the first version of NixOS you have installed on this particular machine,