summary refs log tree commit diff
path: root/nixos/modules/misc/ids.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-08-30 17:55:59 +0200
committerPeter Simons <simons@cryp.to>2019-08-30 18:00:36 +0200
commit6b87772ca4a0b7d8448365b4f1c1a08a904fb3e8 (patch)
treee184e713e6f694648d531c6ad45ed380e5b7208e /nixos/modules/misc/ids.nix
parentda456aff25b1469eef756b6e0ce9c97401eaee1a (diff)
downloadnixpkgs-6b87772ca4a0b7d8448365b4f1c1a08a904fb3e8.tar
nixpkgs-6b87772ca4a0b7d8448365b4f1c1a08a904fb3e8.tar.gz
nixpkgs-6b87772ca4a0b7d8448365b4f1c1a08a904fb3e8.tar.bz2
nixpkgs-6b87772ca4a0b7d8448365b4f1c1a08a904fb3e8.tar.lz
nixpkgs-6b87772ca4a0b7d8448365b4f1c1a08a904fb3e8.tar.xz
nixpkgs-6b87772ca4a0b7d8448365b4f1c1a08a904fb3e8.tar.zst
nixpkgs-6b87772ca4a0b7d8448365b4f1c1a08a904fb3e8.zip
nixos/mailman: don't reserve a static uid in the system
Any system uid will do, so we let the system allocate
one for us. The 'mailman' group is gone entirely since
we don't need it. Users who wish to run the 'mailman'
administration utility can do so via 'sudo':

    $ sudo -u mailman mailman info

Also, simplify the syntax of our user.users entry to
rely on an attribute set rather than a list.
Diffstat (limited to 'nixos/modules/misc/ids.nix')
-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 efd8544d6a2..ac6af1ce8b7 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -340,7 +340,7 @@
       cockroachdb = 313;
       zoneminder = 314;
       paperless = 315;
-      mailman = 316;
+      #mailman = 316;  # removed 2019-08-30
 
       # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
 
@@ -641,7 +641,7 @@
       cockroachdb = 313;
       zoneminder = 314;
       paperless = 315;
-      mailman = 316;
+      #mailman = 316;  # removed 2019-08-30
 
       # When adding a gid, make sure it doesn't match an existing
       # uid. Users and groups with the same name should have equal