39 lines
1 KiB
Nix
39 lines
1 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.kernelParams = [ "i915.modeset=1" ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.blacklistedKernelModules = [ "nouveau" ];
|
||
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/mapper/safe";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=os/nix" ];
|
||
};
|
||
|
||
fileSystems."/mnt/games" = {
|
||
device = "/dev/mapper/safe";
|
||
fsType = "btrfs";
|
||
options = [ "ssd" "lazytime" "subvol=game" ];
|
||
};
|
||
|
||
fileSystems."/boot/efi" =
|
||
{
|
||
device = "/dev/disk/by-uuid/4FD7-458E";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|