diff options
author | devhell <devhell@mailfresser.de> | 2023-04-29 20:54:42 +0100 |
---|---|---|
committer | devhell <devhell@mailfresser.de> | 2023-04-29 20:54:42 +0100 |
commit | 759eb8cb79a968b158dc680d33495dcc628addf7 (patch) | |
tree | 113962c565c92507a895416252e0b68fe8039537 | |
parent | 1dafe860ee5150510954247b081ec910f75fef11 (diff) |
profiles/base: enable zramSwap everywhere
This has been working just fine on gunnr, so let's see if that's also true for all my other machines.
-rw-r--r-- | machines/devhell/gunnr.nix | 2 | ||||
-rw-r--r-- | modules/user/devhell/profiles/base.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/machines/devhell/gunnr.nix b/machines/devhell/gunnr.nix index dc76f88c..70e5c770 100644 --- a/machines/devhell/gunnr.nix +++ b/machines/devhell/gunnr.nix @@ -63,8 +63,6 @@ fsType = "ext4"; }; - zramSwap.enable = true; - # FIXME Check if this is still necessary in the future systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false; diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix index 95ec3108..c40bc228 100644 --- a/modules/user/devhell/profiles/base.nix +++ b/modules/user/devhell/profiles/base.nix @@ -44,6 +44,8 @@ in { security.rtkit.enable = true; + zramSwap.enable = true; + users.users.dev = { isNormalUser = true; extraGroups = [ "nitrokey" "plugdev" "docker" "vboxusers" "wheel" "libvirtd" "wireshark" "video" "audio" ]; |