Switched package lists from with syntax to explicit

Appranently, the use of `with` for this is discouraged as it can cause
some kinds of compilation/linking issues. Switching to explicit
declaration is a bit more verbose, but probably makes organising into
modules easier in the long run anyway.
This commit is contained in:
2025-04-14 10:58:46 +01:00
parent c487bf5807
commit 51f65717a1
6 changed files with 303 additions and 320 deletions
+17 -20
View File
@@ -7,24 +7,21 @@
unstablePkgs,
...
}: {
home.packages =
(with pkgs; [
(python3.withPackages (
python-pkgs: [
python-pkgs.pip
python-pkgs.pkginfo
python-pkgs.python-lsp-server
python-pkgs.setuptools
]
))
lua54Packages.lua
luajitPackages.luarocks
nodejs-slim
sops
stylua
])
++ (with unstablePkgs; [
podman-tui
vimPlugins.mason-lspconfig-nvim
]);
home.packages = [
(pkgs.python3.withPackages (
python-pkgs: [
python-pkgs.pip
python-pkgs.pkginfo
python-pkgs.python-lsp-server
python-pkgs.setuptools
]
))
pkgs.lua54Packages.lua
pkgs.luajitPackages.luarocks
pkgs.nodejs-slim
pkgs.sops
pkgs.stylua
unstablePkgs.podman-tui
unstablePkgs.vimPlugins.mason-lspconfig-nvim
];
}