55 lines
1.2 KiB
Nix
55 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,
|
||
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";
|
||
};
|
||
|
||
fileSystems."/home/zo/Downloads/from-firefox" = {
|
||
device = "none";
|
||
fsType = "tmpfs";
|
||
options = [
|
||
"size=1G"
|
||
"mode=600"
|
||
"noexec"
|
||
];
|
||
};
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|