fmt
This commit is contained in:
parent
51a7660478
commit
8cc05e8e40
6 changed files with 38 additions and 39 deletions
|
|
@ -20,4 +20,3 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
calendarAggregate = pkgs.writers.writePython3 "calendar-aggregate.py" { libraries = [ pkgs.python3Packages.icalendar ]; } ''
|
calendarAggregate =
|
||||||
|
pkgs.writers.writePython3 "calendar-aggregate.py"
|
||||||
|
{ libraries = [ pkgs.python3Packages.icalendar ]; }
|
||||||
|
''
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from icalendar import Calendar
|
from icalendar import Calendar
|
||||||
|
|
||||||
|
|
@ -93,4 +96,3 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,13 @@ let
|
||||||
|
|
||||||
${builtins.readFile ./caldav-export.py}
|
${builtins.readFile ./caldav-export.py}
|
||||||
'';
|
'';
|
||||||
pythonEnv = pkgs.python3.withPackages (ps: with ps; [
|
pythonEnv = pkgs.python3.withPackages (
|
||||||
|
ps: with ps; [
|
||||||
caldav
|
caldav
|
||||||
icalendar
|
icalendar
|
||||||
pyyaml
|
pyyaml
|
||||||
]);
|
]
|
||||||
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd = {
|
systemd = {
|
||||||
|
|
@ -34,4 +36,3 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -54,10 +54,7 @@ in
|
||||||
_sql
|
_sql
|
||||||
_monitoring
|
_monitoring
|
||||||
];
|
];
|
||||||
"postgres-forgejo.age".publicKeys =
|
"postgres-forgejo.age".publicKeys = xengi ++ shokinn ++ [ _sql ];
|
||||||
xengi
|
|
||||||
++ shokinn
|
|
||||||
++ [ _sql ];
|
|
||||||
"postgres-extkuma.age".publicKeys = xengi ++ [ _sql ];
|
"postgres-extkuma.age".publicKeys = xengi ++ [ _sql ];
|
||||||
"postgres-baikal.age".publicKeys = xengi ++ [
|
"postgres-baikal.age".publicKeys = xengi ++ [
|
||||||
_sql
|
_sql
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue