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
20
flake.nix
20
flake.nix
|
@ -18,12 +18,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, hy3, ... }:
|
outputs = {
|
||||||
let
|
self,
|
||||||
system = "x86_64-linux";
|
nixpkgs,
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
home-manager,
|
||||||
in
|
hy3,
|
||||||
{
|
...
|
||||||
|
}: let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
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