forked from jan-leila/nix-config
		
	set up impermanence configurations for applications
This commit is contained in:
		
							parent
							
								
									ef03167d23
								
							
						
					
					
						commit
						54722eff61
					
				
					 6 changed files with 36 additions and 6 deletions
				
			
		|  | @ -17,7 +17,12 @@ | ||||||
|     } |     } | ||||||
|     ( |     ( | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         # TODO: map impermanence for anki |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|  |           directories = [ | ||||||
|  |             "~/.local/share/Anki2" | ||||||
|  |           ]; | ||||||
|  |           allowOther = true; | ||||||
|  |         }; | ||||||
|       } |       } | ||||||
|     ) |     ) | ||||||
|   ]); |   ]); | ||||||
|  |  | ||||||
|  | @ -17,7 +17,12 @@ | ||||||
|     } |     } | ||||||
|     ( |     ( | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         # TODO: map impermanence for bitwarden |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|  |           directories = [ | ||||||
|  |             "~/.config/Bitwarden" | ||||||
|  |           ]; | ||||||
|  |           allowOther = true; | ||||||
|  |         }; | ||||||
|       } |       } | ||||||
|     ) |     ) | ||||||
|   ]); |   ]); | ||||||
|  |  | ||||||
|  | @ -17,7 +17,12 @@ | ||||||
|     } |     } | ||||||
|     ( |     ( | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         # TODO: map impermanence for bruno |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|  |           directories = [ | ||||||
|  |             "~/.config/bruno/" | ||||||
|  |           ]; | ||||||
|  |           allowOther = true; | ||||||
|  |         }; | ||||||
|       } |       } | ||||||
|     ) |     ) | ||||||
|   ]); |   ]); | ||||||
|  |  | ||||||
|  | @ -17,7 +17,12 @@ | ||||||
|     } |     } | ||||||
|     ( |     ( | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         # TODO: map impermanence for calibre |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|  |           directories = [ | ||||||
|  |             "~/.config/calibre" | ||||||
|  |           ]; | ||||||
|  |           allowOther = true; | ||||||
|  |         }; | ||||||
|       } |       } | ||||||
|     ) |     ) | ||||||
|   ]); |   ]); | ||||||
|  |  | ||||||
|  | @ -17,7 +17,12 @@ | ||||||
|     } |     } | ||||||
|     ( |     ( | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         # TODO: map impermanence for dbeaver |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|  |           directories = [ | ||||||
|  |             "~/.local/share/DBeaverData/" | ||||||
|  |           ]; | ||||||
|  |           allowOther = true; | ||||||
|  |         }; | ||||||
|       } |       } | ||||||
|     ) |     ) | ||||||
|   ]); |   ]); | ||||||
|  |  | ||||||
|  | @ -17,7 +17,12 @@ | ||||||
|     } |     } | ||||||
|     ( |     ( | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         # TODO: map impermanence for discord |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|  |           directories = [ | ||||||
|  |             "~/.config/discord/" | ||||||
|  |           ]; | ||||||
|  |           allowOther = true; | ||||||
|  |         }; | ||||||
|       } |       } | ||||||
|     ) |     ) | ||||||
|   ]); |   ]); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue