diff --git a/home/packages/common.nix b/home/packages/common.nix new file mode 100644 index 0000000..43cc268 --- /dev/null +++ b/home/packages/common.nix @@ -0,0 +1,52 @@ +{pkgs, ...}: { + home.packages = with pkgs; [ + nnn # terminal file manager + + # archives + zip + xz + unzip + p7zip + + # utils + zellij + tmux + bat + lazygit + bottom + ripgrep + jq + yq-go + fzf + fh + aria2 + yt-dlp + imv + xdg-utils + obsidian + vscode + weechat + + # misc + cowsay + file + which + tree + gnutar + gnupg + nerdfonts + zoxide + babelfish + + # language-specific package managers + nodejs + cargo + python3 + + # nix specific stuff + nixd + deadnix + alejandra + statix + ]; +} diff --git a/home/packages/darwin.nix b/home/packages/darwin.nix new file mode 100644 index 0000000..19e825b --- /dev/null +++ b/home/packages/darwin.nix @@ -0,0 +1,11 @@ +{ + pkgs, + lib, + ... +}: { + home.packages = lib.mkIf pkgs.stdenv.isDarwin (with pkgs; [ + iterm2 + discord + ollama + ]); +} diff --git a/home/packages/default.nix b/home/packages/default.nix new file mode 100644 index 0000000..58789ec --- /dev/null +++ b/home/packages/default.nix @@ -0,0 +1,11 @@ +{ + pkgs, + lib, + ... +}: { + imports = [ + ./common.nix + ./darwin.nix + ./linux.nix + ]; +} diff --git a/home/packages/linux.nix b/home/packages/linux.nix new file mode 100644 index 0000000..3208b8e --- /dev/null +++ b/home/packages/linux.nix @@ -0,0 +1,11 @@ +{ + pkgs, + lib, + ... +}: { + home.packages = lib.mkIf pkgs.stdenv.isLinux (with pkgs; [ + imv + betterdiscordctl + vesktop + ]); +}