Improve maryland boot configuration
This commit is contained in:
parent
4dcf77c149
commit
e2202c9eee
|
@ -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 |
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue