From ca880a61a7992168da2784a2c06a585d3ee3f205 Mon Sep 17 00:00:00 2001 From: Stuce Date: Sun, 16 Nov 2025 11:20:46 +0100 Subject: [PATCH] . --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index fc85f28..83048b1 100644 --- a/flake.nix +++ b/flake.nix @@ -33,8 +33,8 @@ maintainers = with pkgs.lib.maintainers; [ stuce-bot ]; }; }; - nixosModules.caldavToCsv = { config, lib, ... }: - let cfg = config.services.caldavToCsv; + nixosModules.calDavToCsv = { config, lib, ... }: + let cfg = config.services.calDavToCsv; in { options.calDavtoCSV = { enable = lib.mkOption { @@ -83,9 +83,9 @@ # "file where we need to look for password to connect, needs to be readeable by the service user"; # }; # }; - config = lib.mkIf config.myModule.enable { + config = lib.mkIf config.calDavToCsv.enable { environment.etc."config.ini".text = '' - ${lib.toIni config.myService.config} + ${lib.toIni config.calDavToCsv.config} ''; systemd.services.calDAVtoCSV = { description = "calDAV to CSV Service";