nixos-configs/machines/nixos-desktop/hardware-configuration.nix

34 lines
981 B
Nix
Raw Normal View History

2020-02-20 03:10:43 +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, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/4ea0fdb5-aabf-422c-af50-df48098a3609";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/933D-0D92";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/534957d8-8b79-44cf-98f5-dd2af917d7a0"; }
];
nix.maxJobs = lib.mkDefault 16;
# High-DPI console
i18n.consoleFont = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
}