Files
nixos-config/hosts/nixos/tahani/default.nix
Christoph Schmatzler 9a797194d8 up
2025-08-11 12:38:20 +02:00

42 lines
647 B
Nix

{
config,
inputs,
pkgs,
agenix,
hostname,
user,
...
}: {
imports = [
../../../profiles/base
../../../profiles/nixos
];
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 42;
};
efi.canTouchEfiVariables = true;
};
initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
kernelPackages = pkgs.linuxPackages_latest;
};
networking = {
hostName = hostname;
useDHCP = false;
interfaces."%INTERFACE%".useDHCP = true;
};
system.stateVersion = "21.05";
}