http1 traefik

This commit is contained in:
mjallen18
2026-02-04 22:05:56 -06:00
parent ce4047b62f
commit eac9c4b67d
7 changed files with 67 additions and 46 deletions

37
flake.lock generated
View File

@@ -841,21 +841,6 @@
"type": "github"
}
},
"nixlib_2": {
"locked": {
"lastModified": 1736643958,
"narHash": "sha256-tmpqTSWVRJVhpvfSN9KXBvKEXplrwKnSZNAoNPf/S/s=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "1418bc28a52126761c02dd3d89b2d8ca0f521181",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixos-apple-silicon": {
"inputs": {
"flake-compat": "flake-compat_4",
@@ -897,27 +882,6 @@
"type": "github"
}
},
"nixos-generators_2": {
"inputs": {
"nixlib": "nixlib_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1769813415,
"narHash": "sha256-nnVmNNKBi1YiBNPhKclNYDORoHkuKipoz7EtVnXO50A=",
"owner": "nix-community",
"repo": "nixos-generators",
"rev": "8946737ff703382fda7623b9fab071d037e897d5",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixos-generators",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1769302137,
@@ -1346,7 +1310,6 @@
"nix-vscode-extensions": "nix-vscode-extensions",
"nixai": "nixai",
"nixos-apple-silicon": "nixos-apple-silicon",
"nixos-generators": "nixos-generators_2",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_11",
"nixpkgs-otbr": "nixpkgs-otbr",

View File

@@ -25,10 +25,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
# nixos-generators = {
# url = "github:nix-community/nixos-generators";
# inputs.nixpkgs.follows = "nixpkgs";
# };
impermanence.url = "github:nix-community/impermanence";

View File

@@ -0,0 +1,18 @@
{
lib,
namespace,
...
}:
let
inherit (lib.${namespace}) disabled;
in
{
home.username = "root";
services = {
nextcloud-client = lib.mkForce disabled;
kdeconnect = {
enable = false;
indicator = false;
};
};
}

View File

@@ -0,0 +1,18 @@
{
lib,
namespace,
...
}:
let
inherit (lib.${namespace}) disabled;
in
{
home.username = "root";
services = {
nextcloud-client = lib.mkForce disabled;
kdeconnect = {
enable = false;
indicator = false;
};
};
}

View File

@@ -202,6 +202,16 @@ in
dynamicConfigOptions = {
http = {
serversTransports = {
internal-https = {
insecureSkipVerify = true;
};
http1 = {
serverName = "localhost";
disableHTTP2 = true;
};
};
middlewares = {
authentik = {
forwardAuth = {
@@ -282,6 +292,7 @@ in
url = cacheUrl;
}
];
serversTransport = "http1";
};
hass.loadBalancer.servers = [
{

View File

@@ -40,7 +40,7 @@
# ###################################################
network = {
hostName = "nuc-nixos";
hostName = "nixos";
firewall = {
enable = true;
allowPing = true;
@@ -62,11 +62,13 @@
# ###################################################
user = {
name = "admin";
name = "nixos";
linger = true;
};
};
home-manager.users.nixos.snowfallorg.user.name = "nixos";
# ###################################################
# # Boot # #
# ###################################################

View File

@@ -34,7 +34,7 @@
# ###################################################
network = {
hostName = "nuc-nixos";
hostName = "nixos";
firewall = {
enable = true;
allowPing = true;
@@ -56,17 +56,26 @@
# ###################################################
user = {
name = "admin";
name = "nixos";
linger = true;
};
};
specialisation.graphical.configuation = {
# ###################################################
# # Desktop # #
# ###################################################
${namespace}.desktop.cosmic.enable = true;
};
# home-manager.users.nixos.snowfallorg.user.name = "nixos";
# ###################################################
# # Boot # #
# ###################################################
boot = {
kernelPackages = lib.mkForce pkgs.${namespace}.linuxPackages_cachyos-server-lto-znver4;
kernelPackages = lib.mkForce pkgs.${namespace}.linuxPackages_cachyos-server-lto;
supportedFilesystems.zfs = false;
};