flake: Set "EDITOR" env var in default mkShell

This commit is contained in:
GaspardCulis 2024-09-20 07:20:19 +00:00
parent 9286a63198
commit a9a9eff3a3

View file

@ -18,12 +18,16 @@
};
};
outputs = { self, nixpkgs, home-manager, hy3, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
outputs = {
self,
nixpkgs,
home-manager,
hy3,
...
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations."culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
@ -41,6 +45,10 @@
alejandra
nil
];
shellHook = ''
export EDITOR=hx
'';
};
};
}