Files
nixos-config/hosts/nixos/tahani/default.nix
2025-08-11 12:54:27 +00:00

50 lines
821 B
Nix

{
pkgs,
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;
};
fileSystems."/" = {
device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
};
networking = {
hostName = hostname;
useDHCP = true;
};
home-manager.users.${user} = {
programs.git.userEmail = "christoph@schmatzler.com";
};
}