From 2abce82c08545d1bf34f928d37681241c6d87bb1 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 12 Apr 2024 11:30:11 +0530 Subject: [PATCH] add kde-utils --- hosts/default/home.nix | 7 ------- modules/home-manager/default.nix | 2 ++ modules/home-manager/kde-utils/default.nix | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 modules/home-manager/kde-utils/default.nix diff --git a/hosts/default/home.nix b/hosts/default/home.nix index dff477b..94da152 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -48,8 +48,6 @@ # (pkgs.writeShellScriptBin "my-hello" '' # echo "Hello, ${config.home.username}!" # '') - plasma5Packages.qtstyleplugin-kvantum - kdeconnect x264 rustc cargo @@ -60,11 +58,6 @@ dino tdesktop libreoffice-fresh - yakuake - libsForQt5.kwallet - libsForQt5.kwallet-pam - libsForQt5.kwalletmanager - libsForQt5.ksshaskpass zathura ]; diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index cc4fdc6..1bc702d 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -5,6 +5,7 @@ ./browsers ./fonts ./gnome-utils + ./kde-utils ./kitty ./neovim ./session-vars @@ -19,6 +20,7 @@ bash.enable = lib.mkDefault true; bat.enable = lib.mkDefault true; gnome-utils.enable = lib.mkDefault false; + kde-utils.enable = lib.mkDefault true; kitty.enable = lib.mkDefault true; neovim.enable = lib.mkDefault true; tmux.enable = lib.mkDefault true; diff --git a/modules/home-manager/kde-utils/default.nix b/modules/home-manager/kde-utils/default.nix new file mode 100644 index 0000000..5fd4851 --- /dev/null +++ b/modules/home-manager/kde-utils/default.nix @@ -0,0 +1,21 @@ +{ + config, + lib, + pkgs, + ... +}: { + options = { + kde-utils.enable = lib.mkEnableOption "enable kde-utils"; + }; + config = lib.mkIf config.kde-utils.enable { + home.packages = with pkgs; [ + kdeconnect + libsForQt5.kwallet + libsForQt5.kwallet-pam + libsForQt5.kwalletmanager + libsForQt5.ksshaskpass + plasma5Packages.qtstyleplugin-kvantum + yakuake + ]; + }; +}