From 5d4c9c8f171bc57c36436f6830928faa3615d45a Mon Sep 17 00:00:00 2001 From: Aditya Date: Wed, 10 Apr 2024 23:44:50 +0530 Subject: [PATCH] add gnome extensions --- hosts/default/configuration.nix | 36 ---------------------- modules/nixos/display-manager/default.nix | 37 +++++++++++++++++++++++ 2 files changed, 37 insertions(+), 36 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index dd0d1ee..0251e82 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -144,42 +144,6 @@ vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. wget git - #gnome.adwaita-icon-theme - gnomeExtensions.aylurs-widgets - gnomeExtensions.system-monitor-next - gnomeExtensions.wireless-hid - gnomeExtensions.autohide-battery - gnomeExtensions.bluetooth-battery - gnomeExtensions.clipboard-indicator - gnomeExtensions.lock-keys - gnomeExtensions.openweather - gnomeExtensions.media-controls - gnomeExtensions.ideapad-controls - gnomeExtensions.maximize-to-empty-workspace - gnomeExtensions.hide-top-bar - gnomeExtensions.hide-activities-button - libsForQt5.bismuth - - plasma5Packages.bismuth - - kdePackages.ksystemstats - - ( - waybar.overrideAttrs (oldAttrs: { - mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"]; - }) - ) - - dunst - libnotify - swww - rofi-wayland - wl-clipboard - grim - - pamixer - - virtiofsd ]; programs.neovim = { diff --git a/modules/nixos/display-manager/default.nix b/modules/nixos/display-manager/default.nix index 554f5ec..9f7ca91 100644 --- a/modules/nixos/display-manager/default.nix +++ b/modules/nixos/display-manager/default.nix @@ -1,6 +1,7 @@ { config, lib, + pkgs, ... }: { options = { @@ -25,6 +26,42 @@ }; wayland.enable = true; }; + environment.systemPackages = with pkgs; [ + dunst + grim + (gnomeExtensions.withPackages ( + ps: + with ps; [ + autohide-battery + aylurs-widgets + bluetooth-battery + clipboard-indicator + hide-activities-button + hide-top-bar + ideapad-controls + lock-keys + maximize-to-empty-workspace + media-controls + openweather + system-monitor-next + wireless-hid + ] + )) + kernelModules.ksystemstats + libsForQt5.bismuth + libnotify + pamixer + plasma5Packages.bismuth + rofi-wayland + swww + ( + waybar.overrideAttrs (oldAttrs: { + mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"]; + }) + ) + wl-clipboard + virtiofsd + ]; xdg.portal.enable = true; programs.xwayland.enable = true; };