cofractal-ams01: tweak networkd RequiredForOnline, add libvirtd

This commit is contained in:
Luke Granger-Brown 2023-05-11 11:27:15 +01:00
parent 92a06ee812
commit 3eaa849f81

View file

@ -152,6 +152,10 @@ in
4001 # IPFS
];
};
systemd.network."40-bond0".linkConfig.RequiredForOnline = "yes";
systemd.network."40-enp45s0f0".linkConfig.RequiredForOnline = "no";
systemd.network."40-enp45s0f1".linkConfig.RequiredForOnline = "no";
systemd.network."50-tailscale".linkConfig.RequiredForOnline = "no";
my.ip.tailscale = "100.94.187.27";
my.ip.tailscale6 = "fd7a:115c:a1e0:ab12:4843:cd96:625e:bb1b";
my.coredns.bind = [ "bond0" "tailscale0" "127.0.0.1" "::1" ];
@ -257,5 +261,11 @@ in
};
};
virtualisation.libvirtd = {
enable = true;
};
security.polkit.enable = true;
users.users.lukegb.extraGroups = lib.mkAfter [ "libvirtd" ];
system.stateVersion = "23.05";
}