46 lines
1.4 KiB
Nix
46 lines
1.4 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" ];
|
|||
|
|
boot.initrd.kernelModules = [ ];
|
|||
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|||
|
|
boot.extraModulePackages = [ ];
|
|||
|
|
|
|||
|
|
fileSystems."/" =
|
|||
|
|
{ device = "/dev/mapper/luks-45dfbed5-ac16-4529-b851-2aa9a358e0b8";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
boot.initrd.luks.devices."luks-45dfbed5-ac16-4529-b851-2aa9a358e0b8".device = "/dev/disk/by-uuid/45dfbed5-ac16-4529-b851-2aa9a358e0b8";
|
|||
|
|
|
|||
|
|
fileSystems."/home" =
|
|||
|
|
{ device = "/dev/mapper/luks-45dfbed5-ac16-4529-b851-2aa9a358e0b8";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=home" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/nix" =
|
|||
|
|
{ device = "/dev/mapper/luks-45dfbed5-ac16-4529-b851-2aa9a358e0b8";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=nix" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/boot" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/9364-7648";
|
|||
|
|
fsType = "vfat";
|
|||
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
swapDevices = [ ];
|
|||
|
|
|
|||
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|||
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|||
|
|
}
|