added radicale
This commit is contained in:
parent
e362c39a63
commit
79022428c3
3 changed files with 30 additions and 8 deletions
|
@ -7,14 +7,14 @@
|
||||||
https://git.huwe.mooo.com {
|
https://git.huwe.mooo.com {
|
||||||
reverse_proxy localhost:3000
|
reverse_proxy localhost:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
https://files.huwe.mooo.com {
|
||||||
|
reverse_proxy localhost:444
|
||||||
|
}
|
||||||
|
|
||||||
|
https://cal.huwe.mooo.com {
|
||||||
|
reverse_proxy localhost:5232
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
#https://files.huwe.mooo.com {
|
|
||||||
# reverse_proxy localhost:444
|
|
||||||
#}
|
|
||||||
|
|
||||||
#https://cal.huwe.mooo.com {
|
|
||||||
# reverse_proxy localhost:5232
|
|
||||||
#}
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
./firewall.nix
|
./firewall.nix
|
||||||
./gitea.nix
|
./gitea.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./radicale.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
21
hosts/Anton/radicale.nix
Normal file
21
hosts/Anton/radicale.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
services.radicale = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
hosts = [ "0.0.0.0:5232" "[::]:5232" ];
|
||||||
|
};
|
||||||
|
auth = {
|
||||||
|
type = "htpasswd";
|
||||||
|
htpasswd_filename = "/etc/radicale/users";
|
||||||
|
htpasswd_encryption = "bcrypt";
|
||||||
|
};
|
||||||
|
storage = {
|
||||||
|
filesystem_folder = "/mnt/data/services/radicale/collections";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue