| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- # { config, pkgs, ... }:
- {
- imports = [
- ./tailscale.nix
- # ./immich.nix
- # ./snapraid.nix
- # ./mergerfs.nix
- # Add more services as you create them
- # ./jellyfin.nix
- # ./nextcloud.nix
- # ./traefik.nix
- ];
- # # Common service setup
- # systemd.tmpfiles.rules = [
- # # Service directories
- # "d /srv 0755 root root -"
- # "d /srv/immich 0755 root root -"
- # "d /srv/media 0755 root root -"
- # "d /srv/web 0755 root root -"
- # "d /srv/monitoring 0755 root root -"
- #
- # # Database directories
- # "d /databases 0755 root root -"
- # "d /databases/postgresql 0755 postgres postgres -"
- # "d /databases/redis 0755 redis redis -"
- #
- # # Cache directories
- # "d /cache 0755 root root -"
- # "d /cache/immich 0755 root root -"
- #
- # # Log directories
- # "d /logs 0755 root root -"
- # "d /logs/services 0755 root root -"
- #
- # # Storage array structure
- # "d /storage 0755 root root -"
- # "d /storage/media 0755 root root -"
- # "d /storage/backups 0755 root root -"
- # "d /storage/photos 0755 root root -"
- # ];
- #
- # # MergerFS for unified storage view
- # services.mergerfs.mounts = {
- # "/storage" = {
- # branches = [ "/mnt/disk1" "/mnt/disk2" "/mnt/disk3" ];
- # options = "defaults,allow_other,use_ino,cache.files=partial,dropcacheonclose=true,category.create=mfs";
- # };
- # };
- }
|