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