forked from jan-leila/nix-config
		
	added scrubbing and aut snapshot to defiant
This commit is contained in:
		
							parent
							
								
									46edb7363d
								
							
						
					
					
						commit
						c523e6075b
					
				
					 3 changed files with 12 additions and 6 deletions
				
			
		|  | @ -67,18 +67,22 @@ | |||
|           "persist" = { | ||||
|             type = "zfs_fs"; | ||||
|             options.canmount = "off"; | ||||
|             options = { | ||||
|               "com.sun:auto-snapshot" = "true"; | ||||
|             }; | ||||
|           }; | ||||
|           # this is where root data actually lives | ||||
|           "persist/system/root" = { | ||||
|             type = "zfs_fs"; | ||||
|             mountpoint = "/persist/system/root"; | ||||
|             options = { | ||||
|               "com.sun:auto-snapshot" = "true"; | ||||
|             }; | ||||
|           }; | ||||
|           "persist/system/var/log" = { | ||||
|             type = "zfs_fs"; | ||||
|             mountpoint = "/persist/system/var/log"; | ||||
|             # logs should be append only so we shouldn't need to snapshot them | ||||
|             options = { | ||||
|               "com.sun:auto-snapshot" = "false"; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue