43 lines
1.1 KiB
Nix
43 lines
1.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 + "/profiles/qemu-guest.nix")
|
||
];
|
||
|
||
efi.enable = true;
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" ];
|
||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||
boot.kernelModules = [ ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
boot.initrd.luks.devices."enc-pv" = {
|
||
device = "/dev/disk/by-uuid/2abaf721-6265-4e37-b369-e44eac54d047";
|
||
allowDiscards = true;
|
||
};
|
||
|
||
fileSystems."/" =
|
||
{
|
||
device = "/dev/disk/by-uuid/91bbdebb-9a2b-4a75-acaa-c1cfd013a667";
|
||
fsType = "btrfs";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{
|
||
device = "/dev/disk/by-uuid/EC6B-53AA";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices =
|
||
[{ device = "/dev/disk/by-uuid/1301147e-fc45-4c76-b102-d43385ccfae2"; }];
|
||
|
||
networking.interfaces.enp0s6.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||
}
|