nixos-config/machines/loki/hardware-configuration.nix

41 lines
1.1 KiB
Nix
Raw Normal View History

2021-11-21 19:07:12 +01: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 =
2021-12-06 09:58:39 +01:00
[
(modulesPath + "/installer/scan/not-detected.nix")
2021-11-21 19:07:12 +01:00
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" "apple-mfi-fastcharge" ];
2021-11-21 19:07:12 +01:00
boot.extraModulePackages = [ ];
fileSystems."/" =
2021-12-06 09:58:39 +01:00
{
device = "/dev/disk/by-uuid/42065c7e-d0aa-4de8-a913-014cf59d48ac";
2021-11-21 19:07:12 +01:00
fsType = "ext4";
};
fileSystems."/boot" =
2021-12-06 09:58:39 +01:00
{
device = "/dev/disk/by-uuid/4064-A1BE";
2021-11-21 19:07:12 +01:00
fsType = "vfat";
};
fileSystems."/home" =
2021-12-06 09:58:39 +01:00
{
device = "/dev/disk/by-uuid/36d7ee19-f591-4c29-b7da-cafd9bf2c7f6";
2021-11-21 19:07:12 +01:00
fsType = "ext4";
};
swapDevices =
2021-12-06 09:58:39 +01:00
[{ device = "/dev/disk/by-uuid/d93788f7-1b94-4687-8313-055d17f42b7e"; }];
2021-11-21 19:07:12 +01:00
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
}