1
Fork 0
nixos-system-config/modules/nixos/desktop/gnome/default.nix
2025-01-24 00:14:50 +01:00

54 lines
955 B
Nix

{ pkgs, username, ... }:
{
services.xserver = {
enable = false;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
environment.gnome.excludePackages = with pkgs; [
orca
evince
geary
gnome-disk-utility
gnome-backgrounds
gnome-user-docs
epiphany
yelp
gnome-software
totem
snapshot
simple-scan
gnome-console
gnome-text-editor
gnome-tour
gnome-bluetooth
gnome-music
gnome-maps
gnome-contacts
gnome-calendar
gnome-connections
];
environment.systemPackages = with pkgs; [
ghostty
dconf-editor
] ++ (with pkgs.gnomeExtensions; [
caffeine
accent-directories
just-perfection
quick-settings-tweaker
]);
environment.persistence."/nix/persist" = {
directories = [
"/var/lib/AccountsService"
];
users."${username}" = {
directories = [
".config/dconf"
];
};
};
}