Shura: finally land on a working standardized filesystem config
This commit is contained in:
parent
01b4e6eacf
commit
a327ffbb92
|
@ -7,6 +7,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
bootUUID = "FC20-D155"; # The UUID of the boot partition.
|
||||
luksUUID = "9fdc521b-a037-4070-af47-f54da03675e4"; # The UUID of the locked LUKS partition.
|
||||
rootUUID = "dfb4fc8f-e82b-43a1-91c1-a77acb6337cb"; # The UUID of the unlocked filesystem partition.
|
||||
in
|
||||
|
@ -35,7 +36,7 @@ in
|
|||
aux.system.filesystem.btrfs = {
|
||||
enable = true;
|
||||
devices = {
|
||||
boot = "/dev/disk/by-uuid/FC20-D155";
|
||||
boot = "/dev/disk/by-uuid/${bootUUID}";
|
||||
btrfs = "/dev/disk/by-uuid/${rootUUID}";
|
||||
};
|
||||
swapFile = {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
bootUUID = "AFCB-D880"; # The UUID of the boot partition.
|
||||
luksUUID = "bcf67e34-339e-40b9-8ffd-bec8f7f55248"; # The UUID of the locked LUKS partition.
|
||||
rootUUID = "b801fbea-4cb5-4255-bea9-a2ce77d1a1b7"; # The UUID of the unlocked filesystem partition.
|
||||
in
|
||||
|
@ -41,7 +42,7 @@ in
|
|||
aux.system.filesystem.btrfs = {
|
||||
enable = true;
|
||||
devices = {
|
||||
boot = "/dev/disk/by-uuid/FC20-D155";
|
||||
boot = "/dev/disk/by-uuid/${bootUUID}";
|
||||
btrfs = "/dev/disk/by-uuid/${rootUUID}";
|
||||
};
|
||||
swapFile = {
|
||||
|
@ -50,13 +51,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swap/swapfile";
|
||||
size = 16384;
|
||||
}
|
||||
];
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue