Use kinit from krb5 package

This commit is contained in:
Jan-Bulthuis 2025-06-09 14:28:54 +02:00
parent d4e6283c2f
commit 2fec5ead38

View File

@ -49,7 +49,7 @@
serviceConfig.type = "oneshot"; serviceConfig.type = "oneshot";
script = '' script = ''
. ${config.sops.secrets."smb-credentials".path} . ${config.sops.secrets."smb-credentials".path}
echo $password | kinit $username echo $password | ${pkgs.krb5}/bin/kinit $username
''; '';
}; };
fileSystems."/mnt/nas" = { fileSystems."/mnt/nas" = {