97 lines
2.0 KiB
Nix
Raw Normal View History

2025-05-18 15:01:25 +02:00
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.desktop.gnome;
in
{
options.modules.desktop.gnome = {
enable = mkEnableOption "gnome";
};
config = mkIf cfg.enable {
2025-07-30 16:04:53 +02:00
# TODO: Enable extensions (declaratively) with dconf
2025-05-18 15:01:25 +02:00
home.pointerCursor = {
2025-11-14 14:22:50 +01:00
enable = true;
2025-05-18 15:01:25 +02:00
name = "capitaine-cursors";
size = 24;
package = pkgs.capitaine-cursors;
gtk.enable = true;
};
home.packages =
with pkgs;
[
gnome-session
gnome-shell
gnome-tweaks
gnome-calculator
snapshot
gnome-characters
gnome-connections
blackbox-terminal
baobab
gnome-disk-utility
2025-05-28 12:22:49 +02:00
papers
2025-05-18 15:01:25 +02:00
nautilus
gnome-font-viewer
loupe
gnome-maps
gnome-music
gnome-control-center
gnome-text-editor
showtime
file-roller
2025-05-25 11:55:51 +02:00
mission-center
dconf-editor
2025-07-30 16:04:53 +02:00
gnome-calendar
2025-05-18 15:01:25 +02:00
# For theming gtk3
2025-11-14 14:22:50 +01:00
# adw-gtk3 # TODO: Do this better, same for morewaita, not sure if it even works
2025-07-30 16:04:53 +02:00
# More icons
2025-11-14 14:22:50 +01:00
# morewaita-icon-theme
2025-05-18 15:01:25 +02:00
]
++ (with pkgs.gnomeExtensions; [
gsconnect
disable-workspace-animation
wallpaper-slideshow
2025-05-25 11:55:51 +02:00
media-progress
2025-11-14 14:22:50 +01:00
mpris-label
pip-on-top
rounded-window-corners-reborn
2025-05-18 15:01:25 +02:00
]);
2025-07-30 16:04:53 +02:00
# Set up gnome terminal as changing the default terminal is a pain
programs.gnome-terminal = {
enable = true;
profile."12d2da79-b36c-43d5-8e1f-cf70907b84b3" = {
visibleName = "Default";
default = true;
};
};
2025-05-18 15:01:25 +02:00
# Enable and set the gtk themes
2025-11-14 14:22:50 +01:00
# gtk = {
# enable = true;
# gtk3.extraConfig = {
# gtk-theme-name = "adw-gtk3";
# };
# gtk4.extraConfig = {
# gtk-theme-name = "Adwaita";
# };
# };
2025-05-18 15:01:25 +02:00
# Set the theme with dconf
2025-11-14 14:22:50 +01:00
# dconf.settings."org/gnome/desktop/interface" = {
# gtk-theme = "adw-gtk3";
# };
2025-05-18 15:01:25 +02:00
};
}