diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 6f74f5e..dff477b 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -66,8 +66,6 @@ libsForQt5.kwalletmanager libsForQt5.ksshaskpass zathura - gnome.gnome-tweaks - gnome-extension-manager ]; nixpkgs.config.permittedInsecurePackages = [ diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index bccba98..cc4fdc6 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -4,6 +4,7 @@ ./bat ./browsers ./fonts + ./gnome-utils ./kitty ./neovim ./session-vars @@ -17,6 +18,7 @@ bash.enable = lib.mkDefault true; bat.enable = lib.mkDefault true; + gnome-utils.enable = lib.mkDefault false; kitty.enable = lib.mkDefault true; neovim.enable = lib.mkDefault true; tmux.enable = lib.mkDefault true; diff --git a/modules/home-manager/gnome-utils/default.nix b/modules/home-manager/gnome-utils/default.nix new file mode 100644 index 0000000..ba02215 --- /dev/null +++ b/modules/home-manager/gnome-utils/default.nix @@ -0,0 +1,16 @@ +{ + config, + lib, + pkgs, + ... +}: { + options = { + gnome-utils.enable = lib.mkEnableOption "enable gnome-utils"; + }; + config = lib.mkIf config.gnome-utils.enable { + home.packages = with pkgs; [ + gnome.gnome-tweaks + gnome-extension-manager + ]; + }; +}