diff --git a/ops/nixos/cofractal-ams01/default.nix b/ops/nixos/cofractal-ams01/default.nix index 7bb283b0f2..f5e2be2671 100644 --- a/ops/nixos/cofractal-ams01/default.nix +++ b/ops/nixos/cofractal-ams01/default.nix @@ -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"; }