1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

Fix basic flake structure

This makes at least `nix flake show` work and some of the packages.
This commit is contained in:
Eduard Bopp 2021-01-26 13:25:51 +01:00
parent 261094cc01
commit 3c1b9197b0

View file

@ -13,7 +13,9 @@
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in {
nixosModules.sops = import ./modules/sops;
packages = forAllSystems (system: nixpkgs.legacyPackages.${system}.callPackage ./default.nix {});
packages = forAllSystems (system: import ./default.nix {
pkgs = import nixpkgs { inherit system; };
});
defaultPackage = forAllSystems (system: self.packages.${system}.sops-init-gpg-key);
};
}