diff --git a/users/pbsds/home/profiles/gnome/default.nix b/users/pbsds/home/profiles/gnome/default.nix index a61378b..a9d593b 100644 --- a/users/pbsds/home/profiles/gnome/default.nix +++ b/users/pbsds/home/profiles/gnome/default.nix @@ -1,5 +1,31 @@ # Handwritten! { config, lib, pkgs, ... }: + +let + gnomeExtensions = builtins.attrValues { inherit (pkgs.gnomeExtensions) + #gnomeExtensions.big-avatar + bluetooth-quick-connect + gtile + just-perfection + keep-awake + middle-click-to-close-in-overview + vertical-workspaces + #vertical-overview # RIP + appindicator + removable-drive-menu + always-show-titles-in-overview + vitals + /* TODO: + night-light-slider + tray-icons-reloaded + removable-drive-menu + battery-indicator-upower + workspace-indicator-2 + forge + */ + ;}; +in + { home.file.".local/opt/open-microsoft-url-files.py".source = ../../files/opt/open-microsoft-url-files.py; home.file.".local/opt/python-interactive-imports.py".source = ../../files/opt/python-interactive-imports.py; @@ -11,49 +37,16 @@ ./dconf-gnome-theme.nix ]; - home.packages = with pkgs; [ - gnome.gnome-tweaks + home.packages = [ + pkgs.gnome.gnome-tweaks pkgs.vimix-gtk-themes # shell theme - #gnomeExtensions.big-avatar - gnomeExtensions.bluetooth-quick-connect - gnomeExtensions.gtile - gnomeExtensions.just-perfection - gnomeExtensions.keep-awake - gnomeExtensions.middle-click-to-close-in-overview - gnomeExtensions.vertical-workspaces - #gnomeExtensions.vertical-overview # RIP - gnomeExtensions.appindicator - gnomeExtensions.removable-drive-menu - gnomeExtensions.always-show-titles-in-overview - /* TODO: - gnomeExtensions.night-light-slider - gnomeExtensions.tray-icons-reloaded - gnomeExtensions.removable-drive-menu - gnomeExtensions.battery-indicator-upower - gnomeExtensions.workspace-indicator-2 - gnomeExtensions.forge - */ - ]; - #dump "org/gnome/settings-daemon/plugins/power" + ] ++ gnomeExtensions; dconf.settings = with lib.hm.gvariant; { # extensions: "org/gnome/shell" = { disable-user-extensions = false; - # dconf dump /org/gnome/shell/ | grep ^enabled-extensions= | grep -E '\[.*\]' -o | sd ', ' '\n,' - enabled-extensions = [ - "bluetooth-quick-connect@bjarosze.gmail.com" - "gTile@vibou" - "just-perfection-desktop@just-perfection" - "KeepAwake@jepfa.de" - "middleclickclose@paolo.tranquilli.gmail.com" - "user-theme@gnome-shell-extensions.gcampax.github.com" - "vertical-workspaces@G-dH.github.com" - #"vertical-overview@RensAlthuis.github.com" - "appindicatorsupport@rgcjonas.gmail.com" - "drive-menu@gnome-shell-extensions.gcampax.github.com" - "Always-Show-Titles-In-Overview@gmail.com" - ]; + enabled-extensions = lib.forEach gnomeExtensions (pkg: pkg.extensionUuid); }; # wallpaper