44 lines
1.2 KiB
Nix
44 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,
|
||
...
|
||
}: {
|
||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci"];
|
||
boot.kernelModules = ["kvm-intel"];
|
||
|
||
fileSystems."/" = {
|
||
device = "tmpfs";
|
||
fsType = "tmpfs";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/C617-5CCC";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
fileSystems."/disk" = {
|
||
device = "/dev/disk/by-uuid/9acbc122-e818-49fa-bc2e-de7d9f822d5a";
|
||
fsType = "btrfs";
|
||
};
|
||
|
||
fileSystems."/backup" = {
|
||
device = "/dev/disk/by-uuid/41840034-81fe-4955-828d-8d3d4a7306f7";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
boot.initrd.luks.devices."crypted-nixos".device = "/dev/disk/by-uuid/020fde09-f651-45a2-9c6a-9b060edf967d";
|
||
|
||
fileSystems."/nix" = {
|
||
device = "/dev/disk/by-uuid/9acbc122-e818-49fa-bc2e-de7d9f822d5a";
|
||
fsType = "btrfs";
|
||
options = ["subvol=nix"];
|
||
};
|
||
|
||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
}
|