forked from jan-leila/nix-config
		
	main #2
					 14 changed files with 24 additions and 19 deletions
				
			
		|  | @ -1,4 +1,8 @@ | ||||||
| {osConfig, ...}: { | { | ||||||
|  |   config, | ||||||
|  |   osConfig, | ||||||
|  |   ... | ||||||
|  | }: { | ||||||
|   imports = [ |   imports = [ | ||||||
|     ./packages |     ./packages | ||||||
|     ./i18n.nix |     ./i18n.nix | ||||||
|  | @ -35,7 +39,7 @@ | ||||||
|         #   org.gradle.console=verbose |         #   org.gradle.console=verbose | ||||||
|         #   org.gradle.daemon.idletimeout=3600000 |         #   org.gradle.daemon.idletimeout=3600000 | ||||||
|         # ''; |         # ''; | ||||||
|         ".config/user-dirs.dirs" = { |         "${config.xdg.configHome}/user-dirs.dirs" = { | ||||||
|           force = true; |           force = true; | ||||||
|           text = '' |           text = '' | ||||||
|             # This file is written by xdg-user-dirs-update |             # This file is written by xdg-user-dirs-update | ||||||
|  |  | ||||||
|  | @ -1,5 +1,6 @@ | ||||||
| { | { | ||||||
|   lib, |   lib, | ||||||
|  |   config, | ||||||
|   osConfig, |   osConfig, | ||||||
|   ... |   ... | ||||||
| }: { | }: { | ||||||
|  | @ -10,13 +11,13 @@ | ||||||
|         "downloads" |         "downloads" | ||||||
|         "documents" |         "documents" | ||||||
|         { |         { | ||||||
|           directory = ".local/share/Steam"; |           directory = "${config.xdg.dataHome}/Steam"; | ||||||
|           method = "symlink"; |           method = "symlink"; | ||||||
|         } |         } | ||||||
|       ]; |       ]; | ||||||
|       files = [ |       files = [ | ||||||
|         ".bash_history" # keep shell history around |         ".bash_history" # keep shell history around | ||||||
|         ".local/share/recently-used.xbel" # gnome recently viewed files |         "${config.xdg.dataHome}/recently-used.xbel" # gnome recently viewed files | ||||||
|       ]; |       ]; | ||||||
|       allowOther = true; |       allowOther = true; | ||||||
|     }; |     }; | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".local/share/Anki2" |             "${config.xdg.dataHome}/Anki2/" | ||||||
|           ]; |           ]; | ||||||
|           allowOther = true; |           allowOther = true; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".config/Bitwarden" |             "${config.xdg.configHome}/Bitwarden" | ||||||
|           ]; |           ]; | ||||||
|           allowOther = true; |           allowOther = true; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".config/bruno/" |             "${config.xdg.configHome}/bruno/" | ||||||
|           ]; |           ]; | ||||||
|           allowOther = true; |           allowOther = true; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".config/calibre" |             "${config.xdg.configHome}/calibre" | ||||||
|           ]; |           ]; | ||||||
|           allowOther = true; |           allowOther = true; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             "~/.local/share/DBeaverData/" |             "${config.xdg.dataHome}/DBeaverData/" | ||||||
|           ]; |           ]; | ||||||
|           allowOther = true; |           allowOther = true; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             "~/.config/discord/" |             "${config.xdg.configHome}/discord/" | ||||||
|           ]; |           ]; | ||||||
|           allowOther = true; |           allowOther = true; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
|  | @ -20,11 +20,11 @@ | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             # configuration |             # configuration | ||||||
|             ".config/JetBrains/" |             "${config.xdg.configHome}/JetBrains/" | ||||||
|             # plugins |             # plugins | ||||||
|             ".local/share/JetBrains/" |             "${config.xdg.dataHome}/JetBrains/" | ||||||
|             # System and Logs |             # System and Logs | ||||||
|             ".cache/JetBrains/" |             "${config.xdg.cacheHome}/JetBrains/" | ||||||
|           ]; |           ]; | ||||||
|         }; |         }; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".config/obsidian" |             "${config.xdg.configHome}/obsidian" | ||||||
|           ]; |           ]; | ||||||
|         }; |         }; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".config/ProStudioMasters" |             "${config.xdg.configHome}/ProStudioMasters" | ||||||
|           ]; |           ]; | ||||||
|         }; |         }; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  | @ -19,8 +19,8 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".config/protonvpn" |             "${config.xdg.configHome}/protonvpn" | ||||||
|             ".config/Proton" |             "${config.xdg.configHome}/Proton" | ||||||
|           ]; |           ]; | ||||||
|         }; |         }; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".config/qBittorrent" |             "${config.xdg.configHome}/qBittorrent" | ||||||
|           ]; |           ]; | ||||||
|         }; |         }; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ | ||||||
|       lib.mkIf osConfig.host.impermanence.enable { |       lib.mkIf osConfig.host.impermanence.enable { | ||||||
|         home.persistence."/persist${config.home.homeDirectory}" = { |         home.persistence."/persist${config.home.homeDirectory}" = { | ||||||
|           directories = [ |           directories = [ | ||||||
|             ".config/Signal" |             "${config.xdg.configHome}/Signal" | ||||||
|           ]; |           ]; | ||||||
|         }; |         }; | ||||||
|       } |       } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue