nix: fix typos
This commit is contained in:
parent
2212108ccf
commit
0a66ed2834
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.options) mkOption mkEnableOption;
|
inherit (lib.options) mkOption mkEnableOption;
|
||||||
inherit (pkgs.stdenv.hostPlatform) system;
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
cfg = config.services.forcebot_rs;
|
cfg = config.services.botoh;
|
||||||
in {
|
in {
|
||||||
options.services.botoh = {
|
options.services.botoh = {
|
||||||
enable = mkEnableOption ''
|
enable = mkEnableOption ''
|
||||||
|
@ -22,7 +22,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
systemd.services.forcebot_rs = {
|
systemd.services.botoh = {
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
serviceConfig.ExecStart = "${cfg.package}/bin/botoh";
|
serviceConfig.ExecStart = "${cfg.package}/bin/botoh";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue