fix: NVIDIA module & Hyprshot -> Flameshot
This commit is contained in:
parent
0fa0b0b273
commit
574b9d3a77
@ -12,13 +12,23 @@
|
|||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
powerManagement.enable = false;
|
powerManagement.enable = true;
|
||||||
powerManagement.finegrained = false;
|
open = false;
|
||||||
|
|
||||||
open = true;
|
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
forceFullCompositionPipeline = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.kernelParams = [
|
||||||
|
"nvidia-drm.modeset=1"
|
||||||
|
"nvidia.NVreg_PreserveVideoMemoryAllocations=1"
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.extraModprobeConfig = ''
|
||||||
|
options nvidia-drm modeset=1
|
||||||
|
softdep nvidia pre: nvidia-drm
|
||||||
|
'';
|
||||||
|
|
||||||
|
boot.initrd.kernelModules = [ "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
modules.hyprland = {
|
modules.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
additionalPackages = with pkgs; [ hyprshot ];
|
additionalPackages = with pkgs; [ flameshot ];
|
||||||
plugins = with pkgs.hyprlandPlugins; [ hyprspace ];
|
plugins = with pkgs.hyprlandPlugins; [ hyprspace ];
|
||||||
additionalConfig.source = [
|
additionalConfig.source = [
|
||||||
"~/.config/hypr/config/animations.conf"
|
"~/.config/hypr/config/animations.conf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user