forked from extern/nix-config
hardware-configuration: Undo formatting
To make life simpler, not modifying the hardware-configuration.nix in any way makes it easier to see git diffs.
This commit is contained in:
parent
4083348a3b
commit
217e7b0f06
@ -1,28 +1,26 @@
|
|||||||
{ config
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
, lib
|
|
||||||
, modulesPath
|
{
|
||||||
, ...
|
imports =
|
||||||
}: {
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
imports = [
|
];
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" =
|
||||||
device = "/dev/disk/by-label/nixos";
|
{ device = "/dev/disk/by-label/nixos";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks.devices."root".device = "/dev/disk/by-label/nixos-luks";
|
boot.initrd.luks.devices."root".device = "/dev/disk/by-label/nixos-luks";
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" =
|
||||||
device = "/dev/disk/by-label/boot";
|
{ device = "/dev/disk/by-label/boot";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user