Use kinit from krb5 package
This commit is contained in:
1 parent
d4e6283c2f
commit
2fec5ead38
1 file changed
+1
-1
@@ -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" = {
|
||||||
|
|||||||
Reference in new issue
Block a user