feat(nixosModules/server): add smb shares

This commit is contained in:
Mohammad Rafiq 2025-06-06 22:43:32 +08:00
parent 3dd00fedf0
commit 2b15a62f54
No known key found for this signature in database
3 changed files with 30 additions and 2 deletions

View file

@ -13,12 +13,19 @@
"rafiq/hashedPassword".neededForUsers = true;
"rafiq/personalEmailPassword" = { };
"rafiq/workEmailPassword" = { };
"rafiq/oldSMBCredentials" = { };
"librechat/creds_key" = { };
"librechat/creds_iv" = { };
"librechat/jwt_secret" = { };
"librechat/jwt_refresh_secret" = { };
"librechat/meili_master_key" = { };
};
templates = {
"smb-credentials".content = ''
username=rafiq
password=${config.sops.placeholder."rafiq/oldSMBCredentials"}
'';
};
};
environment.shellInit = # sh
''