1 { config, pkgs, lib, hostName, ... }:
4 wlan2Iface = "wlp0s26u1u2";
5 wwanIface = "wwp0s29u1u4";
10 ../../nixos/profiles/networking.nix
11 ../../nixos/profiles/dnscrypt-proxy2.nix
12 ../../nixos/profiles/wireguard/wg-intra.nix
13 networking/nftables.nix
15 install.substituteOnDestination = false;
16 #networking.domain = "sourcephile.fr";
17 networking.useDHCP = false;
19 networking.nftables.ruleset = lib.mkAfter ''
25 ip daddr 10.0.0.0/8 counter goto output-lan
26 ip daddr 172.16.0.0/12 counter goto output-lan
27 ip daddr 192.168.0.0/16 counter goto output-lan
28 ip daddr 224.0.0.0/3 counter goto output-lan
30 log level warn prefix "output-net: " counter drop
35 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 networking.wireguard.wg-intra.peers = {
73 losurdo.enable = true;
75 aubergine.enable = true;
78 services.openssh.listenAddresses = [
81 environment.systemPackages = [
83 pkgs.modem-manager-gui