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 = [
|
||||
"basher"
|
||||
"clean-vscode-icons"
|
||||
"caddyfile"
|
||||
"clojure"
|
||||
"dockerfile"
|
||||
"earthfile"
|
||||
|
|
@ -44,12 +45,23 @@
|
|||
}
|
||||
];
|
||||
languages = {
|
||||
Caddyfile = {
|
||||
tab_size = 2;
|
||||
formatter.external = {
|
||||
command = "${pkgs.caddy}/bin/caddy";
|
||||
arguments = [ "fmt" "-c" "-" ];
|
||||
};
|
||||
};
|
||||
Julia = { formatter = { external = { command = "jlfmt"; }; }; };
|
||||
LaTeX = {
|
||||
formatter = {
|
||||
external = {
|
||||
command = "tex-fmt";
|
||||
arguments = [ "--stdin" ];
|
||||
command = let
|
||||
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'';
|
||||
};
|
||||
texlab = {
|
||||
settings = {
|
||||
settings.texlab = {
|
||||
build = {
|
||||
onSave = false;
|
||||
onSave = true;
|
||||
forwardSearchAfter = true;
|
||||
};
|
||||
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";
|
||||
SIGNUPS_ALLOWED = "false";
|
||||
SMTP_FROM_NAME = "Milliron X Vault";
|
||||
SMTP_SECURITY = "force_tls";
|
||||
SSO_ENABLED = "true";
|
||||
SSO_ONLY = "true";
|
||||
SSO_AUTHORITY =
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
./../../services/navidrome.nix
|
||||
./../../services/openssh.nix
|
||||
./../../services/searxng.nix
|
||||
./../../services/tailscale.nix
|
||||
./../../services/vaultwarden.nix
|
||||
];
|
||||
|
||||
|
|
@ -69,8 +70,6 @@
|
|||
};
|
||||
|
||||
services = {
|
||||
tailscale.enable = true;
|
||||
|
||||
# Do not "enable" database services, but include the package configuration
|
||||
# so that borgmatic does not freak out about unset variables
|
||||
postgresql.package = pkgs.postgresql_17;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue