0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot] 2025-01-16 00:14:11 +00:00 committed by GitHub
commit d4a1995529
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
207 changed files with 2504 additions and 11098 deletions

View file

@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.programs.amnezia-vpn;
in
{
options.programs.amnezia-vpn = {
enable = lib.mkEnableOption "The AmneziaVPN client";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.amnezia-vpn ];
services.dbus.packages = [ pkgs.amnezia-vpn ];
services.resolved.enable = true;
systemd = {
packages = [ pkgs.amnezia-vpn ];
services."AmneziaVPN".wantedBy = [ "multi-user.target" ];
};
};
meta.maintainers = with lib.maintainers; [ sund3RRR ];
}