1
0
Fork 0
forked from emily/nixfiles
This commit is contained in:
emily 2024-05-06 20:42:50 +02:00
parent 49dfd40215
commit 7ac599ce91
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995
5 changed files with 13 additions and 8 deletions

View file

@ -52,7 +52,6 @@
programs.eza = { programs.eza = {
enable = true; enable = true;
enableAliases = true;
icons = true; icons = true;
git = true; git = true;
extraOptions = [ extraOptions = [

View file

@ -47,8 +47,8 @@ let
jellyAddr = "[::1]"; jellyAddr = "[::1]";
jellyWeb = { jellyWeb = {
forceSSL = true; forceSSL = true;
http3 = true; #http3 = true;
quic = true; #quic = true;
inherit extraConfig; inherit extraConfig;
locations = { locations = {

View file

@ -4,6 +4,7 @@
../../profiles/builder.nix ../../profiles/builder.nix
../../profiles/headless.nix ../../profiles/headless.nix
../../services/forgejo.nix ../../services/forgejo.nix
../../services/nginx.nix
./hardware-configuration.nix ./hardware-configuration.nix
./disko.nix ./disko.nix
]; ];

View file

@ -2,8 +2,9 @@
imports = [ imports = [
../../common ../../common
../../profiles/headless.nix ../../profiles/headless.nix
../../profiles/lxc.nix
]; ];
kyouma.machine-type.physical = true; kyouma.machine-type.physical = false;
systemd.network.networks."98-eth-static" = { systemd.network.networks."98-eth-static" = {
matchConfig.Type = "ether"; matchConfig.Type = "ether";
@ -19,8 +20,8 @@
"185.244.193.190/22" "185.244.193.190/22"
]; ];
routes = [ routes = [
{ routerConfig.Gateway = "fe80::1"; } { routeConfig.Gateway = "fe80::1"; }
{ routerConfig.Gateway = "185.244.192.1"; } { routeConfig.Gateway = "185.244.192.1"; }
]; ];
}; };
services.powerdns = { services.powerdns = {

View file

@ -14,7 +14,7 @@
ctermbg = "NONE"; ctermbg = "NONE";
bg = "NONE"; bg = "NONE";
}; };
options = { opts = {
number = true; number = true;
expandtab = true; expandtab = true;
autoindent = true; autoindent = true;
@ -172,7 +172,11 @@
}; };
}; };
ruff-lsp.enable = true; ruff-lsp.enable = true;
rust-analyzer.enable = true; rust-analyzer = {
enable = true;
installRustc = true;
installCargo = true;
};
}; };
}; };
plugins.none-ls = { plugins.none-ls = {