2025-01-28 08:03:45 +00:00
|
|
|
{
|
|
|
|
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; [
|
2025-01-28 08:14:33 +00:00
|
|
|
eduvpn-client
|
2025-01-28 08:03:45 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|