refactor: hosts

This commit is contained in:
Ryan Yin
2024-01-21 15:16:39 +08:00
parent 489f82f24b
commit a76daab3ce
32 changed files with 34 additions and 34 deletions
+14
View File
@@ -0,0 +1,14 @@
{
config,
username,
...
}: {
# mount a smb/cifs share
fileSystems."/home/${username}/SMB-Downloads" = {
device = "//192.168.5.194/Downloads";
fsType = "cifs";
options = [
"vers=3.0,uid=1000,gid=100,dir_mode=0755,file_mode=0755,mfsymlinks,credentials=${config.age.secrets.smb-credentials.path},nofail"
];
};
}