Skip to content

Commit

Permalink
nix: add & use packages.tailray; alias default to tailray
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Jul 28, 2024
1 parent fc87440 commit d9ad499
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
});

packages = forEachSystem (system: {
default = pkgsForEach.${system}.callPackage ./nix/package.nix {};
tailray = pkgsForEach.${system}.callPackage ./nix/package.nix {};
default = self.packages.${system}.tailray;
});

homeManagerModules = {
Expand Down
2 changes: 1 addition & 1 deletion nix/hm-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ in {
package =
mkPackageOption pkgs "tailray" {}
// {
default = self.packages.${pkgs.system}.default;
default = self.packages.${pkgs.system}.tailray;
};
};

Expand Down

0 comments on commit d9ad499

Please sign in to comment.