nixfiles/config/hosts/integra/configuration.nix
2024-05-06 20:42:50 +02:00

31 lines
608 B
Nix

{ config, lib, pkgs, ... }: {
imports = [
../../common
../../profiles/builder.nix
../../profiles/headless.nix
../../services/forgejo.nix
../../services/nginx.nix
./hardware-configuration.nix
./disko.nix
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
kyouma.machine-type.physical = true;
networking = {
hostName = "integra";
useDHCP = false;
};
systemd.network.networks."98-eth-default" = {
matchConfig.Type = "ether";
matchConfig.Name = "e*";
networkConfig = {
DHCP = "yes";
};
};
}