From 56918ef7ec6df11284a2f75e9ee88aab3e9f721d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Wed, 21 Jun 2023 10:25:27 +0100 Subject: [PATCH] easier access to gnome extension settings --- nixos/gnome/home.nix | 9 +++++++-- nixos/gnome/system.nix | 6 ------ nixos/home-manager/cli.nix | 1 + 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nixos/gnome/home.nix b/nixos/gnome/home.nix index 899a486a..213cea09 100644 --- a/nixos/gnome/home.nix +++ b/nixos/gnome/home.nix @@ -3,8 +3,13 @@ xsession = { enable = false; }; - home.packages = with pkgs; [ gnome-usage gnome3.gnome-tweaks ]; - + home.packages = (with pkgs; [ gnome-usage gnome3.gnome-tweaks ]) + ++ (with pkgs.gnomeExtensions; [ + caffeine + clipboard-indicator + gsconnect + vitals + ]); dconf.settings = { "org/gnome/mutter" = { # https://github.com/NixOS/nixpkgs/issues/114514#issuecomment-1177709271 diff --git a/nixos/gnome/system.nix b/nixos/gnome/system.nix index 0291e7a6..2c5f0f34 100644 --- a/nixos/gnome/system.nix +++ b/nixos/gnome/system.nix @@ -6,10 +6,4 @@ desktopManager.gnome.enable = true; }; services.flatpak.enable = true; - users.users.cyryl.packages = with pkgs.gnomeExtensions; [ - caffeine - clipboard-indicator - gsconnect - vitals - ]; } diff --git a/nixos/home-manager/cli.nix b/nixos/home-manager/cli.nix index 69f810f0..592afb61 100644 --- a/nixos/home-manager/cli.nix +++ b/nixos/home-manager/cli.nix @@ -49,6 +49,7 @@ wget whois wl-clipboard + xdotool inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".youtube-dl ]; }