mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
put back the custom dirs
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -10,15 +10,12 @@
|
||||
};
|
||||
username = config.var.username;
|
||||
in {
|
||||
# Add my user to the media group
|
||||
users.users."${username}".extraGroups = ["media"];
|
||||
|
||||
# Add my secrets
|
||||
sops.secrets = {
|
||||
# recyclarr = {
|
||||
# owner = "recyclarr";
|
||||
# mode = "0777";
|
||||
# };
|
||||
recyclarr = {
|
||||
owner = "recyclarr";
|
||||
mode = "0777";
|
||||
};
|
||||
wireguard-pia = {
|
||||
group = "media";
|
||||
mode = "0600";
|
||||
@@ -28,6 +25,10 @@ in {
|
||||
nixarr = {
|
||||
enable = true;
|
||||
|
||||
mediaUsers = [username];
|
||||
mediaDir = "/mnt/data/media";
|
||||
stateDir = "/mnt/data/.state/nixarr";
|
||||
|
||||
vpn = {
|
||||
enable = true;
|
||||
wgConf = config.sops.secrets.wireguard-pia.path;
|
||||
@@ -45,8 +46,7 @@ in {
|
||||
vpn.enable = true;
|
||||
};
|
||||
recyclarr = {
|
||||
# TODO: fix recyclarr
|
||||
enable = false;
|
||||
enable = true;
|
||||
configFile = config.sops.secrets.recyclarr.path;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user