nixos/jackflix: Add copyparty
This commit is contained in:
		@@ -12,6 +12,7 @@ in
 | 
			
		||||
    inputs.impermanence.nixosModule
 | 
			
		||||
    inputs.ragenix.nixosModules.age
 | 
			
		||||
    inputs.sharry.nixosModules.default
 | 
			
		||||
    inputs.copyparty.nixosModules.default
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  config = mkMerge [
 | 
			
		||||
@@ -70,6 +71,7 @@ in
 | 
			
		||||
          # TODO: Re-enable when borgthin is updated
 | 
			
		||||
          # inputs.borgthin.overlays.default
 | 
			
		||||
          inputs.boardie.overlays.default
 | 
			
		||||
          inputs.copyparty.overlays.default
 | 
			
		||||
        ];
 | 
			
		||||
        config = {
 | 
			
		||||
          allowUnfree = true;
 | 
			
		||||
 
 | 
			
		||||
@@ -587,6 +587,22 @@ in
 | 
			
		||||
          }
 | 
			
		||||
        ];
 | 
			
		||||
      })
 | 
			
		||||
      (mkIf config.services.copyparty.enable {
 | 
			
		||||
        my.tmproot.persistence.config.directories = [
 | 
			
		||||
          {
 | 
			
		||||
            directory = "/var/lib/copyparty";
 | 
			
		||||
            mode = "0755";
 | 
			
		||||
            user = "copyparty";
 | 
			
		||||
            group = "copyparty";
 | 
			
		||||
          }
 | 
			
		||||
          {
 | 
			
		||||
            directory = "/var/cache/copyparty";
 | 
			
		||||
            mode = "0755";
 | 
			
		||||
            user = "copyparty";
 | 
			
		||||
            group = "copyparty";
 | 
			
		||||
          }
 | 
			
		||||
        ];
 | 
			
		||||
      })
 | 
			
		||||
    ]))
 | 
			
		||||
  ]);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user