feat(smb): add smb support
CI / flake (push) Skipped

This commit is contained in:
2026-08-31 02:35:28 +01:00
parent 7ab3071ea9
commit a8701061ff
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -244,5 +244,17 @@ in
pkgs.dualsensectl # DualSense LED/battery/mic control from the shell
pkgs.mangohud # FPS/frametime overlay; use `mangohud %command%` in Steam
pkgs.vulkan-tools # vulkaninfo, for checking the 32/64-bit ICDs Proton needs
pkgs.cifs-utils
];
fileSystems."/mnt/share" = {
device = "//fs-01.inf.cbg.emmaisvery.gay/torrent";
fsType = "cifs";
options =
let
# this line prevents hanging on network split
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
in
[ "${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100" ];
};
}
+2
View File
@@ -48,6 +48,8 @@
fastfetch
];
services.gvfs.enable = true;
# Fonts on every host. The Nerd Font carries the powerline/Nerd glyphs the
# tmux statusline uses (foot names it explicitly in home/sway.nix); Noto sans +
# colour emoji prevent tofu in terminals/TUIs/Firefox -- important on the WSL