Add ax (axolotl) custom Go package from self-hosted git
This commit is contained in:
4
config/.tmux-setup
Normal file
4
config/.tmux-setup
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
tmux new-window -dn claude claude
|
||||||
|
tmux new-window -dn scratch
|
||||||
|
tmux rename-window editor
|
||||||
|
nvim .
|
||||||
@@ -33,6 +33,9 @@
|
|||||||
# AI
|
# AI
|
||||||
claude-code
|
claude-code
|
||||||
|
|
||||||
|
# Custom packages
|
||||||
|
(pkgs.callPackage ../pkgs/ax {})
|
||||||
|
|
||||||
# Unstable packages (if needed)
|
# Unstable packages (if needed)
|
||||||
# pkgs-unstable.some-package
|
# pkgs-unstable.some-package
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
xdg.configFile.".tmux-setup" = {
|
||||||
|
source = ../../config/.tmux-setup;
|
||||||
|
executable = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
16
pkgs/ax/default.nix
Normal file
16
pkgs/ax/default.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{ pkgs }:
|
||||||
|
|
||||||
|
pkgs.buildGoModule {
|
||||||
|
pname = "ax";
|
||||||
|
version = "0.1.3";
|
||||||
|
|
||||||
|
src = pkgs.fetchgit {
|
||||||
|
url = "https://g.eliaskohout.de/eliaskohout/ax";
|
||||||
|
rev = "v0.1.3";
|
||||||
|
hash = "sha256-IlQMAynwthzcu9YaHgelEEk9KEubmDWBtyp+bkys99M=";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = "ax/src";
|
||||||
|
|
||||||
|
vendorHash = "sha256-+ZC1pQJzt7Cv7whzJ2r8OjWZ1C5MMGgmYYk0BEbPyJU=";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user