1
0
Fork 0

improvements

This commit is contained in:
Lukas Wurzinger 2024-04-04 21:05:02 +02:00
parent 8caa32dc30
commit 8eac2df40e
10 changed files with 252 additions and 129 deletions

View file

@ -10,7 +10,7 @@
./fs.nix
./fwupd.nix
./git.nix
./myvim.nix
./neovim.nix
./nix.nix
./opengl.nix
./readline.nix

View file

@ -1,6 +1,6 @@
{
lib,
inputs,
lib,
pkgs,
...
}: {
@ -8,11 +8,6 @@
package = inputs.myvim.packages.${pkgs.system}.default;
in {
systemPackages = [package];
variables = let
name = builtins.baseNameOf (lib.getExe package);
in {
EDITOR = name;
VISUAL = name;
};
variables = lib.genAttrs ["EDITOR" "VISUAL"] (_: lib.getExe package);
};
}