4 ../../nixos/profiles/networking.nix
5 ../../nixos/profiles/dnscrypt-proxy2.nix
6 ../../nixos/profiles/wireguard/wg-intra.nix
7 networking/nftables.nix
9 install.substituteOnDestination = false;
10 #networking.domain = "sourcephile.fr";
11 networking.useDHCP = false;
13 networking.nftables.ruleset = lib.mkAfter ''
19 ip daddr 10.0.0.0/8 counter goto output-lan
20 ip daddr 172.16.0.0/12 counter goto output-lan
21 ip daddr 192.168.0.0/16 counter goto output-lan
22 ip daddr 224.0.0.0/3 counter goto output-lan
24 log level warn prefix "output-net: " counter drop
29 networking.interfaces = { };
31 networking.networkmanager = {
36 environment.etc."NetworkManager/system-connections/Prixtel.nmconnection" = {
41 uuid=b223f550-dff1-4ba3-9755-cd4557faaa5a
44 permissions=user:julm:;
57 addr-gen-mode=stable-privacy
64 networking.wireguard.wg-intra.peers = {
66 losurdo.enable = true;
68 aubergine.enable = true;
71 services.openssh.listenAddresses = [
74 environment.systemPackages = [
76 pkgs.modem-manager-gui