From 97a8700d17094f6e8e64d218e1a814f2eeb54cf5 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sat, 5 Jul 2025 12:36:42 +0200 Subject: Add oomd to common config --- nixos/common/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'nixos/common') 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, -- cgit v1.3.1