cofractal-ams01: tweak networkd RequiredForOnline, add libvirtd
This commit is contained in:
parent
92a06ee812
commit
3eaa849f81
1 changed files with 10 additions and 0 deletions
|
@ -152,6 +152,10 @@ in
|
||||||
4001 # IPFS
|
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.tailscale = "100.94.187.27";
|
||||||
my.ip.tailscale6 = "fd7a:115c:a1e0:ab12:4843:cd96:625e:bb1b";
|
my.ip.tailscale6 = "fd7a:115c:a1e0:ab12:4843:cd96:625e:bb1b";
|
||||||
my.coredns.bind = [ "bond0" "tailscale0" "127.0.0.1" "::1" ];
|
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";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue