Improve maryland boot configuration

This commit is contained in:
Mary 2024-05-03 17:21:24 +01:00
parent 4dcf77c149
commit e2202c9eee
No known key found for this signature in database
GPG Key ID: 918CEB263269C7A6
3 changed files with 14 additions and 3 deletions

View File

@ -125,6 +125,8 @@
pinentry-curses
x11vnc
skanlite
libreoffice
];
# basic configuration of git, please change to your own
@ -230,7 +232,7 @@
"yubi_switch" = ''gpg-connect-agent "scd serialno" "learn --force" /bye'';
__ = ''x11vnc -localhost -display :0 -rfbauth ~/.vncpwd'';
__ = ''x11vnc -localhost -display :0 -rfbauth ~/.vncpwd '';
};
initExtra = ''
@ -372,4 +374,6 @@
};
services.ssh-agent.enable = true;
stylix.polarity = lib.mkForce "light";
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 607 KiB

View File

@ -34,8 +34,10 @@ let
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelParams = [ "radeon.cik_support=0" "amdgpu.cik_support=1" ];
boot.kernelParams = [ "radeon.cik_support=0" "amdgpu.cik_support=1"];
boot.extraModprobeConfig = ''
options snd_hda_intel index=1
'';
boot.blacklistedKernelModules = [ "mt7921e" ];
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
@ -65,6 +67,11 @@ let
services.xserver.autorun = lib.mkForce true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.plasma5.runUsingSystemd = true;
services.xserver.videoDrivers = [
"modesetting"
"amdgpu"
];
services.xserver.displayManager = lib.mkForce {
defaultSession = "plasma";
sddm.enable = true;