From eb78727d782a8efa9aa9fb94105c44364aa0fd94 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Fri, 31 Jan 2025 19:18:39 -0600 Subject: [PATCH] add arr/qb/sab groups if they exist --- nixos/profiles/global/users.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/nixos/profiles/global/users.nix b/nixos/profiles/global/users.nix index e133701..aebcbaa 100644 --- a/nixos/profiles/global/users.nix +++ b/nixos/profiles/global/users.nix @@ -1,8 +1,10 @@ -{ pkgs, config, ... }: -let - ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups; -in { + pkgs, + config, + ... +}: let + ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups; +in { sops.secrets = { jahanson-password = { sopsFile = ./secrets.sops.yaml; @@ -41,6 +43,11 @@ in "libvirtd" "wireshark" "minecraft" + "prowlarr" + "radarr" + "sonarr" + "qbittorrent" + "sabnzbd" ]; openssh.authorizedKeys.keys = [