kaas
This commit is contained in:
parent
2248891dea
commit
d68ce07602
3 changed files with 57 additions and 30 deletions
|
@ -13,6 +13,15 @@ in
|
|||
enable = mkEnableOption "Media tools";
|
||||
};
|
||||
|
||||
imports = let
|
||||
extras = fetchTarball {
|
||||
url = "https://github.com/onny/nixos-nextcloud-testumgebung/archive/fa6f062830b4bc3cedb9694c1dbf01d5fdf775ac.tar.gz";
|
||||
sha256 = "0gzd0276b8da3ykapgqks2zhsqdv4jjvbv97dsxg0hgrhb74z0fs";
|
||||
};
|
||||
in [
|
||||
"${extras}/nextcloud-extras.nix"
|
||||
];
|
||||
|
||||
config = mkIf config.modules.services.media.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
podman-tui
|
||||
|
@ -36,6 +45,7 @@ in
|
|||
systemd.tmpfiles.rules = [
|
||||
"d '${directory}/series' 0700 ${user} ${group} - -"
|
||||
"d '${directory}/movies' 0700 ${user} ${group} - -"
|
||||
"d '${directory}/music' 0700 ${user} ${group} - -"
|
||||
"d '${directory}/qbittorrent' 0700 ${user} ${group} - -"
|
||||
"d '${directory}/sabnzbd' 0700 ${user} ${group} - -"
|
||||
"d '${directory}/reiverr/config' 0700 ${user} ${group} - -"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue