improvements
This commit is contained in:
parent
8caa32dc30
commit
8eac2df40e
10 changed files with 252 additions and 129 deletions
|
@ -10,7 +10,7 @@
|
|||
./fs.nix
|
||||
./fwupd.nix
|
||||
./git.nix
|
||||
./myvim.nix
|
||||
./neovim.nix
|
||||
./nix.nix
|
||||
./opengl.nix
|
||||
./readline.nix
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue