diff --git a/flake.nix b/flake.nix index b4ebe7e..2139ced 100644 --- a/flake.nix +++ b/flake.nix @@ -115,9 +115,9 @@ # "file where we need to look for password to connect, needs to be readeable by the service user"; # }; # }; - config = lib.mkIf config.calDavToCsv.enable { + config = lib.mkIf cfg.enable { environment.etc."config.ini".text = '' - ${lib.toIni config.calDavToCsv.config} + ${lib.toIni cfg.settings} ''; systemd.services.calDavToCsv = { description = "calDAV to CSV Service";