diff --git a/systems/hikari3/web-development/default.nix b/systems/hikari3/web-development/default.nix index 66595c2..7c1b9f8 100644 --- a/systems/hikari3/web-development/default.nix +++ b/systems/hikari3/web-development/default.nix @@ -139,13 +139,25 @@ in { }; }; - systemd.tmpfiles.rules = [ - # TODO: Improve handling of TYPO3 global configuration - # Current issue: The files are copied once. - # Changes are not reflected until reboot? - # I can edit the copied files, but need to keep files in sync. - "C ${config.custom.web-development.rootPath}/own/typo3-configuration - - - - ${config.users.users.daniels.home}/.config/nixpkgs/home/files/typo3-configuration" - ]; + systemd = { + + services = { + mysql.serviceConfig = { + # Allow group to access the folder, + # to allow users within group to tail log. + StateDirectoryMode = lib.mkForce "0710"; + }; + }; + + tmpfiles.rules = [ + # TODO: Improve handling of TYPO3 global configuration + # Current issue: The files are copied once. + # Changes are not reflected until reboot? + # I can edit the copied files, but need to keep files in sync. + "C ${config.custom.web-development.rootPath}/own/typo3-configuration - - - - ${config.users.users.daniels.home}/.config/nixpkgs/home/files/typo3-configuration" + ]; + + }; }; }