diff --git a/desktop/office.nix b/desktop/office.nix index 3b3626f..e740dc9 100644 --- a/desktop/office.nix +++ b/desktop/office.nix @@ -6,6 +6,8 @@ thunderbird slack # Team communication pkgs-unstable.signal-desktop # Private messaging + freerdp # xfreerdp CLI client + remmina # GTK GUI RDP client # gimp # Temporarily commented out to avoid build errors # calibre ]; diff --git a/desktop/stp-elc-smbshare.nix b/desktop/stp-elc-smbshare.nix new file mode 100644 index 0000000..a8667fc --- /dev/null +++ b/desktop/stp-elc-smbshare.nix @@ -0,0 +1,27 @@ +{ config, pkgs, ... }: + +{ + environment.systemPackages = [ pkgs.cifs-utils ]; + + systemd.tmpfiles.rules = [ + "d /mnt/udmshare 0755 root root - -" + ]; + + fileSystems."/mnt/udmshare" = { + device = "//10.42.1.254/udmshare"; + fsType = "cifs"; + options = [ + "username=smbshare" + "password=Monaco55" + "vers=3.0" + "iocharset=utf8" + "_netdev" + "nofail" + "x-systemd.automount" + "uid=1000" + "gid=1000" + "file_mode=0664" + "dir_mode=0775" + ]; + }; +} diff --git a/flake.nix b/flake.nix index 9bb4fb2..a5ec805 100644 --- a/flake.nix +++ b/flake.nix @@ -58,6 +58,7 @@ modules = commonDesktopModules ++ [ ./systems/framework.nix ./desktop/dnm.nix + ./desktop/stp-elc-smbshare.nix ]; }; aurora = mkSystem {