forked from mirrors_public/oddlama_nix-config
feat: enable initrd ssh unlock for all machines
This commit is contained in:
parent
c26b5d3c89
commit
05ce0e6f5c
3 changed files with 11 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
|
||||
../common/hardware/intel.nix
|
||||
../common/efi.nix
|
||||
../common/initrd-ssh.nix
|
||||
../common/laptop.nix
|
||||
../common/sound.nix
|
||||
../common/yubikey.nix
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
wireless.iwd.enable = true;
|
||||
};
|
||||
|
||||
boot.initrd.systemd.network = {
|
||||
enable = true;
|
||||
networks = {inherit (config.systemd.network.networks) "10-lan1";};
|
||||
};
|
||||
|
||||
systemd.network.networks = {
|
||||
"10-lan1" = {
|
||||
DHCP = "yes";
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
in {
|
||||
networking.hostId = nodeSecrets.networking.hostId;
|
||||
|
||||
boot.initrd.systemd.network = {
|
||||
enable = true;
|
||||
networks = {inherit (config.systemd.network.networks) "10-lan1";};
|
||||
};
|
||||
|
||||
systemd.network.networks = {
|
||||
"10-lan1" = {
|
||||
DHCP = "yes";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue