46 lines
1.3 KiB
Nix
46 lines
1.3 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" "ahci" "sd_mod" "rtsx_pci_sdmmc" ];
|
|||
|
|
boot.initrd.kernelModules = [ ];
|
|||
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|||
|
|
boot.extraModulePackages = [ ];
|
|||
|
|
|
|||
|
|
fileSystems."/" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/3e36f50b-d5b9-4ed4-8b38-ebb5496e4648";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/nix" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/3e36f50b-d5b9-4ed4-8b38-ebb5496e4648";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=nix" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/home" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/3e36f50b-d5b9-4ed4-8b38-ebb5496e4648";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=home" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/boot" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/3919-89C3";
|
|||
|
|
fsType = "vfat";
|
|||
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
swapDevices =
|
|||
|
|
[ { device = "/dev/disk/by-uuid/a6254343-a647-49cc-ac56-ad95050138fb"; }
|
|||
|
|
];
|
|||
|
|
|
|||
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|||
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|||
|
|
}
|