summaryrefslogtreecommitdiff
path: root/nixos/common
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-07-05 12:36:42 +0200
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-07-05 12:41:34 +0200
commit97a8700d17094f6e8e64d218e1a814f2eeb54cf5 (patch)
treefe72dce2810da713e3dbd1bbf5b4cdee00866e14 /nixos/common
parent6fdefa5e878ac5ded5c60d0399703b063d263cb4 (diff)
Add oomd to common config
Diffstat (limited to '')
-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,