mirror of
https://github.com/kmein/niveum
synced 2026-03-31 01:31:13 +02:00
Compare commits
3 Commits
4fcbe70f5e
...
85a6a92836
| Author | SHA1 | Date | |
|---|---|---|---|
| 85a6a92836 | |||
| a6232b1a5e | |||
| 63b8c7ff1e |
@@ -112,6 +112,10 @@ in {
|
||||
path = ${davHome}/calendar/personal
|
||||
color = "light cyan"
|
||||
|
||||
[[krebs]]
|
||||
path = ${davHome}/calendar/krebs
|
||||
color = "light red"
|
||||
|
||||
[[uni]]
|
||||
path = ${davHome}/calendar/uni-1
|
||||
color = "yellow"
|
||||
@@ -162,6 +166,12 @@ in {
|
||||
collections = ["personal", "alew", "uni-1"]
|
||||
conflict_resolution = "b wins"
|
||||
|
||||
[pair krebs]
|
||||
a = "kalender_local"
|
||||
b = "krebs_cloud"
|
||||
collections = ["3edef929-d509-7944-2440-000a54f2d054"]
|
||||
conflict_resolution = "b wins"
|
||||
|
||||
[pair fysi]
|
||||
a = "kalender_local"
|
||||
b = "fysi_cloud"
|
||||
@@ -190,6 +200,12 @@ in {
|
||||
username = "${kmeinCloud.username}"
|
||||
password.fetch = ["command", "cat", "${kmeinCloud.passwordFile}"]
|
||||
|
||||
[storage krebs_cloud]
|
||||
type = "caldav"
|
||||
url = "http://calendar.r/krebs/"
|
||||
username = "krebs"
|
||||
password = "krebs"
|
||||
|
||||
[storage fysi_cloud]
|
||||
type = "caldav"
|
||||
url = "${fysiCloud.davEndpoint}/calendars/${fysiCloud.username}/"
|
||||
|
||||
19
flake.nix
19
flake.nix
@@ -40,7 +40,24 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
apps = nixinate.nixinate.x86_64-linux self;
|
||||
apps =
|
||||
nixinate.nixinate.x86_64-linux self
|
||||
// {
|
||||
x86_64-linux.deploy = let
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
in {
|
||||
type = "app";
|
||||
program = toString (pkgs.writers.writeDash "deploy" ''
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
systems='${toString (builtins.attrNames self.nixosConfigurations)}'
|
||||
else
|
||||
systems=$*
|
||||
fi
|
||||
${pkgs.parallel}/bin/parallel --line-buffer --tagstring '{}' 'nix run .\?submodules=1\#apps.nixinate.{}' ::: $systems
|
||||
'');
|
||||
};
|
||||
};
|
||||
|
||||
nixosModules = {
|
||||
htgen = import modules/htgen.nix;
|
||||
|
||||
@@ -223,8 +223,7 @@ in {
|
||||
email_configs = let
|
||||
inherit (import ../../../lib) kieran;
|
||||
inherit (import ../../../lib/email.nix {inherit lib;}) cock;
|
||||
in [
|
||||
{
|
||||
cockConfig = {
|
||||
send_resolved = true;
|
||||
to = kieran.email;
|
||||
from = cock.user;
|
||||
@@ -232,7 +231,8 @@ in {
|
||||
auth_username = cock.user;
|
||||
auth_identity = cock.user;
|
||||
auth_password = "$EMAIL_PASSWORD";
|
||||
}
|
||||
};
|
||||
in [
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user