Add home-manager package to flake outputs
This commit is contained in:
parent
46457dd08a
commit
90ff258200
|
@ -21,6 +21,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
iosevka-custom,
|
iosevka-custom,
|
||||||
|
@ -71,13 +72,13 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
inherit (home-manager) defaultPackage;
|
packages.x86_64-linux = {inherit (home-manager.packages.x86_64-linux) default;};
|
||||||
devShells.x86_64-linux.default = let
|
devShells.x86_64-linux.default = let
|
||||||
pkgs = import nixpkgs {system = "x86_64-linux";};
|
pkgs = import nixpkgs {system = "x86_64-linux";};
|
||||||
in
|
in
|
||||||
pkgs.mkShellNoCC {
|
pkgs.mkShellNoCC {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
home-manager.outputs.packages.x86_64-linux.default
|
self.packages.x86_64-linux.default
|
||||||
pkgs.nil
|
pkgs.nil
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue