Skip to content

Commit

Permalink
wip: cleaned up outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
brynblack committed Aug 22, 2024
1 parent ba11c82 commit b00552f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,9 @@
default = shell { ci = false; };
ci = shell { ci = true; };
};
}) // (import ./modules.nix { inherit nixpkgs-matrix; });
}) // (let modules = import ./modules.nix { inherit nixpkgs-matrix; };
in {
nixosModules.default = modules.polykey;
homeModules.default = modules.polykey-home;
});
}
4 changes: 2 additions & 2 deletions modules.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ nixpkgs-matrix, ... }:

{
nixosModules.default = { config, ... }:
polykey = { config, ... }:
with nixpkgs-matrix.lib; {
options = {
services.polykey = {
Expand Down Expand Up @@ -82,7 +82,7 @@
};
};
};
homeManagerModules.default = { config, ... }:
polykey-home = { config, ... }:
with nixpkgs-matrix;
with lib; {
options = {
Expand Down

0 comments on commit b00552f

Please sign in to comment.