mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-21 11:41:00 +00:00
Remove aliases, cleanup
This commit is contained in:
parent
a763531478
commit
7aa3a622d9
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
enable = mkEnableOption "Enable Fedi.buzz relay";
|
enable = mkEnableOption "Enable Fedi.buzz relay";
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = self.packages.${pkgs.system}.buzzrelay;
|
default = self.packages.${pkgs.stdenv.system}.buzzrelay;
|
||||||
};
|
};
|
||||||
streams = mkOption {
|
streams = mkOption {
|
||||||
type = with types; listOf str;
|
type = with types; listOf str;
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "notify";
|
Type = "notify";
|
||||||
WorkingDirectory = "${buzzrelay}/share/buzzrelay";
|
WorkingDirectory = "${buzzrelay}/share/buzzrelay";
|
||||||
ExecStart = "${buzzrelay}/bin/buzzrelay ${lib.escapeShellArg configFile}";
|
ExecStart = "${lib.getExe buzzrelay} ${lib.escapeShellArg configFile}";
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
ProtectSystem = "full";
|
ProtectSystem = "full";
|
||||||
|
|
Loading…
Reference in a new issue