.
This commit is contained in:
parent
049839b64b
commit
ca880a61a7
1 changed files with 4 additions and 4 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue