Use kinit from krb5 package
This commit is contained in:
parent
d4e6283c2f
commit
2fec5ead38
@ -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" = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user