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 = { 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
]; ];
}; };