frues-clan/modules/desktop/base/networking.nix
Pedro Rey Anca 7606f9e051
Some checks failed
Update `flake.lock` / update_lockfile (push) Waiting to run
Flake check / check (push) Has been cancelled
Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
2025-09-08 18:59:28 +02:00

21 lines
413 B
Nix

{pkgs, ...}: {
networking = {
networkmanager.enable = true;
nameservers = ["1.1.1.1"];
firewall = {
enable = true;
### https://nixos.wiki/wiki/WireGuard#Setting_up_WireGuard_with_NetworkManager
checkReversePath = "loose";
};
};
environment.systemPackages = with pkgs; [
networkmanagerapplet
wireguard-tools
openconnect
networkmanager-openconnect
];
}