53 lines
1.4 KiB
Nix
53 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" "ahci" "ohci_pci" "ehci_pci" "ums_realtek" "usbhid" "usb_storage" "sd_mod" ];
|
|||
|
|
boot.initrd.kernelModules = [ ];
|
|||
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|||
|
|
boot.extraModulePackages = [ ];
|
|||
|
|
|
|||
|
|
fileSystems."/" =
|
|||
|
|
{ device = "zpool/root";
|
|||
|
|
fsType = "zfs";
|
|||
|
|
options = [ "zfsutil" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/nix" =
|
|||
|
|
{ device = "zpool/nix";
|
|||
|
|
fsType = "zfs";
|
|||
|
|
options = [ "zfsutil" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/var" =
|
|||
|
|
{ device = "zpool/var";
|
|||
|
|
fsType = "zfs";
|
|||
|
|
options = [ "zfsutil" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/home" =
|
|||
|
|
{ device = "zpool/home";
|
|||
|
|
fsType = "zfs";
|
|||
|
|
options = [ "zfsutil" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/boot" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/264E-C996";
|
|||
|
|
fsType = "vfat";
|
|||
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
swapDevices =
|
|||
|
|
[ { device = "/dev/disk/by-uuid/535e42f8-c102-435a-83ba-93b07e8bd3f7"; }
|
|||
|
|
];
|
|||
|
|
|
|||
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|||
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|||
|
|
}
|