Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
This commit is contained in:
parent
ebd178b0a5
commit
7606f9e051
66 changed files with 9465 additions and 73 deletions
21
modules/desktop/base/networking.nix
Normal file
21
modules/desktop/base/networking.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{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
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue