add arr/qb/sab groups if they exist
This commit is contained in:
parent
96da9c78ae
commit
eb78727d78
1 changed files with 11 additions and 4 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue