Commit 6c9958ed63d6
Changed files (1)
systems
rhea
systems/rhea/extra.nix
@@ -8,17 +8,13 @@
{
users.users.vincent.linger = true;
- wireguard = {
- enable = true;
- ips = libx.wg-ips globals.machines.rhea.net.vpn.ips;
- endpoint = "${globals.net.vpn.endpoint}";
- endpointPublicKey = "${globals.machines.kerkouane.net.vpn.pubkey}";
- };
-
- services.openssh.enable = true;
- services.openssh.settings = {
- PermitRootLogin = "yes";
- PasswordAuthentication = true;
+ services = {
+ wireguard = {
+ enable = true;
+ ips = libx.wg-ips globals.machines.rhea.net.vpn.ips;
+ endpoint = "${globals.net.vpn.endpoint}";
+ endpointPublicKey = "${globals.machines.kerkouane.net.vpn.pubkey}";
+ };
};
networking.useDHCP = lib.mkDefault true;