1
0

hosts/krypton: Add etesync-dav

This commit is contained in:
clerie 2025-01-03 16:15:57 +01:00
parent df7fba921f
commit aad53d5072
5 changed files with 33 additions and 0 deletions

17
flake.lock generated
View File

@ -476,6 +476,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-0dc1c7": {
"locked": {
"lastModified": 1725718979,
"narHash": "sha256-TNj62uDY5ilnYu0Jne8/IIunfh1kf6kDPY9KdS+Eotw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0dc1c7294c13f5d1dd6eccab4f75d268d7296efe",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0dc1c7294c13f5d1dd6eccab4f75d268d7296efe",
"type": "github"
}
},
"nixpkgs-regression": { "nixpkgs-regression": {
"locked": { "locked": {
"lastModified": 1643052045, "lastModified": 1643052045,
@ -589,6 +605,7 @@
"nixos-exporter": "nixos-exporter", "nixos-exporter": "nixos-exporter",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-0dc1c7": "nixpkgs-0dc1c7",
"nurausstieg": "nurausstieg", "nurausstieg": "nurausstieg",
"scan-to-gpg": "scan-to-gpg", "scan-to-gpg": "scan-to-gpg",
"solid-xmpp-alarm": "solid-xmpp-alarm", "solid-xmpp-alarm": "solid-xmpp-alarm",

View File

@ -1,6 +1,8 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# for etesync-dav
nixpkgs-0dc1c7.url = "github:NixOS/nixpkgs/0dc1c7294c13f5d1dd6eccab4f75d268d7296efe";
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
berlinerbaeder-exporter = { berlinerbaeder-exporter = {
url = "git+https://git.clerie.de/clerie/berlinerbaeder-exporter.git"; url = "git+https://git.clerie.de/clerie/berlinerbaeder-exporter.git";

View File

@ -1,4 +1,5 @@
{ self { self
, nixpkgs-0dc1c7
, berlinerbaeder-exporter , berlinerbaeder-exporter
, bij , bij
, chaosevents , chaosevents
@ -10,6 +11,8 @@
, ... , ...
}@inputs: }@inputs:
final: prev: { final: prev: {
inherit (nixpkgs-0dc1c7.legacyPackages.${final.system})
etesync-dav;
inherit (berlinerbaeder-exporter.packages.${final.system}) inherit (berlinerbaeder-exporter.packages.${final.system})
berlinerbaeder-exporter; berlinerbaeder-exporter;
inherit (bij.packages.${final.system}) inherit (bij.packages.${final.system})

View File

@ -9,6 +9,7 @@
./android.nix ./android.nix
./backup.nix ./backup.nix
./etesync-dav.nix
#./initrd.nix #./initrd.nix
./network.nix ./network.nix
./programs.nix ./programs.nix

View File

@ -0,0 +1,10 @@
{ ... }:
{
services.etesync-dav = {
enable = true;
apiUrl = "https://etebase.clerie.de";
};
}