inital work on deluge behind a vpn.
This commit is contained in:
		
							parent
							
								
									67eb4264ff
								
							
						
					
					
						commit
						6da142120b
					
				
					 4 changed files with 116 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -7,17 +7,17 @@
 | 
			
		|||
}: let
 | 
			
		||||
  port = "8090";
 | 
			
		||||
in {
 | 
			
		||||
  sops = lib.mkIf (inputs ? nix-secrets) {
 | 
			
		||||
    secrets.restic-server-credentials = {
 | 
			
		||||
  sops.secrets = lib.mkIf (inputs ? nix-secrets) {
 | 
			
		||||
    restic-server-credentials = {
 | 
			
		||||
      sopsFile = "${inputs.nix-secrets}/restic-server";
 | 
			
		||||
      format = "binary";
 | 
			
		||||
      owner = "restic";
 | 
			
		||||
    };
 | 
			
		||||
    secrets.restic-url = {
 | 
			
		||||
    restic-url = {
 | 
			
		||||
      sopsFile = "${inputs.nix-secrets}/restic-client.yaml";
 | 
			
		||||
      owner = config.host.details.user;
 | 
			
		||||
    };
 | 
			
		||||
    secrets.restic-password = {
 | 
			
		||||
    restic-password = {
 | 
			
		||||
      sopsFile = "${inputs.nix-secrets}/restic-client.yaml";
 | 
			
		||||
      owner = config.host.details.user;
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue