mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 04:07:28 +01:00
defiant: Update to NixOS 24.11
This commit is contained in:
parent
b4b74227c3
commit
1b0b37c13c
@ -5,7 +5,6 @@
|
||||
boot = {
|
||||
zfs.extraPools = [ "tank" ];
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
};
|
||||
services.prometheus.exporters.zfs.enable = true;
|
||||
|
||||
|
@ -16,17 +16,17 @@ in {
|
||||
|
||||
settings = {
|
||||
cache = "local";
|
||||
hostname = "iam.feal.no";
|
||||
hostname-strict-backchannel = true;
|
||||
http-enable = true;
|
||||
hostname = "https://iam.feal.no";
|
||||
hostname-backchannel-dynamic = false;
|
||||
http-enabled = true;
|
||||
http-host = "127.0.1.2";
|
||||
http-port = 5060;
|
||||
proxy = "edge";
|
||||
proxy-headers = "xforwarded";
|
||||
};
|
||||
};
|
||||
|
||||
# The main reverse proxy is defined in ./nginx.nix
|
||||
services.nginx.virtualHosts.${cfg.hostname} = {
|
||||
locations."= /".return = "302 https://${cfg.hostname}/realms/feal.no/account";
|
||||
locations."= /".return = "302 ${cfg.hostname}/realms/feal.no/account";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user