calDavToCsv workds

This commit is contained in:
Stuce 2025-11-17 17:13:15 +01:00
parent 65b9888e90
commit 55cdf7b2de
3 changed files with 19 additions and 13 deletions

View file

@ -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.

15
flake.lock generated
View file

@ -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": {

View file

@ -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;