pinchflat
This commit is contained in:
parent
6063d2b438
commit
33cb9e7f53
2 changed files with 24 additions and 0 deletions
|
|
@ -9,5 +9,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./navidrome.nix
|
./navidrome.nix
|
||||||
|
./pinchflat.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
23
modules/server/media/pinchflat.nix
Normal file
23
modules/server/media/pinchflat.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
option = {
|
||||||
|
server.media.pinchflat = {
|
||||||
|
enable = lib.mkEnableOption "enable pinchflat";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
services.pinchflat = {
|
||||||
|
enable = true;
|
||||||
|
selfhosted = true;
|
||||||
|
mediaDir = "/mnt/Data/Media";
|
||||||
|
group = "users";
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue