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
{ lib, hostname, username, ... }: {
imports = [
./gnome-dconf.nix
];
}
imports = [
./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,3 +1,3 @@
{ lib, hostname, username, ... }: with lib.hm.gvariant; {
# Gnome DCONF Settings
}
}

View file

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