LoutreOS: install watcharr

This commit is contained in:
nyanloutre 2024-07-14 16:14:45 +02:00
parent a39395a027
commit 260cf20971
3 changed files with 22 additions and 5 deletions

View file

@ -61,6 +61,21 @@
};
};
};
systemd.services.watcharr = {
description = "Watcharr";
after = [ "network.target" ];
environment = {
PORT = "3005";
WATCHARR_DATA = "/var/lib/watcharr";
};
serviceConfig = {
DynamicUser = true;
StateDirectory = "watcharr";
ExecStart = "${self.packages.x86_64-linux.watcharr}/bin/Watcharr";
PrivateTmp = true;
};
wantedBy = [ "multi-user.target" ];
};
}
./systems/LoutreOS/configuration.nix
];