Skip to content

Commit

Permalink
trino cli
Browse files Browse the repository at this point in the history
  • Loading branch information
esselius committed Sep 4, 2024
1 parent c4c4ca9 commit 818e395
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions home-configurations/peteresselius.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ in
k8s = true;
minio = true;
task = true;
trino = true;
};

programs.fish.shellInit = ''
Expand Down
7 changes: 7 additions & 0 deletions home-modules/profiles/tools/work.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ in
k8s = lib.mkEnableOption "Install k8s packages & set shell config";
minio = lib.mkEnableOption "Install minio packages";
task = lib.mkEnableOption "Install task tab completion";
trino = lib.mkEnableOption "Install trino packages";
};

config = mkMerge [
Expand Down Expand Up @@ -65,5 +66,11 @@ in
(mkIf cfg.task {
xdg.configFile."fish/completions/task.fish".source = "${pkgs.go-task}/share/fish/vendor_completions.d/task.fish";
})

(mkIf cfg.trino {
home.packages = with pkgs; [
trino-cli
];
})
];
}

0 comments on commit 818e395

Please sign in to comment.