mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
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/hardware/intel.nix
|
||||||
../common/efi.nix
|
../common/efi.nix
|
||||||
|
../common/initrd-ssh.nix
|
||||||
../common/laptop.nix
|
../common/laptop.nix
|
||||||
../common/sound.nix
|
../common/sound.nix
|
||||||
../common/yubikey.nix
|
../common/yubikey.nix
|
||||||
|
|
|
@ -4,6 +4,11 @@
|
||||||
wireless.iwd.enable = true;
|
wireless.iwd.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.initrd.systemd.network = {
|
||||||
|
enable = true;
|
||||||
|
networks = {inherit (config.systemd.network.networks) "10-lan1";};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.network.networks = {
|
systemd.network.networks = {
|
||||||
"10-lan1" = {
|
"10-lan1" = {
|
||||||
DHCP = "yes";
|
DHCP = "yes";
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
in {
|
in {
|
||||||
networking.hostId = nodeSecrets.networking.hostId;
|
networking.hostId = nodeSecrets.networking.hostId;
|
||||||
|
|
||||||
|
boot.initrd.systemd.network = {
|
||||||
|
enable = true;
|
||||||
|
networks = {inherit (config.systemd.network.networks) "10-lan1";};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.network.networks = {
|
systemd.network.networks = {
|
||||||
"10-lan1" = {
|
"10-lan1" = {
|
||||||
DHCP = "yes";
|
DHCP = "yes";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue