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

@ -1,6 +1,14 @@
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix # Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, hostname, username, ... }: { { lib, hostname, username, ... }: {
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,14 +20,19 @@
# 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 = {
[org.gnome.mutter] enable = true;
experimental-features=['scale-monitor-framebuffer'] extraGSettingsOverridePackages = [ pkgs.mutter ];
''; extraGSettingsOverrides = ''
[org.gnome.mutter]
experimental-features=['scale-monitor-framebuffer']
'';
};
};
}; };
# Set Gnome settings: # Set Gnome settings: