fix: nixosModules missing

This commit is contained in:
Clansty 2023-01-15 21:20:34 +08:00
parent da92750f7d
commit 3b1943961a
1 changed files with 21 additions and 20 deletions

View File

@ -7,8 +7,9 @@
nix2container.url = "github:nlewo/nix2container";
};
outputs = { self, nixpkgs, flake-utils, nix2container }:
flake-utils.lib.eachDefaultSystem
(system:
{
nixosModules.default = import ./nixos/module.nix { inherit self; };
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
flakePkgs = self.packages.${system};