Update Gnome

This commit is contained in:
albert 2025-01-05 23:06:45 +01:00
parent ebf1388e8f
commit 17193c21ae
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 27 additions and 14 deletions

View file

@ -3,4 +3,12 @@
imports = [ imports = [
./gnome-dconf.nix ./gnome-dconf.nix
]; ];
programs.bash.sessionVariables = {
DISABLE_TMUX = "true";
GTK_THEME = "Breeze"; # To set the firefox theme
};
programs.fish.shellInit = ''
set DISABLE_TMUX "true"
'';
} }

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, hostname, gpu, ... }: { { pkgs, ... }: {
# Enable sound with pipewire. # Enable sound with pipewire.
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
@ -20,15 +20,20 @@
# hardware.nvidiaOptimus.disable = lib.mkDefault true; # hardware.nvidiaOptimus.disable = lib.mkDefault true;
services.xserver = { services.xserver = {
# https://nixos.org/manual/nixos/stable/index.html#chap-gnome desktopManager = {
# Enable the GNOME Desktop Environment. gdm = {
displayManager.gdm.enable = true; enable = true;
desktopManager.gnome.enable = true; };
desktopManager.gnome.extraGSettingsOverrides = '' gnome = {
enable = true;
extraGSettingsOverridePackages = [ pkgs.mutter ];
extraGSettingsOverrides = ''
[org.gnome.mutter] [org.gnome.mutter]
experimental-features=['scale-monitor-framebuffer'] experimental-features=['scale-monitor-framebuffer']
''; '';
}; };
};
};
# Set Gnome settings: # Set Gnome settings:
services.gnome = { services.gnome = {