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 ./lldap.nix
./vaultwarden.nix ./vaultwarden.nix
./radicale.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 # Add flake support
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.

15
flake.lock generated
View file

@ -7,17 +7,14 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763298643, "lastModified": 1763380483,
"narHash": "sha256-oFfWpSGnCtLVGUdOzpLExKLIA3Y7UXXGkAot7Ve3mXk=", "narHash": "sha256-phEbkn+BNoOSfWahem3lXBUcbmw5Q0RkHlzZBi7ljXc=",
"ref": "refs/heads/main", "path": "/home/stuce/calDAVtoCSV",
"rev": "0979838bf8d869c24957d32e1bae2fc30fa9be20", "type": "path"
"revCount": 11,
"type": "git",
"url": "https://git.stuce.ch/stuce/calDAVtoCSV"
}, },
"original": { "original": {
"type": "git", "path": "/home/stuce/calDAVtoCSV",
"url": "https://git.stuce.ch/stuce/calDAVtoCSV" "type": "path"
} }
}, },
"nixpkgs": { "nixpkgs": {

View file

@ -14,7 +14,8 @@
# inputs.nixpkgs.follows = "nixpkgs"; # inputs.nixpkgs.follows = "nixpkgs";
# }; # };
calDavToCsv = { 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"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
@ -29,7 +30,7 @@
modules = [ modules = [
./configuration.nix ./configuration.nix
# nvf.nixosModules.default # nvf.nixosModules.default
calDavToCsv.nixosModules.calDAVtoCSV calDavToCsv.nixosModules.calDavToCsv
# home-manager.nixosModules.home-manager # home-manager.nixosModules.home-manager
# { # {
# home-manager.useGlobalPkgs = true; # home-manager.useGlobalPkgs = true;