1
0
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:
Donovan Glover 2023-06-22 07:46:53 -04:00
parent 4083348a3b
commit 217e7b0f06
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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 = [ ];