Update Gnome
This commit is contained in:
parent
ebf1388e8f
commit
17193c21ae
3 changed files with 27 additions and 14 deletions
|
@ -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"
|
||||||
|
'';
|
||||||
|
|
||||||
}
|
}
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue