summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix45
1 files changed, 1 insertions, 44 deletions
diff --git a/configuration.nix b/configuration.nix
index 817cb82..6dd034e 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -52,7 +52,7 @@
enable = true;
backupDir = "/var/local/vaultwarden/backup";
config = {
- DOMAIN = "https://www.altahamec.dev/vault";
+ DOMAIN = "https://www.botahamec.dev/vault";
SIGNUPS_ALLOWED = false;
ROCKET_ADDRESS = "127.0.0.1";
@@ -84,17 +84,6 @@
};
};
- services.radicale = {
- enable = true;
- settings = {
- server.hosts = [ "0.0.0.0:5232" ];
- auth = {
- type = "htpasswd";
- htpasswd_filename = config.sops.secrets."radicaleAuth".path;
- };
- };
- };
-
programs.git = {
enable = true;
config.init.defaultBranch = "main";
@@ -212,35 +201,6 @@
proxy_busy_buffers_size 24k;
'';
};
- locations."/dav/" = {
- proxyPass = "http://127.0.0.1:5232";
- extraConfig = ''
- proxy_set_header X-Script-Name /dav;
- proxy_pass_header Authorization;
- '';
- };
- # locations."/cgit\." = {
- # root = "${pkgs.cgit}/cgit/";
- # };
- # locations."~ ^(/cgit/.*/(INFO/refs|HEAD|objects/info/.*|git-(upload|receive)-pack))$" = {
- # extraConfig = ''
- # include ${pkgs.nginx}/conf/fastcgi_params;
- # fastcgi_param SCRIPT_FILENAME ${pkgs.git}/libexec/git-core/git-http-backend;
- # fastcgi_param GIT_PROJECT_ROOT /srv/git;
- # fastcgi_param GIT_HTTP_EXPORT_ALL "";
- # fastcgi_pass unix:/run/fcgiwrap.sock;
- # '';
- # };
- # locations."@cgit" = {
- # extraConfig = ''
- # include fastcgi_params;
- # fastcgi_param SCRIPT_FILENAME ${pkgs.git}/libexec/git-core/git-http-backend;
- # fastcgi_param PATH_INFO $uri;
- # fastcgi_param QUERY_STRING $args;
- # fastcgi_param HTTP_HOST $server_name;
- # fastcgi_pass unix:/run/fcgiwrap.socket;
- # '';
- # };
locations."/" = {
root = "/var/www/botahamec.dev";
index = "index.html";
@@ -292,9 +252,6 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID6jrOMQYc96U7x3dV53g/OBjzOH5CPSX9YJ1EBUMMRM botahamec@Hydrogen3.1"
];
};
- radicale = {
- extraGroups = [ "syncthing" ];
- };
};
boot.tmp.cleanOnBoot = true;