Update gnome.nix
This commit is contained in:
parent
153cc02e67
commit
4f019e03db
1 changed files with 42 additions and 31 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
# gnome.nix
|
# gnome.nix
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming" || config.networking.hostName == "FredOS-Macbook") {
|
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming" || config.networking.hostName == "FredOS-Macbook") {
|
||||||
# Enable Gnome
|
# Enable Gnome
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.displayManager.gdm.enable = true;
|
services.displayManager.gdm.enable = true;
|
||||||
|
|
@ -16,6 +16,7 @@ config = lib.mkIf (config.networking.hostName == "FredOS-Gaming" || config.netwo
|
||||||
gnomeExtensions.rounded-window-corners-reborn
|
gnomeExtensions.rounded-window-corners-reborn
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
gnome-themes-extra # This includes Adwaita cursor theme
|
gnome-themes-extra # This includes Adwaita cursor theme
|
||||||
|
papirus-icon-theme # Add Papirus icon theme
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set cursor theme
|
# Set cursor theme
|
||||||
|
|
@ -29,7 +30,17 @@ config = lib.mkIf (config.networking.hostName == "FredOS-Gaming" || config.netwo
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Set icon theme via dconf
|
||||||
|
programs.dconf.profiles.user.databases = [{
|
||||||
|
settings = {
|
||||||
|
"org/gnome/desktop/interface" = {
|
||||||
|
icon-theme = "Papirus"; # Use Papirus
|
||||||
|
cursor-theme = "Adwaita";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}];
|
||||||
|
|
||||||
programs.xwayland.enable = true;
|
programs.xwayland.enable = true;
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue