ma 1 pornocauster: add boot unlock
This commit is contained in:
parent
3274ad92c7
commit
4092c690d7
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
# hardware specifics are in here
|
# hardware specifics are in here
|
||||||
../2configs/hw/tp-x220.nix
|
../2configs/hw/tp-x220.nix
|
||||||
|
../2configs/hw/rtl8812au.nix
|
||||||
# mount points
|
# mount points
|
||||||
../2configs/fs/sda-crypto-root-home.nix
|
../2configs/fs/sda-crypto-root-home.nix
|
||||||
# ../2configs/mediawiki.nix
|
# ../2configs/mediawiki.nix
|
||||||
|
@ -59,7 +60,6 @@
|
||||||
networking.firewall.allowedUDPPorts = [ 665 ];
|
networking.firewall.allowedUDPPorts = [ 665 ];
|
||||||
|
|
||||||
krebs.build.host = config.krebs.hosts.pornocauster;
|
krebs.build.host = config.krebs.hosts.pornocauster;
|
||||||
|
|
||||||
krebs.hosts.omo.nets.retiolum.via.ip4.addr = "192.168.1.11";
|
krebs.hosts.omo.nets.retiolum.via.ip4.addr = "192.168.1.11";
|
||||||
krebs.retiolum = {
|
krebs.retiolum = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -68,4 +68,6 @@
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
192.168.1.11 omo.local
|
192.168.1.11 omo.local
|
||||||
'';
|
'';
|
||||||
|
# hard dependency because otherwise the device will not be unlocked
|
||||||
|
boot.initrd.luks.devices = [ { name = "luksroot"; device = "/dev/sda2"; allowDiscards=true; }];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue