Improve the formatting

This commit is contained in:
SebastianStork 2024-04-20 19:00:09 +02:00
parent 62f4103c7a
commit 692ef91ba9
14 changed files with 107 additions and 40 deletions

View file

@ -4,10 +4,16 @@
system.stateVersion = "23.11";
nix.settings = {
experimental-features = ["nix-command" "flakes"];
experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true;
warn-dirty = false;
trusted-users = ["root" "@wheel"];
trusted-users = [
"root"
"@wheel"
];
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];

View file

@ -11,8 +11,18 @@
];
hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.kernelModules = ["kvm-amd" "adm1021" "nct6775"];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.kernelModules = [
"kvm-amd"
"adm1021"
"nct6775"
];
nixpkgs.hostPlatform = "x86_64-linux";
hardware.cpu.amd.updateMicrocode = true;
@ -40,7 +50,10 @@
settingsSha256 = "sha256-QKN/gLGlT+/hAdYKlkIjZTgvubzQTt4/ki5Y+2Zj3pk=";
persistencedSha256 = "sha256-FRMqY5uAJzq3o+YdM2Mdjj8Df6/cuUUAnh52Ne4koME=";
patches = [rcu_patch linux_6_8_patch];
patches = [
rcu_patch
linux_6_8_patch
];
};
};

View file

@ -9,12 +9,16 @@
fsType = "vfat";
};
swapDevices = [
{device = "/dev/disk/by-uuid/1eba93d1-4853-4534-8cfd-5c14e29c6ff6";}
];
swapDevices = [{device = "/dev/disk/by-uuid/1eba93d1-4853-4534-8cfd-5c14e29c6ff6";}];
hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod"];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"sd_mod"
];
boot.kernelModules = ["kvm-amd"];
nixpkgs.hostPlatform = "x86_64-linux";
hardware.cpu.amd.updateMicrocode = true;