summary refs log tree commit diff
path: root/nixos/modules/services/databases/mysql.nix
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2021-12-18 20:55:03 -0500
committerAaron Andersen <aaron@fosslib.net>2021-12-18 21:01:48 -0500
commitf1d1d319ae3dc8e373aabe71bc90cf7fd252fe69 (patch)
tree04262d1c03839583aeab4add3a5be44fa8461ef2 /nixos/modules/services/databases/mysql.nix
parentc7cac1bdc0ccf1c7f0d36e87b2ac6deb370a0fae (diff)
downloadnixpkgs-f1d1d319ae3dc8e373aabe71bc90cf7fd252fe69.tar
nixpkgs-f1d1d319ae3dc8e373aabe71bc90cf7fd252fe69.tar.gz
nixpkgs-f1d1d319ae3dc8e373aabe71bc90cf7fd252fe69.tar.bz2
nixpkgs-f1d1d319ae3dc8e373aabe71bc90cf7fd252fe69.tar.lz
nixpkgs-f1d1d319ae3dc8e373aabe71bc90cf7fd252fe69.tar.xz
nixpkgs-f1d1d319ae3dc8e373aabe71bc90cf7fd252fe69.tar.zst
nixpkgs-f1d1d319ae3dc8e373aabe71bc90cf7fd252fe69.zip
nixos/mysql: update user and group descriptions
Diffstat (limited to 'nixos/modules/services/databases/mysql.nix')
-rw-r--r--nixos/modules/services/databases/mysql.nix20
1 files changed, 18 insertions, 2 deletions
diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix
index cd1a3115502..4c77efa4bff 100644
--- a/nixos/modules/services/databases/mysql.nix
+++ b/nixos/modules/services/databases/mysql.nix
@@ -56,13 +56,29 @@ in
       user = mkOption {
         type = types.str;
         default = "mysql";
-        description = "User account under which MySQL runs.";
+        description = ''
+          User account under which MySQL runs.
+
+          <note><para>
+          If left as the default value this user will automatically be created
+          on system activation, otherwise you are responsible for
+          ensuring the user exists before the MySQL service starts.
+          </para></note>
+        '';
       };
 
       group = mkOption {
         type = types.str;
         default = "mysql";
-        description = "Group under which MySQL runs.";
+        description = ''
+          Group account under which MySQL runs.
+
+          <note><para>
+          If left as the default value this user will automatically be created
+          on system activation, otherwise you are responsible for
+          ensuring the user exists before the MySQL service starts.
+          </para></note>
+        '';
       };
 
       dataDir = mkOption {