From a49ccce18dcc64b9f0bca89bc605e47d9d6e6734 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 12 Apr 2024 11:06:56 +0530 Subject: [PATCH] add utils --- hosts/default/home.nix | 23 -------------------- modules/home-manager/default.nix | 1 + modules/home-manager/utils/default.nix | 30 ++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 23 deletions(-) create mode 100644 modules/home-manager/utils/default.nix diff --git a/hosts/default/home.nix b/hosts/default/home.nix index de04526..49fdd18 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -48,12 +48,6 @@ # (pkgs.writeShellScriptBin "my-hello" '' # echo "Hello, ${config.home.username}!" # '') - xsel - wget - neofetch - htop - oh-my-zsh - git chromium plasma5Packages.qtstyleplugin-kvantum kdeconnect @@ -64,42 +58,25 @@ joypixels rustc cargo - unzip - ocs-url nextcloud-client - duf foliate mpv obsidian dino - aria2 - bitwarden kitty-themes - p7zip tdesktop libreoffice-fresh jetbrains-mono yakuake - krita - filelight - inkscape - yt-dlp - ranger libsForQt5.kwallet libsForQt5.kwallet-pam libsForQt5.kwalletmanager libsForQt5.ksshaskpass - cachix - direnv - git-lfs - nix-direnv zathura starship gnome.gnome-tweaks gnome-extension-manager ripgrep - inputs.nv.packages.x86_64-linux.default - inputs.nyaa.packages.x86_64-linux.default ]; nixpkgs.config.permittedInsecurePackages = [ diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 2a9963d..d0501c9 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -6,6 +6,7 @@ ./neovim ./session-vars ./tmux + ./utils ./vscode ./zsh ]; diff --git a/modules/home-manager/utils/default.nix b/modules/home-manager/utils/default.nix new file mode 100644 index 0000000..d264b4a --- /dev/null +++ b/modules/home-manager/utils/default.nix @@ -0,0 +1,30 @@ +{ + inputs, + pkgs, + ... +}: { + home.packages = with pkgs; [ + aria2 + bitwarden + cachix + direnv + duf + git + git-lfs + htop + filelight + neofetch + nix-direnv + ocs-url + p7zip + ranger + ripgrep + starship + unzip + wget + xsel + yt-dlp + inputs.nv.packages.x86_64-linux.default + inputs.nyaa.packages.x86_64-linux.default + ]; +}