Guest User

Untitled

a guest
Feb 3rd, 2020
101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. { pkgs, ... }: {
  2. services.mysql.package = pkgs.mysql;
  3. services.mysql.enable = true;
  4. services.mysql.ensureDatabases = [ "foo" ];
  5. services.mysql.ensureUsers = [{
  6. name = "foo";
  7. ensurePermissions = { "foo.*" = "ALL PRIVILEGES"; };
  8. }];
  9. }
RAW Paste Data