selfprivacy-nixos-config/sp-modules/ocserv/flake.nix

30 lines
927 B
Nix
Raw Normal View History

2023-12-01 04:42:03 +00:00
{
description = "PoC SP module for OpenConnect VPN server (ocserv)";
outputs = { self }: {
nixosModules.default = import ./module.nix;
configPathsNeeded =
builtins.fromJSON (builtins.readFile ./config-paths-needed.json);
2024-12-18 12:40:15 +00:00
meta = { lib, ... }: {
spModuleSchemaVersion = 1;
2024-12-18 12:40:15 +00:00
id = "ocserv";
name = "OpenConnect VPN";
description = "OpenConnect VPN to connect your devices and access the internet.";
svgIcon = builtins.readFile ./icon.svg;
isMovable = false;
isRequired = false;
canBeBackedUp = false;
backupDescription = "Backups are not available for OpenConnect VPN.";
systemdServices = [
"ocserv.service"
];
license = [
lib.licenses.gpl2Plus
];
homepage = "https://gitlab.com/openconnect/ocserv";
sourcePage = "https://gitlab.com/openconnect/ocserv";
supportLevel = "deprecated";
};
2023-12-01 04:42:03 +00:00
};
}