From 3bb401859dbd06e3c0a5c21726c708d7ffd626c4 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Tue, 28 Jan 2025 09:03:45 +0100 Subject: [PATCH] Added eduvpn --- user-modules/default.nix | 1 + user-modules/eduvpn/default.nix | 23 +++++++++++++++++++++++ users/jan.nix | 1 + 3 files changed, 25 insertions(+) create mode 100644 user-modules/eduvpn/default.nix diff --git a/user-modules/default.nix b/user-modules/default.nix index 5ced5bf..625fdf3 100644 --- a/user-modules/default.nix +++ b/user-modules/default.nix @@ -11,6 +11,7 @@ ./desktop/default.nix ./development/default.nix ./discord/default.nix + ./eduvpn/default.nix ./feishin/default.nix ./fontconfig/default.nix ./gaming/default.nix diff --git a/user-modules/eduvpn/default.nix b/user-modules/eduvpn/default.nix new file mode 100644 index 0000000..967851e --- /dev/null +++ b/user-modules/eduvpn/default.nix @@ -0,0 +1,23 @@ +{ + lib, + config, + pkgs, + ... +}: + +with lib; +let + cfg = config.modules.eduvpn; +in +{ + options.modules.eduvpn = { + enable = mkEnableOption "EduVPN"; + }; + + config = mkIf cfg.enable { + # Development packages + home.packages = with pkgs; [ + eduvpn + ]; + }; +} diff --git a/users/jan.nix b/users/jan.nix index 7958e6e..dee2b88 100644 --- a/users/jan.nix +++ b/users/jan.nix @@ -85,6 +85,7 @@ winbox.enable = true; obsidian.enable = true; zathura.enable = true; + eduvpn.enable = true; # Development neovim.enable = true;