2023-01-29 01:51:35 +01:00
|
|
|
{ pkgs, values, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
2024-08-31 22:23:09 +02:00
|
|
|
../../base
|
2023-05-21 04:03:14 +02:00
|
|
|
../../misc/metrics-exporters.nix
|
2023-01-29 01:51:35 +01:00
|
|
|
|
2024-09-01 04:12:18 +02:00
|
|
|
./services/bluemap/default.nix
|
2023-06-04 01:59:35 +02:00
|
|
|
./services/gitea/default.nix
|
2024-05-26 04:03:55 +02:00
|
|
|
./services/idp-simplesamlphp
|
2024-03-29 01:39:59 +01:00
|
|
|
./services/kerberos
|
2023-11-04 23:16:15 +01:00
|
|
|
./services/mediawiki
|
2024-05-26 04:03:55 +02:00
|
|
|
./services/nginx.nix
|
2024-08-22 22:58:48 +02:00
|
|
|
./services/phpfpm.nix
|
2024-05-26 04:03:55 +02:00
|
|
|
./services/vaultwarden.nix
|
|
|
|
./services/webmail
|
|
|
|
./services/website
|
2024-09-14 20:51:13 +02:00
|
|
|
./services/well-known
|
2023-01-29 01:51:35 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
networking.hostName = "bekkalokk";
|
|
|
|
|
2023-05-21 00:06:25 +02:00
|
|
|
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") ];
|
2023-01-29 01:51:35 +01:00
|
|
|
};
|
|
|
|
|
2024-09-01 01:04:28 +02:00
|
|
|
services.btrfs.autoScrub.enable = true;
|
|
|
|
|
2023-01-29 01:51:35 +01:00
|
|
|
# Do not change, even during upgrades.
|
|
|
|
# See https://search.nixos.org/options?show=system.stateVersion
|
|
|
|
system.stateVersion = "22.11";
|
|
|
|
}
|