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;
|
username = config.var.username;
|
||||||
in {
|
in {
|
||||||
# Add my user to the media group
|
|
||||||
users.users."${username}".extraGroups = ["media"];
|
|
||||||
|
|
||||||
# Add my secrets
|
# Add my secrets
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
# recyclarr = {
|
recyclarr = {
|
||||||
# owner = "recyclarr";
|
owner = "recyclarr";
|
||||||
# mode = "0777";
|
mode = "0777";
|
||||||
# };
|
};
|
||||||
wireguard-pia = {
|
wireguard-pia = {
|
||||||
group = "media";
|
group = "media";
|
||||||
mode = "0600";
|
mode = "0600";
|
||||||
@@ -28,6 +25,10 @@ in {
|
|||||||
nixarr = {
|
nixarr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
mediaUsers = [username];
|
||||||
|
mediaDir = "/mnt/data/media";
|
||||||
|
stateDir = "/mnt/data/.state/nixarr";
|
||||||
|
|
||||||
vpn = {
|
vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wgConf = config.sops.secrets.wireguard-pia.path;
|
wgConf = config.sops.secrets.wireguard-pia.path;
|
||||||
@@ -45,8 +46,7 @@ in {
|
|||||||
vpn.enable = true;
|
vpn.enable = true;
|
||||||
};
|
};
|
||||||
recyclarr = {
|
recyclarr = {
|
||||||
# TODO: fix recyclarr
|
enable = true;
|
||||||
enable = false;
|
|
||||||
configFile = config.sops.secrets.recyclarr.path;
|
configFile = config.sops.secrets.recyclarr.path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user