From d314bb8e94009776623f4cf79a781e03c2015d11 Mon Sep 17 00:00:00 2001 From: twoneis Date: Sun, 2 Jun 2024 14:33:53 +0200 Subject: [PATCH] added swap --- devices/pleniscenta/hardware-config.nix | 2 ++ flake.lock | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/devices/pleniscenta/hardware-config.nix b/devices/pleniscenta/hardware-config.nix index e290a11..787006e 100644 --- a/devices/pleniscenta/hardware-config.nix +++ b/devices/pleniscenta/hardware-config.nix @@ -30,6 +30,8 @@ }; }; + swapDevices = [ { device = "/swap/swapfile"; } ]; + networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; diff --git a/flake.lock b/flake.lock index 9eea689..61166ab 100644 --- a/flake.lock +++ b/flake.lock @@ -261,11 +261,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1717309923, - "narHash": "sha256-HQtbTnEPzB15ZgBXjAEoJtFL3rvrQ84LUcEsTKYvHRs=", + "lastModified": 1717331199, + "narHash": "sha256-f0eDtnf8Ncf1EcR3FD0i6+egL+FG3xrYyWgEXV8HllY=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "1816a6baef864c6877d4516ab62ca2e720c0b787", + "rev": "de2e8e14b665901e7bdd52534a076e35d2150fbf", "type": "github" }, "original": { @@ -368,11 +368,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1716991068, - "narHash": "sha256-Av0UWCCiIGJxsZ6TFc+OiKCJNqwoxMNVYDBChmhjNpo=", + "lastModified": 1717159533, + "narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "25cf937a30bf0801447f6bf544fc7486c6309234", + "rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446", "type": "github" }, "original": {