diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index b92c3e5..4f29280 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -14,7 +14,6 @@ ./home-manager.nix ../../modules/base.nix ../../modules/programs.nix - ../../modules/gnome-extensions.nix ../../modules/git.nix ../../modules/zsh.nix ../../modules/print-and-scan.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index 58c6fca..8123624 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -14,7 +14,6 @@ ./home-manager.nix ../../modules/base.nix ../../modules/programs.nix - ../../modules/gnome-extensions.nix ../../modules/git.nix ../../modules/zsh.nix ../../modules/print-and-scan.nix diff --git a/modules/gnome-extensions.home.nix b/modules/gnome-extensions.home.nix index d4113b9..2a788ee 100644 --- a/modules/gnome-extensions.home.nix +++ b/modules/gnome-extensions.home.nix @@ -1,15 +1,18 @@ { config, pkgs, ... }: { - /* Enable home-manager to configure GNOME */ + users.users.yoda = { + packages = with pkgs; [ + gnomeExtensions.caffeine + ]; + }; + programs.dconf.enable = true; home-manager.users.yoda = { - dconf.settings = { # Enable GNOME extensions. "org/gnome/shell".enabled-extensions = [ pkgs.gnomeExtensions.caffeine.extensionUuid ]; }; - }; } diff --git a/modules/gnome-extensions.nix b/modules/gnome-extensions.nix deleted file mode 100644 index 25359d9..0000000 --- a/modules/gnome-extensions.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, pkgs, ... }: - -{ - users.users.yoda = { - packages = with pkgs; [ - gnomeExtensions.caffeine - ]; - }; -}