system/home: use disk by uuid to write grub

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-03 22:49:15 +03:00
parent af2feb2680
commit c52de0c9ca
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 4 additions and 2 deletions

View file

@ -14,7 +14,7 @@ in
loader.grub = {
enable = true;
version = 2;
device = "/dev/sda";
device = "/dev/disk/by-uuid/969c5f68-631d-4429-b81b-0d81e050449b";
dedsec-theme = {
enable = true;

View file

@ -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
# (the default) this is the recommended approach. When using systemd-networkd it's