23 lines
483 B
Nix
23 lines
483 B
Nix
{ inputs, outputs, lib, config, pkgs, ... }: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./network.nix
|
|
../server
|
|
# ../server/searxng.nix
|
|
];
|
|
networking.hostName = "w1";
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules =
|
|
[ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
|
kernelModules = [ "nvme" ];
|
|
};
|
|
loader = {
|
|
grub = {
|
|
enable = true;
|
|
device = "/dev/sda";
|
|
efiSupport = false;
|
|
};
|
|
};
|
|
};
|
|
}
|