.
This commit is contained in:
parent
6ff4ea819a
commit
5fd0249e63
1 changed files with 6 additions and 6 deletions
12
flake.nix
12
flake.nix
|
|
@ -33,10 +33,10 @@
|
|||
maintainers = with pkgs.lib.maintainers; [ stuce-bot ];
|
||||
};
|
||||
};
|
||||
nixosModules.calDavToCsv = { config, lib, ... }:
|
||||
let cfg = config.services.calDavToCsv;
|
||||
nixosModules.default = { config, lib, ... }:
|
||||
let cfg = config.services.deafault;
|
||||
in {
|
||||
options.calDavtoCSV = {
|
||||
options.default = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
|
|
@ -83,11 +83,11 @@
|
|||
# "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 config.default.enable {
|
||||
environment.etc."config.ini".text = ''
|
||||
${lib.toIni config.calDavToCsv.config}
|
||||
${lib.toIni config.default.config}
|
||||
'';
|
||||
systemd.services.calDavToCsv = {
|
||||
systemd.services.default = {
|
||||
description = "calDAV to CSV Service";
|
||||
after = [ "network.target" ];
|
||||
serviceConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue