Remove aliases, cleanup

This commit is contained in:
Sandro Jäckel 2024-10-04 02:09:52 +02:00
parent a763531478
commit 7aa3a622d9
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -4,7 +4,7 @@
enable = mkEnableOption "Enable Fedi.buzz relay";
package = mkOption {
type = types.package;
default = self.packages.${pkgs.system}.buzzrelay;
default = self.packages.${pkgs.stdenv.system}.buzzrelay;
};
streams = mkOption {
type = with types; listOf str;
@ -103,7 +103,7 @@
serviceConfig = {
Type = "notify";
WorkingDirectory = "${buzzrelay}/share/buzzrelay";
ExecStart = "${buzzrelay}/bin/buzzrelay ${lib.escapeShellArg configFile}";
ExecStart = "${lib.getExe buzzrelay} ${lib.escapeShellArg configFile}";
User = cfg.user;
Group = cfg.group;
ProtectSystem = "full";