Add home-manager package to flake outputs

This commit is contained in:
Evie Litherland-Smith 2024-05-15 08:38:45 +01:00
parent 46457dd08a
commit 90ff258200

View file

@ -21,6 +21,7 @@
};
outputs = {
self,
nixpkgs,
home-manager,
iosevka-custom,
@ -71,13 +72,13 @@
})
];
in {
inherit (home-manager) defaultPackage;
packages.x86_64-linux = {inherit (home-manager.packages.x86_64-linux) default;};
devShells.x86_64-linux.default = let
pkgs = import nixpkgs {system = "x86_64-linux";};
in
pkgs.mkShellNoCC {
nativeBuildInputs = [
home-manager.outputs.packages.x86_64-linux.default
self.packages.x86_64-linux.default
pkgs.nil
];
};