minor changes + formatted

This commit is contained in:
atagen 2023-05-19 11:46:07 +10:00
parent 9b741b5fa0
commit 46a48eb0ad
3 changed files with 13 additions and 16 deletions

View file

@ -26,16 +26,16 @@
"rd.udev.log_level=3"
"vt.global_cursor_default=0"
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "iwlwifi" "kvm-intel" ];
boot.extraModulePackages = [ pkgs.linuxPackages.system76-scheduler ];
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
boot.initrd.kernelModules = ["dm-snapshot"];
boot.kernelModules = ["iwlwifi" "kvm-intel"];
boot.extraModulePackages = [pkgs.linuxPackages.system76-scheduler];
boot.kernelPackages = pkgs.linuxPackages;
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/1C5C-8FF4";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/1C5C-8FF4";
fsType = "vfat";
};
fileSystems."/" = {
device = "/dev/mapper/nix-os";
@ -47,15 +47,13 @@
fsType = "ext4";
};
swapDevices = [ ];
swapDevices = [];
boot.loader.systemd-boot.configurationLimit = 2;
boot.loader.efi.canTouchEfiVariables = true;
# boot.plymouth.enable = true;
networking.useDHCP = lib.mkDefault true;
hardware.enableAllFirmware = true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
services.power-profiles-daemon.enable = false;
@ -138,5 +136,4 @@
isNormalUser = true;
extraGroups = ["wheel"]; # Enable sudo for the user.
};
}