Skip to content

Commit

Permalink
modules/nixos: enable openvpn plugin for networkmanager
Browse files Browse the repository at this point in the history
I need it for school.
  • Loading branch information
Frontear committed Nov 26, 2024
1 parent 038a5c5 commit 78ab0e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/nixos/system/network/networkmanager/module.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
config,
lib,
pkgs,
...
}:
let
Expand Down Expand Up @@ -45,6 +46,11 @@ in {
my.persist.directories = [ "/etc/NetworkManager" ];
networking.networkmanager.enable = true;

# Grab the OpenVPN Plugin
networking.networkmanager.plugins = with pkgs; [
networkmanager-openvpn
];

# Enable powersaving if demanded
networking.networkmanager.wifi.powersave = cfg.enablePowerSave;

Expand Down

0 comments on commit 78ab0e1

Please sign in to comment.