Update and Nvidia Suspend / Wake
This commit is contained in:
parent
29d6dd7a00
commit
0dd9177eca
3 changed files with 45 additions and 38 deletions
|
@ -24,10 +24,6 @@
|
|||
themePackages = [( pkgs.adi1090x-plymouth-themes.override { selected_themes = [ "black_hud" ]; })];
|
||||
};
|
||||
|
||||
# For VirtualBox to work
|
||||
# https://github.com/NixOS/nixpkgs/issues/363887
|
||||
boot.kernelParams = [ "kvm.enable_virt_at_load=0" ];
|
||||
|
||||
networking.hostName = "t0urn3s0l"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
|
@ -179,6 +175,7 @@
|
|||
inkscape # SVG Editor
|
||||
protonmail-bridge # To access protonmail on thunderbird
|
||||
thunderbird # Mail client
|
||||
libreoffice # Document editing
|
||||
|
||||
|
||||
# Shell stuff
|
||||
|
@ -206,6 +203,7 @@
|
|||
eza # ls but better
|
||||
eva # calculator
|
||||
util-linux # Set of system utilities
|
||||
sshfs # A filesystem to mount drives over ssh
|
||||
|
||||
# Utilities
|
||||
wl-clipboard # Clipboard manager
|
||||
|
|
|
@ -13,6 +13,15 @@
|
|||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
boot.kernelParams = [
|
||||
# For VirtualBox to work
|
||||
# https://github.com/NixOS/nixpkgs/issues/363887
|
||||
"kvm.enable_virt_at_load=0"
|
||||
|
||||
# Hyrpland suspend / wakeup
|
||||
"nvidia.NVreg_PreserveVideoMemoryAllocations=1"
|
||||
];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/57749360-7043-4fc8-bf3c-b32f19637286";
|
||||
fsType = "ext4";
|
||||
|
@ -56,7 +65,7 @@
|
|||
# Enable this if you have graphical corruption issues or application crashes after waking
|
||||
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
|
||||
# of just the bare essentials.
|
||||
powerManagement.enable = false;
|
||||
powerManagement.enable = true;
|
||||
|
||||
# Fine-grained power management. Turns off GPU when not in use.
|
||||
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue