Update Nixpkgs, Removed Auto Power Reg, Added Gnome Performance Fix

This commit is contained in:
naturallaw77 2024-07-19 22:32:25 -07:00
parent 6eeb286fc4
commit 3367a73a8a
2 changed files with 27 additions and 4 deletions

View File

@ -88,7 +88,6 @@ in
systemd.enableEmergencyMode = false; systemd.enableEmergencyMode = false;
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
@ -125,6 +124,29 @@ in
systemd.services."getty@tty1".enable = true; systemd.services."getty@tty1".enable = true;
systemd.services."autovt@tty1".enable = true; systemd.services."autovt@tty1".enable = true;
# Fix the GNOME Desktop Environment Performance
nixpkgs.config.allowAliases = false;
nixpkgs.overlays = [
# GNOME 46: triple-buffering-v4-46
(final: prev: {
gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: {
mutter = gnomePrev.mutter.overrideAttrs (old: {
src = pkgs.fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "vanvugt";
repo = "mutter";
rev = "triple-buffering-v4-46";
hash = "sha256-nz1Enw1NjxLEF3JUG0qknJgf4328W/VvdMjJmoOEMYs=";
};
});
});
})
];
# Allow Flatpak # Allow Flatpak
services.flatpak.enable = true; services.flatpak.enable = true;
@ -326,6 +348,7 @@ in
####### KEEP AWAKE for DISPLAY and HEADLESS ####### ####### KEEP AWAKE for DISPLAY and HEADLESS #######
services.xserver.displayManager.gdm.autoSuspend = false; services.xserver.displayManager.gdm.autoSuspend = false;
services.power-profiles-daemon.enable = false;
####### BACKUP TO INTERNAL DRIVE ####### ####### BACKUP TO INTERNAL DRIVE #######

View File

@ -157,11 +157,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1720768451, "lastModified": 1721379653,
"narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=", "narHash": "sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9", "rev": "1d9c2c9b3e71b9ee663d11c5d298727dace8d374",
"type": "github" "type": "github"
}, },
"original": { "original": {