summary refs log tree commit diff
path: root/nixos/modules/misc
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-09-06 00:45:47 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-09-24 18:31:20 +0200
commit753d9d4e4fb3d773c93ba005007c6578edd4bf7e (patch)
tree2323760af1dbf5270249418cc2eb7cba1118fffb /nixos/modules/misc
parent614a99bd8e20223ed3270d3cbc293cc03c878867 (diff)
downloadnixlib-753d9d4e4fb3d773c93ba005007c6578edd4bf7e.tar
nixlib-753d9d4e4fb3d773c93ba005007c6578edd4bf7e.tar.gz
nixlib-753d9d4e4fb3d773c93ba005007c6578edd4bf7e.tar.bz2
nixlib-753d9d4e4fb3d773c93ba005007c6578edd4bf7e.tar.lz
nixlib-753d9d4e4fb3d773c93ba005007c6578edd4bf7e.tar.xz
nixlib-753d9d4e4fb3d773c93ba005007c6578edd4bf7e.tar.zst
nixlib-753d9d4e4fb3d773c93ba005007c6578edd4bf7e.zip
nixos/samba: remove services.samba.defaultShare option
It's not that difficult to define shares using standard samba config
file syntax, so why do we need the semi-configurable .defaultShare
option?

Also:
 * It uses /home/smbd and I think /home should be reserved
   for real human users.
 * If enabled, it breaks the assumption that .extraConfig continues in
   the [global] section.

Without .defaultShare there is no need for the "smbguest" user and group
either, mark them as unused.
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r--nixos/modules/misc/ids.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index cdce7d1a893e..cd5e6019cefb 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -82,7 +82,7 @@
       statsd = 69;
       transmission = 70;
       postgres = 71;
-      smbguest = 74;
+      smbguest = 74;  # unused
       varnish = 75;
       datadog = 76;
       lighttpd = 77;
@@ -220,7 +220,7 @@
       postgres = 71;
       vboxusers = 72;
       vboxsf = 73;
-      smbguest = 74;
+      smbguest = 74;  # unused
       varnish = 75;
       datadog = 76;
       lighttpd = 77;