agenix: use secrets in store
Rather than the local secrets, which won't be found if the remote has no ~/.config/dotfiles.
This commit is contained in:
		
							parent
							
								
									9d90e3a822
								
							
						
					
					
						commit
						8a6bf347e9
					
				|  | @ -6,7 +6,7 @@ with builtins; | |||
| with lib; | ||||
| with lib.my; | ||||
| let inherit (inputs) agenix; | ||||
|     secretsDir = "${config.dotfiles.dir}/hosts/${config.networking.hostName}/secrets"; | ||||
|     secretsDir = "${toString ../hosts}/${config.networking.hostName}/secrets"; | ||||
|     secretsFile = "${secretsDir}/secrets.nix"; | ||||
| in { | ||||
|   imports = [ agenix.nixosModules.age ]; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue