Skip to content

Commit

Permalink
Added jq.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
atropos112 committed Aug 22, 2024
1 parent 4a036c8 commit 67808df
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/common/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ in {
../../pkgs/kiwix-serve.nix
../../pkgs/s3.nix
../../pkgs/zeal
../../pkgs/jq.nix
];

stylix = {
Expand Down Expand Up @@ -110,6 +111,8 @@ in {
# Inform QT apps of the version
QT_QPA_PLATFORMTHEME = "qt6ct";

QT_STYLE_OVERRIDE = "kvantum";

QT_QPA_PLATFORM = "wayland";

# Base
Expand Down
31 changes: 31 additions & 0 deletions lib/pkgs/jq.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
gojq
];

home-manager.users.atropos = {
programs = {
atuin.enableZshIntegration = true;
# kitty.shellIntegration.enableZshIntegration = true;

zsh = {
plugins = [
{
name = "fzf-jq";
src = pkgs.fetchFromGitHub {
owner = "reegnz";
repo = "jq-zsh-plugin";
rev = "48befbcd91229e48171d4aac5215da205c1f497e";
sha256 = "sha256-q/xQZ850kifmd8rCMW+aAEhuA43vB9ZAW22sss9e4SE=";
};
file = "jq.plugin.zsh";
}
];

shellAliases = {
# general
};
};
};
};
}

0 comments on commit 67808df

Please sign in to comment.