From 526097d53b0da5248a2bfc82774fd5e45af6abf1 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Tue, 3 Dec 2024 00:28:51 +0100 Subject: [PATCH] change hardware config for wheatley to be more correct --- nixos/hosts/wheatley/hardware-configuration.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/nixos/hosts/wheatley/hardware-configuration.nix b/nixos/hosts/wheatley/hardware-configuration.nix index 3b70b4f..ea10698 100644 --- a/nixos/hosts/wheatley/hardware-configuration.nix +++ b/nixos/hosts/wheatley/hardware-configuration.nix @@ -12,15 +12,12 @@ fileSystems."/nix" = { device = "/dev/disk/by-label/NIXOS"; - fsType = "btrfs"; - options = ["compress=zstd"]; + fsType = "ext4"; + options = []; }; - fileSystems."/swap" = { - device = "/dev/disk/by-label/NIXOS"; - fsType = "btrfs"; - options = ["noatime" "subvol=swap"]; + swapDevices = { + device = "/dev/disk/by-id/mmc-USD00_0x66b39865-part2"; + fsType = "linux-swap"; }; - - swapDevices = [{device = "/swap/swapfile";}]; }