nix/desktops/gnome.nix

64 lines
1.7 KiB
Nix
Raw Normal View History

2023-07-10 12:50:05 +02:00
{ config, pkgs, ... }: {
# Use "pkgs" instead of "pkgs" to get the latest packages, defined in "flake.nix"
services.xserver = with 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-10 12:50:05 +02:00
environment.gnome.excludePackages = (with 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-10 12:50:05 +02:00
environment.systemPackages = with pkgs; [
2023-07-02 11:14:32 +02:00
# Gnome Extensions
2023-07-02 14:04:33 +02:00
gnomeExtensions.tiling-assistant
gnomeExtensions.dash-to-dock
gnomeExtensions.blur-my-shell
gnomeExtensions.vitals
gnomeExtensions.user-themes
gnomeExtensions.caffeine
gnomeExtensions.hibernate-status-button
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-11 13:07:45 +02:00
# ./gnome/themes/gruvbox.nix
# ./gnome/themes/tokyo-night.nix
# ./gnome/themes/nordic.nix
# ./gnome/themes/vimix.nix
# ./gnome/themes/fluent.nix
2023-07-03 04:14:30 +02:00
# You may need to edit which theme you're using in dconf.nix if you remove themes
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-07-02 14:44:38 +02:00
}