From 6e6de3b20a122a618ead9ea2cea7aca1e8b013c8 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 6 Feb 2024 20:00:36 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-framework/disks.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 60382872..1db51fcd 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -3,7 +3,6 @@ services.btrfs.autoScrub.enable = true; services.btrfs.autoScrub.interval = "weekly"; - boot.initrd.secrets disko.devices.disk.nvme0 = { device = "/dev/nvme0n1"; @@ -64,6 +63,11 @@ mountpoint = "/nix/.snapshots"; mountOptions = [ "compress=zstd" "noatime" ]; }; # nix + # Swap partition + "/swap" = { + mountpoint = "/swap"; + swap.swapfile.size = "64G"; + }; # swap }; # subvolumes }; # content.content }; # content