pvv-nixos-config/hosts/bekkalokk/configuration.nix

42 lines
1.1 KiB
Nix
Raw Normal View History

{ pkgs, values, ... }:
{
imports = [
./hardware-configuration.nix
../../base.nix
2023-05-21 04:03:14 +02:00
../../misc/metrics-exporters.nix
#./services/keycloak.nix
2023-05-07 00:34:42 +02:00
# TODO: set up authentication for the following:
2024-04-06 16:04:50 +02:00
./services/website
./services/nginx
./services/gitea/default.nix
2024-03-29 01:39:59 +01:00
./services/kerberos
./services/webmail
./services/mediawiki
2024-03-29 01:59:46 +01:00
./services/idp-simplesamlphp
];
sops.defaultSopsFile = ../../secrets/bekkalokk/bekkalokk.yaml;
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
sops.age.generateKey = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2023-09-16 22:38:15 +02:00
virtualisation.podman.enable = true;
networking.hostName = "bekkalokk";
systemd.network.networks."30-enp2s0" = values.defaultNetworkConfig // {
matchConfig.Name = "enp2s0";
2023-03-04 00:57:28 +01:00
address = with values.hosts.bekkalokk; [ (ipv4 + "/25") (ipv6 + "/64") ];
};
# Do not change, even during upgrades.
# See https://search.nixos.org/options?show=system.stateVersion
system.stateVersion = "22.11";
}