add hardware config for cloudnix

This commit is contained in:
Sam 2025-01-25 18:02:27 +00:00
parent 45d3c6cc26
commit 8ec54b44b9
1 changed files with 25 additions and 10 deletions

View File

@ -14,21 +14,36 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/e12d0dfd-9753-44d4-b65f-dc5549db3edf";
fsType = "ext4";
{ device = "/dev/disk/by-uuid/540bb762-8085-47f0-8c99-90a22382362e";
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/.swapvol" =
{ device = "/dev/disk/by-uuid/540bb762-8085-47f0-8c99-90a22382362e";
fsType = "btrfs";
options = [ "subvol=swap" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/c29f698d-eb89-4618-be8b-046b4907aed8";
fsType = "ext4";
{ device = "/dev/disk/by-uuid/FB93-E33C";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [
{
device = "/.swapfile";
size = 2 * 1024;
}
];
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/540bb762-8085-47f0-8c99-90a22382362e";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/persist" =
{ device = "/dev/disk/by-uuid/540bb762-8085-47f0-8c99-90a22382362e";
fsType = "btrfs";
options = [ "subvol=persist" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's