4 ../../nixos/profiles/dnscrypt-proxy2.nix
5 ../../nixos/profiles/wireguard/wg-intra.nix
6 networking/nftables.nix
8 install.substituteOnDestination = false;
9 #networking.domain = "sourcephile.fr";
10 networking.useDHCP = false;
12 networking.nftables.ruleset = lib.mkAfter ''
18 ip daddr 10.0.0.0/8 counter goto output-lan
19 ip daddr 172.16.0.0/12 counter goto output-lan
20 ip daddr 192.168.0.0/16 counter goto output-lan
21 ip daddr 224.0.0.0/3 counter goto output-lan
23 log level warn prefix "output-net: " counter drop
28 networking.interfaces = { };
30 networking.networkmanager = {
35 environment.etc."NetworkManager/system-connections/Prixtel.nmconnection" = {
40 uuid=b223f550-dff1-4ba3-9755-cd4557faaa5a
43 permissions=user:julm:;
56 addr-gen-mode=stable-privacy
63 networking.wireguard.wg-intra.peers = {
65 losurdo.enable = true;
67 aubergine.enable = true;
70 systemd.services.sshd.serviceConfig.LoadCredentialEncrypted =
71 [ "ed25519.key:${inputs.self}/host/${hostName}/networking/ssh/ed25519.key.cred" ];
72 services.openssh.hostKeys =
73 [ { type = "ed25519"; path = "/run/credentials/sshd.service/ed25519.key"; }
76 environment.systemPackages = [
78 pkgs.modem-manager-gui