hosts/_iso: Migrate to systemd-network
This commit is contained in:
parent
a29978c95a
commit
7a210b13be
@ -6,11 +6,16 @@
|
|||||||
../../configuration/gpg-ssh
|
../../configuration/gpg-ssh
|
||||||
];
|
];
|
||||||
|
|
||||||
|
profiles.clerie.network-fallback-dhcp.enable = true;
|
||||||
|
|
||||||
# systemd in initrd is broken with ISOs
|
# systemd in initrd is broken with ISOs
|
||||||
# Failed to mount /sysroot/iso
|
# Failed to mount /sysroot/iso
|
||||||
# https://github.com/NixOS/nixpkgs/issues/327187
|
# https://github.com/NixOS/nixpkgs/issues/327187
|
||||||
boot.initrd.systemd.enable = false;
|
boot.initrd.systemd.enable = false;
|
||||||
|
|
||||||
|
networking.useDHCP = false;
|
||||||
|
systemd.network.enable = true;
|
||||||
|
|
||||||
networking.hostName = "isowo";
|
networking.hostName = "isowo";
|
||||||
isoImage.isoBaseName = lib.mkForce "nixos-isowo";
|
isoImage.isoBaseName = lib.mkForce "nixos-isowo";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user