2020-08-15 03:06:11 +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 =
|
2020-11-26 04:20:52 +00:00
|
|
|
|
[
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
2020-08-15 03:06:11 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2020-11-26 04:20:52 +00:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/mapper/rainbowdash-root";
|
2020-08-15 03:06:11 +00:00
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "subvol=root" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" =
|
2020-11-26 04:20:52 +00:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/mapper/rainbowdash-root";
|
2020-08-15 03:06:11 +00:00
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "subvol=home" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2020-11-26 04:20:52 +00:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/642D-02DF";
|
2020-08-15 03:06:11 +00:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2020-11-26 04:20:52 +00:00
|
|
|
|
[{ device = "/dev/disk/by-uuid/289be8e5-6547-41d4-a6ba-309141f9fccd"; }];
|
2020-08-15 03:06:11 +00:00
|
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
# High-DPI console
|
|
|
|
|
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
|
|
|
|
|
}
|