4 ../../nixos/profiles/dnscrypt-proxy2.nix
5 ../../nixos/profiles/wireguard/wg-intra.nix
6 ../../nixos/profiles/networking/ssh.nix
7 ../../nixos/profiles/networking/wifi.nix
8 ../../nixos/profiles/openvpn/calyx.nix
10 networking/nftables.nix
12 install.substituteOnDestination = false;
13 #networking.domain = "sourcephile.fr";
14 networking.useDHCP = false;
16 networking.nftables.ruleset = lib.mkAfter ''
22 ip daddr 10.0.0.0/8 counter goto output-lan
23 ip daddr 172.16.0.0/12 counter goto output-lan
24 ip daddr 192.168.0.0/16 counter goto output-lan
25 ip daddr 224.0.0.0/3 counter goto output-lan
27 log level warn prefix "output-net: " counter drop
33 #"80.67.180.129" = ["salons.sourcephile.fr"];
36 networking.interfaces = { };
38 networking.networkmanager = {
43 environment.etc."NetworkManager/system-connections/Prixtel.nmconnection" = {
48 uuid=b223f550-dff1-4ba3-9755-cd4557faaa5a
51 permissions=user:julm:;
64 addr-gen-mode=stable-privacy
71 environment.systemPackages = [
72 pkgs.modem-manager-gui
75 systemd.services.sshd.serviceConfig.LoadCredentialEncrypted = [
76 "host.key:${ssh/host.key.cred}"