diff --git a/configuration.nix b/configuration.nix index 7855b3f..e5691c3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -13,9 +13,17 @@ ./lldap.nix ./vaultwarden.nix ./radicale.nix - ./calDavToCsv.nix ]; - services.calDavToCsv.enable = true; + + services.calDavToCsv = { + enable = true; + port = 8000; + calendarUrl = "https://cal.stuce.ch"; + calendarUsername = "eInk"; + calendarName = "Ouais le ménage"; + calendarPasswordFile = "/etc/calDAVtoCSV/password"; + }; + # Add flake support nix.settings.experimental-features = [ "nix-command" "flakes" ]; # Use the GRUB 2 boot loader. diff --git a/flake.lock b/flake.lock index 6c214fd..1c639fa 100644 --- a/flake.lock +++ b/flake.lock @@ -7,17 +7,14 @@ ] }, "locked": { - "lastModified": 1763298643, - "narHash": "sha256-oFfWpSGnCtLVGUdOzpLExKLIA3Y7UXXGkAot7Ve3mXk=", - "ref": "refs/heads/main", - "rev": "0979838bf8d869c24957d32e1bae2fc30fa9be20", - "revCount": 11, - "type": "git", - "url": "https://git.stuce.ch/stuce/calDAVtoCSV" + "lastModified": 1763380483, + "narHash": "sha256-phEbkn+BNoOSfWahem3lXBUcbmw5Q0RkHlzZBi7ljXc=", + "path": "/home/stuce/calDAVtoCSV", + "type": "path" }, "original": { - "type": "git", - "url": "https://git.stuce.ch/stuce/calDAVtoCSV" + "path": "/home/stuce/calDAVtoCSV", + "type": "path" } }, "nixpkgs": { diff --git a/flake.nix b/flake.nix index 5ed9e56..b9c4d48 100644 --- a/flake.nix +++ b/flake.nix @@ -14,7 +14,8 @@ # inputs.nixpkgs.follows = "nixpkgs"; # }; calDavToCsv = { - url = "git+https://git.stuce.ch/stuce/calDAVtoCSV"; + # url = "git+https://git.stuce.ch/stuce/calDAVtoCSV"; + url = "/home/stuce/calDAVtoCSV"; inputs.nixpkgs.follows = "nixpkgs"; }; }; @@ -29,7 +30,7 @@ modules = [ ./configuration.nix # nvf.nixosModules.default - calDavToCsv.nixosModules.calDAVtoCSV + calDavToCsv.nixosModules.calDavToCsv # home-manager.nixosModules.home-manager # { # home-manager.useGlobalPkgs = true;