snowflake/hosts/kariru/hardware-configuration.nix

33 lines
727 B
Nix
Raw Normal View History

2023-05-17 10:13:01 -04:00
{
lib,
modulesPath,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/f5a0738c-d027-4ffb-82ec-9901ca6b310b";
fsType = "ext4";
};
2023-06-13 12:11:22 -04:00
2023-05-17 11:24:21 -04:00
fileSystems."/media" = {
2023-12-03 00:00:58 -05:00
device = "192.168.1.199:/mnt/Sutoreji/media";
2023-05-17 11:24:21 -04:00
fsType = "nfs";
};
2023-05-17 10:13:01 -04:00
swapDevices = [
{device = "/dev/disk/by-uuid/f28bad28-ae14-4aa7-85c5-47abe46bae56";}
];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}