Compare commits
5 commits
16ebf17d51
...
d5e599c7c0
| Author | SHA1 | Date | |
|---|---|---|---|
| d5e599c7c0 | |||
| 0563fb8a7e | |||
| ff37fb108e | |||
| d503f858aa | |||
| 27611901d6 |
4 changed files with 24 additions and 6 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
extensions = [
|
extensions = [
|
||||||
"basher"
|
"basher"
|
||||||
"clean-vscode-icons"
|
"clean-vscode-icons"
|
||||||
|
"caddyfile"
|
||||||
"clojure"
|
"clojure"
|
||||||
"dockerfile"
|
"dockerfile"
|
||||||
"earthfile"
|
"earthfile"
|
||||||
|
|
@ -44,12 +45,23 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
languages = {
|
languages = {
|
||||||
|
Caddyfile = {
|
||||||
|
tab_size = 2;
|
||||||
|
formatter.external = {
|
||||||
|
command = "${pkgs.caddy}/bin/caddy";
|
||||||
|
arguments = [ "fmt" "-c" "-" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
Julia = { formatter = { external = { command = "jlfmt"; }; }; };
|
Julia = { formatter = { external = { command = "jlfmt"; }; }; };
|
||||||
LaTeX = {
|
LaTeX = {
|
||||||
formatter = {
|
formatter = {
|
||||||
external = {
|
external = {
|
||||||
command = "tex-fmt";
|
command = let
|
||||||
arguments = [ "--stdin" ];
|
latexindent = (pkgs.texlive.combine {
|
||||||
|
inherit (pkgs.texlive) scheme-minimal latexindent;
|
||||||
|
});
|
||||||
|
in "${latexindent}/bin/latexindent";
|
||||||
|
arguments = [ "-m" "-tt" "-l" "-" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -64,9 +76,9 @@
|
||||||
(builtins.getFlake (builtins.toString ~/.config/home-manager)).homeConfigurations."millironx@${hostname}".options'';
|
(builtins.getFlake (builtins.toString ~/.config/home-manager)).homeConfigurations."millironx@${hostname}".options'';
|
||||||
};
|
};
|
||||||
texlab = {
|
texlab = {
|
||||||
settings = {
|
settings.texlab = {
|
||||||
build = {
|
build = {
|
||||||
onSave = false;
|
onSave = true;
|
||||||
forwardSearchAfter = true;
|
forwardSearchAfter = true;
|
||||||
};
|
};
|
||||||
forwardSearch = if pkgs.stdenv.hostPlatform.isDarwin then {
|
forwardSearch = if pkgs.stdenv.hostPlatform.isDarwin then {
|
||||||
|
|
|
||||||
6
services/tailscale.nix
Normal file
6
services/tailscale.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ ... }: {
|
||||||
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
useRoutingFeatures = "server";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -130,6 +130,7 @@ in {
|
||||||
PUSH_ENABLED = "true";
|
PUSH_ENABLED = "true";
|
||||||
SIGNUPS_ALLOWED = "false";
|
SIGNUPS_ALLOWED = "false";
|
||||||
SMTP_FROM_NAME = "Milliron X Vault";
|
SMTP_FROM_NAME = "Milliron X Vault";
|
||||||
|
SMTP_SECURITY = "force_tls";
|
||||||
SSO_ENABLED = "true";
|
SSO_ENABLED = "true";
|
||||||
SSO_ONLY = "true";
|
SSO_ONLY = "true";
|
||||||
SSO_AUTHORITY =
|
SSO_AUTHORITY =
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
./../../services/navidrome.nix
|
./../../services/navidrome.nix
|
||||||
./../../services/openssh.nix
|
./../../services/openssh.nix
|
||||||
./../../services/searxng.nix
|
./../../services/searxng.nix
|
||||||
|
./../../services/tailscale.nix
|
||||||
./../../services/vaultwarden.nix
|
./../../services/vaultwarden.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -69,8 +70,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
tailscale.enable = true;
|
|
||||||
|
|
||||||
# Do not "enable" database services, but include the package configuration
|
# Do not "enable" database services, but include the package configuration
|
||||||
# so that borgmatic does not freak out about unset variables
|
# so that borgmatic does not freak out about unset variables
|
||||||
postgresql.package = pkgs.postgresql_17;
|
postgresql.package = pkgs.postgresql_17;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue