client samba cleanup

This commit is contained in:
Noah Masur 2023-03-05 23:47:52 -05:00
parent 4502c5ff62
commit 31170a616f

View File

@ -23,15 +23,15 @@
networking.firewall.allowedTCPPorts = [ 5357 ]; networking.firewall.allowedTCPPorts = [ 5357 ];
networking.firewall.allowedUDPPorts = [ 3702 ]; networking.firewall.allowedUDPPorts = [ 3702 ];
# Allow browsing Samba shares # Allow client browsing Samba and virtual filesystem shares
services.gvfs = services.gvfs =
lib.mkIf (config.gui.enable && config.nautilus.enable) { enable = true; }; lib.mkIf (config.gui.enable && config.nautilus.enable) { enable = true; };
# Permissions required to mount Samba with GVFS, if not using desktop environment # # Permissions required to mount Samba with GVFS, if not using desktop environment
environment.systemPackages = lib.mkIf (config.gui.enable # environment.systemPackages = lib.mkIf (config.gui.enable
&& config.nautilus.enable # && config.nautilus.enable
&& config.services.xserver.windowManager.i3.enable) # && config.services.xserver.windowManager.i3.enable)
[ pkgs.lxqt.pxqt-policykit ]; # [ pkgs.lxqt.lxqt-policykit ];
}; };