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, ... }: 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
'';
}; };
}; };
} }