flake: Set "EDITOR" env var in default mkShell
This commit is contained in:
parent
9286a63198
commit
a9a9eff3a3
1 changed files with 14 additions and 6 deletions
16
flake.nix
16
flake.nix
|
@ -18,12 +18,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, hy3, ... }:
|
outputs = {
|
||||||
let
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
home-manager,
|
||||||
|
hy3,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
homeConfigurations."culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
|
@ -41,6 +45,10 @@
|
||||||
alejandra
|
alejandra
|
||||||
nil
|
nil
|
||||||
];
|
];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
export EDITOR=hx
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue