mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add swap
This commit is contained in:
parent
29b570a782
commit
2a443821db
1 changed files with 10 additions and 2 deletions
|
|
@ -18,7 +18,10 @@
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-86769693-b61c-4712-852d-e0fba612d260".device = "/dev/disk/by-uuid/86769693-b61c-4712-852d-e0fba612d260";
|
boot.initrd.luks.devices = {
|
||||||
|
"luks-86769693-b61c-4712-852d-e0fba612d260".device = "/dev/disk/by-uuid/86769693-b61c-4712-852d-e0fba612d260"
|
||||||
|
"luks-0418acfc-792c-43f4-a887-cc8bb51fa7c3".device = "/dev/disk/by-uuid/0418acfc-792c-43f4-a887-cc8bb51fa7c3"
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/bulk" =
|
fileSystems."/mnt/bulk" =
|
||||||
{ device = "/dev/disk/by-uuid/11c2c896-d49a-4d9b-a846-b0a550128395";
|
{ device = "/dev/disk/by-uuid/11c2c896-d49a-4d9b-a846-b0a550128395";
|
||||||
|
|
@ -31,7 +34,12 @@
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [{
|
||||||
|
device = "/dev/disk/by-uuid/e7cf209d-386d-41db-8a35-6c9fff014722";
|
||||||
|
} {
|
||||||
|
device = "/var/lib/swapfile";
|
||||||
|
size = 8*1024;
|
||||||
|
}];
|
||||||
|
|
||||||
# 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…
Add table
Add a link
Reference in a new issue