11{ config , lib , pkgs , modulesPath , ... } :
2- with builtins ; with lib ; {
2+ with builtins ; with lib ;
3+ let
4+ extensions = with pkgs . gnomeExtensions ; [
5+ appindicator
6+ arcmenu
7+ bluetooth-quick-connect
8+ caffeine
9+ dash-to-panel
10+ gsconnect
11+ hibernate-status-button
12+ notification-position
13+ user-themes
14+ ] ;
15+ in
16+ {
317 options . nzbr . desktop . gnome = with types ; {
418 enable = mkEnableOption "GNOME Desktop Environment" ;
519 } ;
@@ -28,16 +42,7 @@ with builtins; with lib; {
2842 seahorse
2943
3044 local . gnome-shell-extension-pop-shell
31- ] ++ (
32- let
33- extensions =
34- pkgs . gnome41Extensions
35- // { "arcmenu@arcmenu.com" = pkgs . unstable . gnomeExtensions . arcmenu ; } ; # other arcmenu package is broken for some reason
36- in
37- map
38- ( ext : extensions . ${ ext } )
39- config . nzbr . home . config . dconf . settings . "org/gnome/shell" . enabled-extensions
40- ) ;
45+ ] ++ extensions ;
4146
4247 programs . dconf . enable = true ;
4348 services . dbus . packages = with pkgs ; [ dconf ] ;
@@ -110,26 +115,7 @@ with builtins; with lib; {
110115 } ;
111116 "org/gnome/shell" = {
112117 disable-user-extensions = false ;
113- enabled-extensions = [
114- "appindicatorsupport@rgcjonas.gmail.com"
115- "arcmenu@arcmenu.com"
116- # "audio-switcher@albertomosconi"
117- "bluetooth-quick-connect@bjarosze.gmail.com"
118- "caffeine@patapon.info"
119- "dash-to-panel@jderose9.github.com"
120- "drive-menu@gnome-shell-extensions.gcampax.github.com"
121- "expandable-notifications@kaan.g.inam.org"
122- "gsconnect@andyholmes.github.io"
123- # "hibernate@dafne.rocks"
124- "hibernate-status@dromi" # Placeholder for the above extension
125- "notification-position@drugo.dev"
126- # "remmina-search-provider@alexmurray.github.com"
127- "spotify-artwork-fixer@wjt.me.uk"
128- # "tweaks-system-menu@extensions.gnome-shell.fifi.org"
129- "user-theme@gnome-shell-extensions.gcampax.github.com"
130- # "blur-my-shell@aunetx"
131- # "trayIconsReloaded@selfmade.pl"
132- ] ;
118+ enabled-extensions = map ( ext : ext . extensionUuid ) extensions ;
133119 favorite-apps = [
134120 "firefox.desktop"
135121 "org.gnome.Nautilus.desktop"
@@ -138,8 +124,6 @@ with builtins; with lib; {
138124 "idea-ultimate.desktop"
139125 "gitkraken.desktop"
140126 "timeular.desktop"
141- # "discord.desktop"
142- # "spotify.desktop"
143127 ] ;
144128 welcome-dialog-last-shown-version = pkgs . gnome-shell . version ;
145129 } ;
0 commit comments