From 59f81d72700a728f1a2943adb3b57a38c63742f0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 18 Dec 2024 18:16:35 +0100 Subject: [PATCH] Fixed typos --- module.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/module.nix b/module.nix index c48afef..78e898d 100644 --- a/module.nix +++ b/module.nix @@ -1,18 +1,18 @@ -{ lib, config, pkgs, mesa-tts-pkgs, ... }: +{ lib, config, pkgs, mensa-tts-pkgs, ... }: with lib; let # Shorter name to access final settings a # user of hello.nix module HAS ACTUALLY SET. # cfg is a typical convention. - cfg = config.services.mesa-tts; + cfg = config.services.mensa-tts; in { - options.services.mesa-tts = { + options.services.mensa-tts = { enable = mkEnableOption "mensa-tts service"; package = mkOption { - default = mesa-tts-pkgs.x86_64-linux.default; + default = mensa-tts-pkgs.x86_64-linux.default; type = types.package; description = "mensa-tts packages to use. Needed to fix crosscompilation issues."; }; @@ -87,8 +87,8 @@ in "d '${cfg.cache-dir}' 0750 ${cfg.user} ${cfg.group} - -" ]; - systemd.services.mesa-tts = { - description = "mesa-tts service"; + systemd.services.mensa-tts = { + description = "mensa-tts service"; serviceConfig = { Type = "oneshot"; User = cfg.user; @@ -106,11 +106,11 @@ in }; - systemd.timers.mesa-tts = { + systemd.timers.mensa-tts = { wantedBy = [ "timers.target" ]; timerConfig = { OnCalendar = cfg.time; - Unit = "mesa-tts.service"; + Unit = "mensa-tts.service"; }; }; };