First Commit

This commit is contained in:
2026-01-05 04:04:36 +01:00
commit c7a17f7772
83 changed files with 3574 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{ pkgs, username, ... }:
#let mount_opts = "x-systemd.automount,user,iocharset=utf8,rw,noauto,nofail,credentials=/etc/nixos/smb-secrets,uid=1000,gid=100";
let mount_opts = "iocharset=utf8,rw,auto,nofail,credentials=/etc/nixos/smb-secrets,uid=1000,gid=100";
in {
environment.systemPackages = [ pkgs.cifs-utils ];
fileSystems."/home/${username}/Shares/NAS" = {
device = "//10.0.10.5/LillyNAS";
fsType = "cifs";
options = [ "${mount_opts}" ];
};
fileSystems."/home/${username}/Shares/3D-Printing" = {
device = "//10.0.10.5/3D-Printing";
fsType = "cifs";
options = [ "${mount_opts}" ];
};
fileSystems."/home/${username}/Shares/Media" = {
device = "//10.0.10.5/Media";
fsType = "cifs";
options = [ "${mount_opts}" ];
};
fileSystems."/home/${username}/Shares/PaperlessConsume" = {
device = "//10.0.10.5/PaperlessConsume";
fsType = "cifs";
options = [ "${mount_opts}" ];
};
fileSystems."/home/${username}/Shares/LillyPhoneSync" = {
device = "//10.0.10.5/LillyPhoneSync";
fsType = "cifs";
options = [ "${mount_opts}" ];
};
}