2023-06-14 17:28:00 +02:00
|
|
|
{ config, pkgs, agenix, ... }:
|
2023-03-31 18:27:25 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2023-04-18 18:27:08 +02:00
|
|
|
../common/main.nix
|
2023-03-31 18:27:25 +02:00
|
|
|
|
|
|
|
./gitlab-runner.nix
|
2023-04-05 17:00:01 +02:00
|
|
|
./monitoring.nix
|
2023-04-06 13:57:32 +02:00
|
|
|
./nfs.nix
|
2023-04-27 16:27:04 +02:00
|
|
|
./slurm-daemon.nix
|
2023-08-22 15:57:49 +02:00
|
|
|
./ceph.nix
|
2023-08-25 12:03:30 +02:00
|
|
|
./pxe.nix
|
2023-06-14 17:28:00 +02:00
|
|
|
agenix.nixosModules.default
|
2023-03-31 18:27:25 +02:00
|
|
|
];
|
|
|
|
|
2023-08-23 17:42:50 +02:00
|
|
|
environment.systemPackages = [
|
|
|
|
agenix.packages.x86_64-linux.default
|
|
|
|
];
|
|
|
|
|
2023-04-18 18:28:37 +02:00
|
|
|
# Select the this using the ID to avoid mismatches
|
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSC2BB240G7_PHDV6462004Y240AGN";
|
|
|
|
|
2023-04-18 18:49:54 +02:00
|
|
|
networking = {
|
2023-06-14 11:15:00 +02:00
|
|
|
hostName = "hut";
|
2023-04-18 18:49:54 +02:00
|
|
|
interfaces.eno1.ipv4.addresses = [ {
|
|
|
|
address = "10.0.40.7";
|
|
|
|
prefixLength = 24;
|
|
|
|
} ];
|
|
|
|
interfaces.ibp5s0.ipv4.addresses = [ {
|
|
|
|
address = "10.0.42.7";
|
|
|
|
prefixLength = 24;
|
|
|
|
} ];
|
|
|
|
};
|
2023-03-31 18:27:25 +02:00
|
|
|
}
|