nix/desktops/gnome.nix

62 lines
1.6 KiB
Nix
Raw Normal View History

2023-07-02 13:07:36 +02:00
{ config, master, ... }: {
# Use "master" instead of "pkgs" to get the latest packages, defined in "flake.nix"
2023-07-02 13:30:46 +02:00
services.xserver = with master.pkgs; {
2023-07-02 12:46:21 +02:00
# https://nixos.org/manual/nixos/stable/index.html#chap-gnome
2023-06-30 00:56:45 +02:00
# 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 13:07:36 +02:00
environment.gnome.excludePackages = (with master.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 13:07:36 +02:00
environment.systemPackages = with master.pkgs; [
2023-07-02 11:14:32 +02:00
# Gnome Extensions
2023-07-02 13:58:42 +02:00
# gnomeExtensions.tiling-assistant
# gnomeExtensions.dash-to-dock
# gnomeExtensions.blur-my-shell
# gnomeExtensions.vitals
# gnomeExtensions.user-themes
# gnomeExtensions.caffeine
# gnomeExtensions.hibernate-status-button
2023-07-02 13:44:44 +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-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
}