From 0daae0924018da34659bd55646eb706125df378a Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 20 Jan 2025 10:20:46 +0100 Subject: [PATCH] feat(x1): enable zram Signed-off-by: Harald Hoyer --- flake.lock | 6 +++--- systems/x86_64-linux/x1/default.nix | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index bee80e5..2d50c4b 100644 --- a/flake.lock +++ b/flake.lock @@ -759,11 +759,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1736867362, - "narHash": "sha256-i/UJ5I7HoqmFMwZEH6vAvBxOrjjOJNU739lnZnhUln8=", + "lastModified": 1736916166, + "narHash": "sha256-puPDoVKxkuNmYIGMpMQiK8bEjaACcCksolsG36gdaNQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9c6b49aeac36e2ed73a8c472f1546f6d9cf1addc", + "rev": "e24b4c09e963677b1beea49d411cd315a024ad3a", "type": "github" }, "original": { diff --git a/systems/x86_64-linux/x1/default.nix b/systems/x86_64-linux/x1/default.nix index b1526f3..d7bd4da 100644 --- a/systems/x86_64-linux/x1/default.nix +++ b/systems/x86_64-linux/x1/default.nix @@ -37,6 +37,8 @@ with lib.metacfg; piper ]; + zramSwap.enable = true; + services.ratbagd.enable = true; services.resolved.enable = true;