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;
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
@ -125,6 +124,29 @@ in
systemd.services."getty@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
services.flatpak.enable = true;
@ -326,6 +348,7 @@ in
####### KEEP AWAKE for DISPLAY and HEADLESS #######
services.xserver.displayManager.gdm.autoSuspend = false;
services.power-profiles-daemon.enable = false;
####### BACKUP TO INTERNAL DRIVE #######

View File

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