add hardware config for cloudnix
This commit is contained in:
parent
45d3c6cc26
commit
8ec54b44b9
|
@ -14,21 +14,36 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/e12d0dfd-9753-44d4-b65f-dc5549db3edf";
|
{ device = "/dev/disk/by-uuid/540bb762-8085-47f0-8c99-90a22382362e";
|
||||||
fsType = "ext4";
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=root" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/.swapvol" =
|
||||||
|
{ device = "/dev/disk/by-uuid/540bb762-8085-47f0-8c99-90a22382362e";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=swap" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/c29f698d-eb89-4618-be8b-046b4907aed8";
|
{ device = "/dev/disk/by-uuid/FB93-E33C";
|
||||||
fsType = "ext4";
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
fileSystems."/nix" =
|
||||||
{
|
{ device = "/dev/disk/by-uuid/540bb762-8085-47f0-8c99-90a22382362e";
|
||||||
device = "/.swapfile";
|
fsType = "btrfs";
|
||||||
size = 2 * 1024;
|
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
|
# 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
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|
Loading…
Reference in New Issue