diff options
Diffstat (limited to '')
| -rw-r--r-- | nixos/common/default.nix | 8 | ||||
| -rw-r--r-- | nixos/desktop/default.nix | 24 |
2 files changed, 18 insertions, 14 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, diff --git a/nixos/desktop/default.nix b/nixos/desktop/default.nix index eb7fa46..b987376 100644 --- a/nixos/desktop/default.nix +++ b/nixos/desktop/default.nix @@ -9,21 +9,21 @@ programs = { dconf.enable = true; - thunar = { - enable = true; - plugins = with pkgs.xfce; [ - thunar-archive-plugin - thunar-media-tags-plugin - thunar-volman - ]; - }; + thunar = { + enable = true; + plugins = with pkgs.xfce; [ + thunar-archive-plugin + thunar-media-tags-plugin + thunar-volman + ]; + }; }; - # Enable CUPS to print documents. - services.printing.enable = true; + # Enable CUPS to print documents. + services.printing.enable = true; - # Enable touchpad support (enabled default in most desktopManager). - services.libinput.enable = true; + # Enable touchpad support (enabled default in most desktopManager). + services.libinput.enable = true; services = { blueman.enable = true; |
