add basic radicale config
This commit is contained in:
parent
c3253a88e6
commit
edc0ae4062
2 changed files with 21 additions and 0 deletions
|
@ -3,6 +3,9 @@ let
|
||||||
mac = "02:00:00:00:00:02";
|
mac = "02:00:00:00:00:02";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./radicale.nix
|
||||||
|
];
|
||||||
sops.defaultSopsFile = ./secrets.yaml;
|
sops.defaultSopsFile = ./secrets.yaml;
|
||||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
||||||
|
|
18
hosts/radicale/radicale.nix
Normal file
18
hosts/radicale/radicale.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.radicale = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
hosts = [ "0.0.0.0:5232" "[::]:5232" ];
|
||||||
|
ssl = "False";
|
||||||
|
};
|
||||||
|
auth = {
|
||||||
|
type = "http_x_remote_user";
|
||||||
|
};
|
||||||
|
rights = {
|
||||||
|
type = "owner_only";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue