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 = {
|
sops.secrets = {
|
||||||
jahanson-password = {
|
jahanson-password = {
|
||||||
sopsFile = ./secrets.sops.yaml;
|
sopsFile = ./secrets.sops.yaml;
|
||||||
|
@ -41,6 +43,11 @@ in
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
"wireshark"
|
"wireshark"
|
||||||
"minecraft"
|
"minecraft"
|
||||||
|
"prowlarr"
|
||||||
|
"radarr"
|
||||||
|
"sonarr"
|
||||||
|
"qbittorrent"
|
||||||
|
"sabnzbd"
|
||||||
];
|
];
|
||||||
|
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
|
|
Loading…
Reference in a new issue