mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 06:52:24 +00:00
Compare commits
No commits in common. "31170a616f4a32f2db3dc5e19ee90bbf726cc303" and "59bd3590a4bc9be70091ac5c31cdf3669c8a670f" have entirely different histories.
31170a616f
...
59bd3590a4
@ -9,8 +9,6 @@
|
||||
networking.interfaces.enp5s0.useDHCP = true;
|
||||
networking.interfaces.wlp4s0.useDHCP = true;
|
||||
|
||||
networking.firewall.allowPing = lib.mkIf config.server true;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
services.samba = lib.mkIf (config.samba.enable) {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
shares.data = {
|
||||
shares.video = {
|
||||
path = "/data";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
@ -18,20 +18,15 @@
|
||||
};
|
||||
};
|
||||
|
||||
# Allows Windows clients to discover server
|
||||
services.samba-wsdd.enable = true;
|
||||
networking.firewall.allowedTCPPorts = [ 5357 ];
|
||||
networking.firewall.allowedUDPPorts = [ 3702 ];
|
||||
|
||||
# Allow client browsing Samba and virtual filesystem shares
|
||||
# Allow browsing Samba shares
|
||||
services.gvfs =
|
||||
lib.mkIf (config.gui.enable && config.nautilus.enable) { enable = true; };
|
||||
|
||||
# # Permissions required to mount Samba with GVFS, if not using desktop environment
|
||||
# environment.systemPackages = lib.mkIf (config.gui.enable
|
||||
# && config.nautilus.enable
|
||||
# && config.services.xserver.windowManager.i3.enable)
|
||||
# [ pkgs.lxqt.lxqt-policykit ];
|
||||
# Permissions required to mount Samba with GVFS, if not using desktop environment
|
||||
environment.systemPackages = lib.mkIf (config.gui.enable
|
||||
&& config.nautilus.enable
|
||||
&& config.services.xserver.windowManager.i3.enable)
|
||||
[ pkgs.lxqt.pxqt-policykit ];
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user