Update gnome.nix
This commit is contained in:
parent
153cc02e67
commit
4f019e03db
1 changed files with 42 additions and 31 deletions
|
|
@ -1,35 +1,46 @@
|
||||||
# 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;
|
||||||
services.desktopManager.gnome.enable = true;
|
services.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
# Add extensions and packages
|
# Add extensions and packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnomeExtensions.blur-my-shell
|
gnomeExtensions.blur-my-shell
|
||||||
gnomeExtensions.just-perfection
|
gnomeExtensions.just-perfection
|
||||||
gnomeExtensions.appindicator
|
gnomeExtensions.appindicator
|
||||||
gnomeExtensions.hot-edge
|
gnomeExtensions.hot-edge
|
||||||
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
|
|
||||||
environment.sessionVariables = {
|
# Set cursor theme
|
||||||
XCURSOR_THEME = "Adwaita";
|
environment.sessionVariables = {
|
||||||
XCURSOR_SIZE = "24";
|
XCURSOR_THEME = "Adwaita";
|
||||||
XCURSOR_PATH = lib.mkForce [
|
XCURSOR_SIZE = "24";
|
||||||
"${pkgs.adwaita-icon-theme}/share/icons"
|
XCURSOR_PATH = lib.mkForce [
|
||||||
"$HOME/.icons"
|
"${pkgs.adwaita-icon-theme}/share/icons"
|
||||||
"$HOME/.local/share/icons"
|
"$HOME/.icons"
|
||||||
];
|
"$HOME/.local/share/icons"
|
||||||
};
|
];
|
||||||
|
};
|
||||||
programs.xwayland.enable = true;
|
|
||||||
programs.dconf.enable = true;
|
# 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.dconf.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue