mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Enable fstrim
This commit is contained in:
parent
bd8e8cbea1
commit
0051f45c22
2 changed files with 12 additions and 10 deletions
|
|
@ -11,7 +11,14 @@
|
|||
./disko.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
boot.kernelModules = [
|
||||
"kvm-amd"
|
||||
"k10temp"
|
||||
"nct6775"
|
||||
];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
|
|
@ -20,15 +27,9 @@
|
|||
"usbhid"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.kernelModules = [
|
||||
"kvm-amd"
|
||||
"k10temp"
|
||||
"nct6775"
|
||||
];
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
||||
zramSwap.enable = true;
|
||||
services.fstrim.enable = true;
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue