Compare commits

...

5 Commits

Author SHA1 Message Date
eliaskohout 3850a28fe4 add ax aliases 2026-05-12 14:29:09 +02:00
eliaskohout 8a2d2ec447 update lsp config for nvim 2026-05-12 12:25:20 +02:00
eliaskohout 1ac072847d add alternative url for ax; add ruff package; 2026-05-10 23:41:48 +02:00
eliaskohout de998f285a update packages 2026-04-26 23:53:07 +02:00
eliaskohout 44d9cc1498 Add just tool and zlib for Python venv extensions 2026-04-17 22:35:13 +02:00
5 changed files with 26 additions and 30 deletions
@@ -168,20 +168,12 @@ return {
-- - settings (table): Override the default settings passed when initializing the server. -- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = { local servers = {
lua_ls = { lua_ls = { settings = { Lua = { completion = { callSnippet = 'Replace' } } } },
settings = {
Lua = {
completion = {
callSnippet = 'Replace',
},
},
},
},
gopls = {}, gopls = {},
pylsp = {}, ruff = { cmd = { '/run/current-system/sw/bin/ruff', 'server' } },
} }
local servers_skip_mason = { lua_ls = true, gopls = true } local servers_skip_mason = { lua_ls = true, gopls = true, ruff = true }
local ensure_installed = vim.tbl_filter(function(name) local ensure_installed = vim.tbl_filter(function(name)
return not servers_skip_mason[name] return not servers_skip_mason[name]
end, vim.tbl_keys(servers or {})) end, vim.tbl_keys(servers or {}))
Generated
+12 -12
View File
@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773889306, "lastModified": 1776613567,
"narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=", "narHash": "sha256-gC9Cp5ibBmGD5awCA9z7xy6MW6iJufhazTYJOiGlCUI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "5ad85c82cc52264f4beddc934ba57f3789f28347", "rev": "32f4236bfc141ae930b5ba2fb604f561fed5219d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -61,11 +61,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1776067740, "lastModified": 1777077449,
"narHash": "sha256-B35lpsqnSZwn1Lmz06BpwF7atPgFmUgw1l8KAV3zpVQ=", "narHash": "sha256-AIiMJiqvGrN4HyLEbKAoCSRRYn0rnlW5VbKNIMIYqm4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7e495b747b51f95ae15e74377c5ce1fe69c1765f", "rev": "a4bf06618f0b5ee50f14ed8f0da77d34ecc19160",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -77,11 +77,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1775710090, "lastModified": 1776877367,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa", "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -108,11 +108,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1776119890, "lastModified": 1776771786,
"narHash": "sha256-Zm6bxLNnEOYuS/SzrAGsYuXSwk3cbkRQZY0fJnk8a5M=", "narHash": "sha256-DRFGPfFV6hbrfO9a1PH1FkCi7qR5FgjSqsQGGvk1rdI=",
"owner": "mic92", "owner": "mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "d4971dd58c6627bfee52a1ad4237637c0a2fb0cd", "rev": "bef289e2248991f7afeb95965c82fbcd8ff72598",
"type": "github" "type": "github"
}, },
"original": { "original": {
+8 -2
View File
@@ -28,6 +28,7 @@
tldr tldr
htop htop
iotop iotop
just
# Container tools # Container tools
podman podman
podman-compose podman-compose
@@ -35,8 +36,9 @@
claude-code claude-code
opencode opencode
# C++ stdlib for Python venv native extensions # C++ stdlib and zlib for Python venv native extensions
pkgs.stdenv.cc.cc.lib pkgs.stdenv.cc.cc.lib
pkgs.zlib
# Custom packages # Custom packages
(pkgs.callPackage ../pkgs/ax {}) (pkgs.callPackage ../pkgs/ax {})
@@ -71,9 +73,13 @@
xdg.configFile."ax/config.json".text = builtins.toJSON { xdg.configFile."ax/config.json".text = builtins.toJSON {
remote = { remote = {
host = "blackpearl.n.eliaskohout.de"; host = "ax.n.eliaskohout.de";
port = 7000; port = 7000;
}; };
aliases = [
{ name = "bai"; command = "list --namespace ba --type issue --status open"; }
{ name = "ban"; command = "list --namespace ba --type note"; }
];
}; };
# HM Modules # HM Modules
+2 -4
View File
@@ -21,6 +21,8 @@
}; };
initContent = '' initContent = ''
export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.zlib}/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
autoload -Uz vcs_info autoload -Uz vcs_info
precmd() { vcs_info } precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b' zstyle ':vcs_info:git:*' formats '%b'
@@ -28,10 +30,6 @@
PROMPT='%F{green}%n@%m%f:%F{blue}%~%f %F{240}''${vcs_info_msg_0_}%f %# ' PROMPT='%F{green}%n@%m%f:%F{blue}%~%f %F{240}''${vcs_info_msg_0_}%f %# '
''; '';
sessionVariables = {
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
};
shellAliases = { shellAliases = {
cat = "bat"; cat = "bat";
}; };
+1 -1
View File
@@ -15,7 +15,7 @@
languagePackages = { languagePackages = {
rust = with pkgs; [ rustup cargo-deny cargo-edit ]; rust = with pkgs; [ rustup cargo-deny cargo-edit ];
python = with pkgs; [ python3 python3Packages.pip python3Packages.virtualenv uv mypy ]; python = with pkgs; [ python3 python3Packages.pip python3Packages.virtualenv uv mypy ruff ];
nodejs = with pkgs; [ nodejs pnpm ]; nodejs = with pkgs; [ nodejs pnpm ];
go = with pkgs; [ go golangci-lint ]; go = with pkgs; [ go golangci-lint ];
ruby = with pkgs; [ ruby bundler ]; ruby = with pkgs; [ ruby bundler ];