Files
nixos-config/hosts/nixos/tahani/default.nix
Christoph Schmatzler d40786e77f up
2025-08-11 14:07:51 +02:00

45 lines
717 B
Nix

{
pkgs,
hostname,
...
}: {
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;
};
fileSystems."/" = {
device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
};
networking = {
hostName = hostname;
useDHCP = true;
};
}