forked from jan-leila/nix-config
		
	moved users password secret file
This commit is contained in:
		
							parent
							
								
									70d1b98ce2
								
							
						
					
					
						commit
						1be145193e
					
				
					 5 changed files with 5 additions and 6 deletions
				
			
		|  | @ -122,7 +122,6 @@ | |||
|   }; | ||||
| 
 | ||||
|   sops = { | ||||
|     defaultSopsFile = ../../secrets/secrets.yaml; | ||||
|     defaultSopsFormat = "yaml"; | ||||
|     gnupg.sshKeyPaths = []; | ||||
| 
 | ||||
|  |  | |||
|  | @ -49,9 +49,9 @@ | |||
| 
 | ||||
|   config = { | ||||
|     # virtualisation.oci-containers.containers.pihole = { | ||||
|     #   image = "pihole/pihole:latest"; | ||||
|     #   image = "pihole/pihole:2024.07.0"; | ||||
|     #   environment = { | ||||
|     #     TZ = "America/Chicago"; # TODO: set this to the systems timezone | ||||
|     #     TZ = time.timeZone; | ||||
|     #     WEBPASSWORD_FILE = "..."; # TODO: set this from secrets file/config that is set to secrets file (I think this also needs to be mounted in volumns?) | ||||
|     #   }; | ||||
|     #   volumes = [ | ||||
|  |  | |||
|  | @ -16,7 +16,7 @@ in { | |||
|     sops.secrets = lib.mkIf cfg.isFullUser { | ||||
|       "passwords/ester" = { | ||||
|         neededForUsers = true; | ||||
|         # sopsFile = ../secrets.yaml; | ||||
|         sopsFile = ../../secrets/user-passwords.yaml; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -16,7 +16,7 @@ in { | |||
|     sops.secrets = lib.mkIf cfg.isFullUser { | ||||
|       "passwords/eve" = { | ||||
|         neededForUsers = true; | ||||
|         # sopsFile = ../secrets.yaml; | ||||
|         sopsFile = ../../secrets/user-passwords.yaml; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ in { | |||
|     sops.secrets = lib.mkIf (cfg.isFullUser || cfg.isThinUser) { | ||||
|       "passwords/leyla" = { | ||||
|         neededForUsers = true; | ||||
|         # sopsFile = ../secrets.yaml; | ||||
|         sopsFile = ../../secrets/user-passwords.yaml; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue