nixfiles/config/hosts/integra/configuration.nix

31 lines
579 B
Nix
Raw Normal View History

2024-04-29 15:22:48 +02:00
{ config, lib, pkgs, ... }: {
imports = [
../../common
../../profiles/builder.nix
../../profiles/headless.nix
2024-04-30 21:55:41 +02:00
../../services/forgejo.nix
2024-04-29 15:22:48 +02:00
./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";
};
};
}