Remote disk unlocking: Difference between revisions

Golbinex (talk | contribs)
Setup: Additional instruction for 26.05
Golbinex (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 56: Line 56:
{{file|/etc/nixos/configuration.nix|nix|3=boot.initrd.systemd.network = {
{{file|/etc/nixos/configuration.nix|nix|3=boot.initrd.systemd.network = {
   enable = true;
   enable = true;
   networks."wan" = {
   networks."eth0" = {
     name = "eth0";
     matchConfig.Name = "eth0";
     DHCP = "yes";
     networkConfig.DHCP = "ipv4";
   };
   };
};
};
Line 65: Line 65:
systemd.network = {
systemd.network = {
   enable = true;
   enable = true;
   networks."wan" = {
   networks."eth0" = {
     matchConfig.Name = "eth0";
     matchConfig.Name = "eth0";
     networkConfig.DHCP = "ipv4";
     networkConfig.DHCP = "ipv4";