cosmic alpha

This commit is contained in:
atagen 2024-04-10 21:18:41 +10:00
parent 1d41373673
commit c5733c0812
8 changed files with 888 additions and 813 deletions

View file

@ -14,9 +14,10 @@
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbcore" "sd_mod"];
boot.initrd.kernelModules = [];
boot.initrd.systemd.enable = true;
boot.kernelModules = ["kvm-amd" "i2c-dev"];
boot.kernelParams = [
"nvidia_drm.modeset=1"
"nvidia-drm.fbdev=1"
"mitigations=off"
"acpi_enforce_resources=lax"
"preempt=full"
@ -28,12 +29,18 @@
];
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.supportedFilesystems = {
ntfs = true;
btrfs = true;
};
boot.loader.systemd-boot.configurationLimit = 5;
boot.loader.efi.canTouchEfiVariables = true;
# boot.plymouth.enable = true;
boot.supportedFilesystems = ["ntfs"];
# boot.plymouth = with pkgs.rice.plymouth; {
# inherit font theme themePackages;
# enable = true;
# };
security.tpm2.enable = true;
@ -41,7 +48,7 @@
hardware.cpu.amd.updateMicrocode = true;
environment.sessionVariables = rec {
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=5";
GBM_BACKEND = "nvidia-drm";
@ -76,7 +83,6 @@
};
services.xserver.videoDrivers = ["nvidia"];
services.xserver.displayManager.autoLogin.user = "bolt";
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable;
modesetting.enable = true;