c3h-nixfiles/hosts/nuc/hardware-configuration.nix

36 lines
984 B
Nix
Raw Normal View History

2021-08-21 16:47:21 +00:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2021-10-22 18:47:02 +00:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
2021-08-21 16:47:21 +00:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2021-10-22 18:47:02 +00:00
{ device = "/dev/disk/by-uuid/b7fc2bb6-d14d-4fbc-be7d-f81e2e30cf64";
2021-08-21 16:47:21 +00:00
fsType = "xfs";
};
fileSystems."/boot" =
2021-10-22 18:47:02 +00:00
{ device = "/dev/disk/by-uuid/5700-EDB1";
2021-08-21 16:47:21 +00:00
fsType = "vfat";
};
2021-10-24 18:55:12 +00:00
fileSystems."/mnt/hdd" =
2021-08-21 16:47:21 +00:00
{ device = "/dev/disk/by-uuid/ff18a6f9-ee3b-452c-8671-38b74508a74c";
fsType = "btrfs";
};
swapDevices = [ ];
2021-10-22 18:47:02 +00:00
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
2021-08-21 16:47:21 +00:00
}