imports = [
../../nixos/profiles/dnscrypt-proxy2.nix
../../nixos/profiles/wireguard/wg-intra.nix
+ ../../nixos/profiles/networking/ssh.nix
+ ../../nixos/profiles/networking/wifi.nix
+ ../../nixos/profiles/openvpn/calyx.nix
+ ./wireguard.nix
networking/nftables.nix
];
install.substituteOnDestination = false;
}
'';
+ networking.hosts = {
+ #"80.67.180.129" = ["salons.sourcephile.fr"];
+ };
+
networking.interfaces = { };
networking.networkmanager = {
'';
};
- networking.wireguard.wg-intra.peers = {
- mermet.enable = true;
- losurdo.enable = true;
- patate.enable = true;
- aubergine.enable = true;
- };
-
- services.openssh.listenAddresses = [
- ];
-
environment.systemPackages = [
pkgs.iw
pkgs.modem-manager-gui
];
+
+ systemd.services.sshd.serviceConfig.LoadCredentialEncrypted = [
+ "host.key:${ssh/host.key.cred}"
+ ];
}