cleanup (mostly)

This commit is contained in:
twoneis 2024-01-06 12:23:27 +01:00
parent 63774580b8
commit 20c5b716ef
4 changed files with 18 additions and 15 deletions

View file

@ -4,28 +4,26 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/95b15244-c97c-42a5-9be1-ed5df6872dcb";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/95b15244-c97c-42a5-9be1-ed5df6872dcb";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/BF87-B3DE";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/BF87-B3DE";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/b6445ced-1cc2-461f-a81f-6e8409c10f48"; }
];
swapDevices =[ { device = "/dev/disk/by-uuid/b6445ced-1cc2-461f-a81f-6e8409c10f48"; } ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's