mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-15 17:50:51 +00:00
Fix basic flake structure
This makes at least `nix flake show` work and some of the packages.
This commit is contained in:
parent
261094cc01
commit
3c1b9197b0
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@
|
||||||
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
|
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
|
||||||
in {
|
in {
|
||||||
nixosModules.sops = import ./modules/sops;
|
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);
|
defaultPackage = forAllSystems (system: self.packages.${system}.sops-init-gpg-key);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue