ninurta: disable stage1 systemd

This commit is contained in:
Tim Schubert 2023-06-04 01:41:33 +02:00
parent 26463da687
commit 4614971ab3
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -33,6 +33,7 @@ in
message = "Refusing to store private keys in store";
};
boot.kernelParams = [ "ip=dhcp" ];
boot.initrd = {
network = {
enable = true;
@ -44,25 +45,26 @@ in
hostKeys = [ initrdPrivateKey ];
};
};
systemd = {
enable = true;
network = {
enable = true;
links = {
"10-lan" = {
matchConfig.Name = "e*";
linkConfig.MACAddressPolicy = "persistent";
};
};
networks = {
"10-lan" = {
matchConfig.Name = "e*";
networkConfig.DHCP = "ipv4";
linkConfig.RequiredForOnline = "routable";
};
};
};
};
# Kinda does not work?
# systemd = {
# enable = true;
# network = {
# enable = true;
# links = {
# "10-lan" = {
# matchConfig.Name = "e*";
# linkConfig.MACAddressPolicy = "persistent";
# };
# };
# networks = {
# "10-lan" = {
# matchConfig.Name = "e*";
# networkConfig.DHCP = "ipv4";
# linkConfig.RequiredForOnline = "routable";
# };
# };
# };
# };
};
fileSystems."/mnt/storage" = {