cleanup
This commit is contained in:
parent
1487c708c1
commit
d61e17b73a
7 changed files with 29 additions and 23 deletions
17
common/helix.nix
Normal file
17
common/helix.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
package = inputs.hxwrap.packages.${pkgs.system}.default;
|
||||
in {
|
||||
environment.systemPackages = [package];
|
||||
|
||||
environment.sessionVariables = let
|
||||
exe = builtins.baseNameOf (lib.getExe package);
|
||||
in {
|
||||
EDITOR = exe;
|
||||
VISUAL = exe;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue