Compare commits

...

7 Commits

6 changed files with 48 additions and 27 deletions
@@ -168,20 +168,12 @@ return {
-- - 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/
local servers = {
lua_ls = {
settings = {
Lua = {
completion = {
callSnippet = 'Replace',
},
},
},
},
lua_ls = { settings = { Lua = { completion = { callSnippet = 'Replace' } } } },
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)
return not servers_skip_mason[name]
end, vim.tbl_keys(servers or {}))
Generated
+12 -12
View File
@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1773889306,
"narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=",
"lastModified": 1776613567,
"narHash": "sha256-gC9Cp5ibBmGD5awCA9z7xy6MW6iJufhazTYJOiGlCUI=",
"owner": "nix-community",
"repo": "disko",
"rev": "5ad85c82cc52264f4beddc934ba57f3789f28347",
"rev": "32f4236bfc141ae930b5ba2fb604f561fed5219d",
"type": "github"
},
"original": {
@@ -61,11 +61,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1776067740,
"narHash": "sha256-B35lpsqnSZwn1Lmz06BpwF7atPgFmUgw1l8KAV3zpVQ=",
"lastModified": 1777077449,
"narHash": "sha256-AIiMJiqvGrN4HyLEbKAoCSRRYn0rnlW5VbKNIMIYqm4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7e495b747b51f95ae15e74377c5ce1fe69c1765f",
"rev": "a4bf06618f0b5ee50f14ed8f0da77d34ecc19160",
"type": "github"
},
"original": {
@@ -77,11 +77,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1775710090,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
"lastModified": 1776877367,
"narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa",
"rev": "0726a0ecb6d4e08f6adced58726b95db924cef57",
"type": "github"
},
"original": {
@@ -108,11 +108,11 @@
]
},
"locked": {
"lastModified": 1776119890,
"narHash": "sha256-Zm6bxLNnEOYuS/SzrAGsYuXSwk3cbkRQZY0fJnk8a5M=",
"lastModified": 1776771786,
"narHash": "sha256-DRFGPfFV6hbrfO9a1PH1FkCi7qR5FgjSqsQGGvk1rdI=",
"owner": "mic92",
"repo": "sops-nix",
"rev": "d4971dd58c6627bfee52a1ad4237637c0a2fb0cd",
"rev": "bef289e2248991f7afeb95965c82fbcd8ff72598",
"type": "github"
},
"original": {
+10 -1
View File
@@ -28,6 +28,7 @@
tldr
htop
iotop
just
# Container tools
podman
podman-compose
@@ -35,6 +36,10 @@
claude-code
opencode
# C++ stdlib and zlib for Python venv native extensions
pkgs.stdenv.cc.cc.lib
pkgs.zlib
# Custom packages
(pkgs.callPackage ../pkgs/ax {})
@@ -68,9 +73,13 @@
xdg.configFile."ax/config.json".text = builtins.toJSON {
remote = {
host = "blackpearl.n.eliaskohout.de";
host = "ax.n.eliaskohout.de";
port = 7000;
};
aliases = [
{ name = "bai"; command = "list --namespace ba --type issue --status open"; }
{ name = "ban"; command = "list --namespace ba --type note"; }
];
};
# HM Modules
+3 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
{
programs.fzf = {
@@ -21,6 +21,8 @@
};
initContent = ''
export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.zlib}/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
autoload -Uz vcs_info
precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b'
+1
View File
@@ -8,6 +8,7 @@
networking.hostName = "macvm-nix";
networking.domain = "";
networking.interfaces.enp0s1.mtu = 1400;
# Disko: Auto-partitioning configuration
disko.devices = {
+19 -2
View File
@@ -15,7 +15,7 @@
languagePackages = {
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 ];
go = with pkgs; [ go golangci-lint ];
ruby = with pkgs; [ ruby bundler ];
@@ -24,6 +24,14 @@
selectedPackages =
lib.concatMap (lang: languagePackages.${lang} or []) cfg.languages;
# C/C++ libraries needed for compiled Python packages (numpy, etc.)
pythonDevLibraries = with pkgs;
lib.optionals (lib.elem "python" cfg.languages) [
glibc
stdenv.cc.cc.lib
libxcrypt
];
in lib.mkIf cfg.enable {
# Core development tools
@@ -37,7 +45,16 @@
cmake
ripgrep
jq
] ++ selectedPackages;
] ++ selectedPackages ++ pythonDevLibraries;
# Set library paths for venv compatibility with compiled packages
environment.variables = lib.mkIf (lib.elem "python" cfg.languages) {
LD_LIBRARY_PATH = lib.makeLibraryPath (with pkgs; [
glibc
stdenv.cc.cc.lib
libxcrypt
]);
};
# Enable container support (optional)
#virtualisation.docker.enable = true;