Reenabled kinit
This commit is contained in:
		
							parent
							
								
									5796bee499
								
							
						
					
					
						commit
						dd25c9323d
					
				| @ -31,16 +31,16 @@ | |||||||
|   sops.secrets."smb-credentials" = { |   sops.secrets."smb-credentials" = { | ||||||
|     sopsFile = "${inputs.secrets}/secrets/vm-oddjob.enc.yaml"; |     sopsFile = "${inputs.secrets}/secrets/vm-oddjob.enc.yaml"; | ||||||
|   }; |   }; | ||||||
|   # systemd.services.mnt-nas-krb5 = { |   systemd.services.mnt-nas-krb5 = { | ||||||
|   #   description = "Set up Kerberos credentials for mnt-nas"; |     description = "Set up Kerberos credentials for mnt-nas"; | ||||||
|   #   before = [ "mnt-nas.mount" ]; |     before = [ "mnt-nas.mount" ]; | ||||||
|   #   requiredBy = [ "mnt-nas.mount" ]; |     requiredBy = [ "mnt-nas.mount" ]; | ||||||
|   #   serviceConfig.type = "oneshot"; |     serviceConfig.type = "oneshot"; | ||||||
|   #   script = '' |     script = '' | ||||||
|   #     . ${config.sops.secrets."smb-credentials".path} |       . ${config.sops.secrets."smb-credentials".path} | ||||||
|   #     echo $password | ${pkgs.krb5}/bin/kinit $username |       echo $password | ${pkgs.krb5}/bin/kinit $username | ||||||
|   #   ''; |     ''; | ||||||
|   # }; |   }; | ||||||
|   fileSystems."/mnt/nas" = { |   fileSystems."/mnt/nas" = { | ||||||
|     device = "//${inputs.secrets.lab.nas.host}/Backup"; |     device = "//${inputs.secrets.lab.nas.host}/Backup"; | ||||||
|     fsType = "cifs"; |     fsType = "cifs"; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis