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