nix/desktops/gnome.nix

64 lines
1.5 KiB
Nix
Raw Normal View History

2023-07-02 12:18:38 +02:00
{ config, pkgs, ... }: {
2023-07-02 12:11:46 +02:00
2023-06-30 00:56:45 +02:00
services.xserver = {
# Enable the GNOME Desktop Environment.
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
# Set Gnome settings:
services.gnome = {
games.enable = false;
core-utilities.enable = true;
};
2023-07-01 14:38:03 +02:00
2023-06-30 00:56:45 +02:00
# https://nixos.wiki/wiki/GNOME
2023-07-02 11:14:32 +02:00
# Remove unwanted packages
2023-07-02 12:18:38 +02:00
environment.gnome.excludePackages = (with unstable-pkgs; [
2023-06-30 00:56:45 +02:00
gnome.cheese
gnome.gnome-music
gnome.epiphany
gnome.geary
gnome.totem
gnome.gnome-characters
gnome-tour
2023-06-30 17:04:13 +02:00
gnome-photos
2023-06-30 17:08:10 +02:00
gnome.yelp
2023-06-30 17:07:37 +02:00
gnome.gnome-font-viewer
2023-06-30 17:04:13 +02:00
gnome-connections
2023-06-30 17:08:35 +02:00
gnome.gnome-contacts
2023-06-30 17:07:37 +02:00
gnome.gnome-logs
2023-06-30 00:56:45 +02:00
gnome.gnome-maps
2023-06-30 17:11:25 +02:00
gnome.simple-scan
2023-07-01 14:38:21 +02:00
]);
2023-07-01 14:39:41 +02:00
2023-07-02 12:18:38 +02:00
environment.systemPackages = with unstable-pkgs; [
2023-07-02 11:14:32 +02:00
# Gnome Extensions
2023-06-30 00:56:45 +02:00
gnomeExtensions.tiling-assistant
gnomeExtensions.dash-to-dock
gnomeExtensions.blur-my-shell
gnomeExtensions.vitals
gnomeExtensions.user-themes
gnomeExtensions.caffeine
2023-06-30 16:54:03 +02:00
gnomeExtensions.hibernate-status-button
2023-07-01 14:52:00 +02:00
gnomeExtensions.night-theme-switcher
2023-07-02 11:14:32 +02:00
# Gnome relevant packages
2023-06-30 00:56:45 +02:00
gnome3.gnome-tweaks
2023-07-01 14:52:00 +02:00
papirus-icon-theme
2023-07-02 11:14:32 +02:00
glibc
2023-06-30 00:56:45 +02:00
];
2023-07-01 13:42:01 +02:00
2023-07-01 13:47:07 +02:00
imports = [
2023-07-02 11:14:32 +02:00
# Gnome Themes
2023-07-02 07:13:42 +02:00
./gnome/themes/gruvbox.nix
./gnome/themes/tokyo-night.nix
./gnome/themes/nordic.nix
./gnome/themes/vimix.nix
2023-07-01 15:14:00 +02:00
./gnome/themes/fluent.nix
2023-07-01 13:46:44 +02:00
];
2023-07-02 11:14:32 +02:00
# Idea... Move these to a separate file and tie it into dconf
# sections that load the theme automatically when I want it.
2023-06-30 00:56:45 +02:00
}