41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
|
# 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")
|
|||
|
];
|
|||
|
|
|||
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|||
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|||
|
boot.kernelModules = [ "kvm-intel" ];
|
|||
|
boot.extraModulePackages = [ ];
|
|||
|
|
|||
|
fileSystems."/" =
|
|||
|
{ device = "/dev/mapper/rainbowdash-root";
|
|||
|
fsType = "btrfs";
|
|||
|
options = [ "subvol=root" ];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/home" =
|
|||
|
{ device = "/dev/mapper/rainbowdash-root";
|
|||
|
fsType = "btrfs";
|
|||
|
options = [ "subvol=home" ];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/boot" =
|
|||
|
{ device = "/dev/disk/by-uuid/642D-02DF";
|
|||
|
fsType = "vfat";
|
|||
|
};
|
|||
|
|
|||
|
swapDevices =
|
|||
|
[ { device = "/dev/disk/by-uuid/289be8e5-6547-41d4-a6ba-309141f9fccd"; }
|
|||
|
];
|
|||
|
|
|||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|||
|
# High-DPI console
|
|||
|
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
|
|||
|
}
|