system/home: use disk by uuid to write grub
This commit is contained in:
parent
af2feb2680
commit
c52de0c9ca
2 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,7 @@ in
|
||||||
loader.grub = {
|
loader.grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
version = 2;
|
version = 2;
|
||||||
device = "/dev/sda";
|
device = "/dev/disk/by-uuid/969c5f68-631d-4429-b81b-0d81e050449b";
|
||||||
|
|
||||||
dedsec-theme = {
|
dedsec-theme = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -30,7 +30,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [{ device = "/dev/disk/by-uuid/1be15503-cd51-4c57-bb91-04f45a964202"; }];
|
swapDevices = [
|
||||||
|
{ device = "/dev/disk/by-uuid/78272c86-4ca0-4054-92d0-761501aad0d8"; }
|
||||||
|
];
|
||||||
|
|
||||||
# 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 a new issue