small changes

This commit is contained in:
Henri Dohmen 2025-07-20 00:41:35 +02:00
parent 5fda6f7a5c
commit e3ff343c68
Signed by: hd
GPG key ID: AB79213B044674AE
4 changed files with 17 additions and 12 deletions

View file

@ -53,7 +53,6 @@ in
ocamllabs.ocaml-platform ocamllabs.ocaml-platform
# ms-vscode-remote.remote-ssh # ms-vscode-remote.remote-ssh
]; ];
};
userSettings = { userSettings = {
"editor.rulers" = [ 80 ]; "editor.rulers" = [ 80 ];
"editor.formatOnPaste" = false; "editor.formatOnPaste" = false;
@ -66,4 +65,5 @@ in
}; };
}; };
}; };
};
} }

View file

@ -7,6 +7,7 @@
{ {
services.mysql.package = pkgs.mariadb; services.mysql.package = pkgs.mariadb;
# TODO: containerize
age.secrets.roam-firefox-sync-secret = { age.secrets.roam-firefox-sync-secret = {
file = secrets.roam."firefox-sync-secret.age"; file = secrets.roam."firefox-sync-secret.age";
mode = "440"; mode = "440";

View file

@ -5,6 +5,12 @@
{ {
services = { services = {
nginx = { nginx = {
recommendedTlsSettings = true;
recommendedProxySettings = true;
recommendedGzipSettings = true;
recommendedZstdSettings = true;
recommendedOptimisation = true;
enable = true; enable = true;
virtualHosts.default = { virtualHosts.default = {
serverName = "_"; serverName = "_";

View file

@ -4,9 +4,7 @@ let
name = "${name}.lan"; name = "${name}.lan";
inherit value; inherit value;
}) var.wg.ips; }) var.wg.ips;
custom-hosts = { custom-hosts = { };
"fx-sync.lan" = var.wg.ips.roam;
};
in in
rec { rec {
hostsFile = lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: "${v}\t${n}") hosts); hostsFile = lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: "${v}\t${n}") hosts);