LoutreOS: install watcharr
This commit is contained in:
parent
a39395a027
commit
260cf20971
3 changed files with 22 additions and 5 deletions
15
flake.nix
15
flake.nix
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue