added immich to the homelab.
This commit is contained in:
		
							parent
							
								
									478d5760bd
								
							
						
					
					
						commit
						11f6c18f13
					
				
					 5 changed files with 66 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -50,6 +50,11 @@
 | 
			
		|||
              type = lib.types.listOf lib.types.path;
 | 
			
		||||
              description = "paths to back up.";
 | 
			
		||||
            };
 | 
			
		||||
            user = lib.mkOption {
 | 
			
		||||
              type = lib.types.str;
 | 
			
		||||
              description = "what user to run the backup under.";
 | 
			
		||||
              default = "root";
 | 
			
		||||
            };
 | 
			
		||||
            preBackupCommands = lib.mkOption {
 | 
			
		||||
              type = lib.types.nullOr lib.types.lines;
 | 
			
		||||
              description = "commands to run before the start of the backup.";
 | 
			
		||||
| 
						 | 
				
			
			@ -139,6 +144,7 @@
 | 
			
		|||
              backupPrepareCommand = backup.preBackupCommands;
 | 
			
		||||
              backupCleanupCommand = backup.postBackupCommands;
 | 
			
		||||
              paths = backup.paths;
 | 
			
		||||
              user = backup.user;
 | 
			
		||||
            }
 | 
			
		||||
          )
 | 
			
		||||
          cfg.backups
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue