replace variant argument with modules
All checks were successful
/ build-all (push) Successful in 1m18s

This commit is contained in:
Antoine Vaure 2025-09-03 16:11:05 +02:00
parent f2608d0a82
commit 1a0086f941
13 changed files with 586 additions and 577 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, variant, pkgs-unstable, ... }: {
{ lib, config, pkgs, pkgs-unstable, ... }: {
home.packages = with pkgs; [
entr
trash-cli
@ -21,7 +21,7 @@
viAlias = true;
defaultEditor = true;
package = pkgs-unstable.neovim-unwrapped;
extraPackages = (with pkgs; [
extraPackages = with pkgs; [
nodejs_24
ocamlPackages.lsp
ocamlPackages.ocamlformat
@ -33,7 +33,8 @@
ocamlPackages.ocaml-lsp
pyright
ripgrep
]) ++ (if variant != "allegro" then [ pkgs.gcc ] else [] );
gcc
];
};
xdg.mimeApps.defaultApplications = { "text/plain" = "nvim.desktop"; };