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,15 +53,15 @@ in
ocamllabs.ocaml-platform
# ms-vscode-remote.remote-ssh
];
};
userSettings = {
"editor.rulers" = [ 80 ];
"editor.formatOnPaste" = false;
"editor.formatOnSave" = false;
"editor.formatOnType" = false;
# https://github.com/nix-community/nix-vscode-extensions/issues/123
"ltex.ltex-ls.path" = "${pkgs.ltex-ls-plus}";
"direnv.path.executable" = "${pkgs.direnv}/bin/direnv";
userSettings = {
"editor.rulers" = [ 80 ];
"editor.formatOnPaste" = false;
"editor.formatOnSave" = false;
"editor.formatOnType" = false;
# https://github.com/nix-community/nix-vscode-extensions/issues/123
"ltex.ltex-ls.path" = "${pkgs.ltex-ls-plus}";
"direnv.path.executable" = "${pkgs.direnv}/bin/direnv";
};
};
};
};

View file

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

View file

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

View file

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