stp-elc-smbshare.nix
This commit is contained in:
parent
36a3663e7f
commit
34a3f7aec6
3 changed files with 30 additions and 0 deletions
|
|
@ -6,6 +6,8 @@
|
||||||
thunderbird
|
thunderbird
|
||||||
slack # Team communication
|
slack # Team communication
|
||||||
pkgs-unstable.signal-desktop # Private messaging
|
pkgs-unstable.signal-desktop # Private messaging
|
||||||
|
freerdp # xfreerdp CLI client
|
||||||
|
remmina # GTK GUI RDP client
|
||||||
# gimp # Temporarily commented out to avoid build errors
|
# gimp # Temporarily commented out to avoid build errors
|
||||||
# calibre
|
# calibre
|
||||||
];
|
];
|
||||||
|
|
|
||||||
27
desktop/stp-elc-smbshare.nix
Normal file
27
desktop/stp-elc-smbshare.nix
Normal file
|
|
@ -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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -58,6 +58,7 @@
|
||||||
modules = commonDesktopModules ++ [
|
modules = commonDesktopModules ++ [
|
||||||
./systems/framework.nix
|
./systems/framework.nix
|
||||||
./desktop/dnm.nix
|
./desktop/dnm.nix
|
||||||
|
./desktop/stp-elc-smbshare.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
aurora = mkSystem {
|
aurora = mkSystem {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue