1
Fork 0
mirror of https://github.com/RGBCube/agenix synced 2025-07-29 01:37:44 +00:00

add flake and default .nix files; add agenix command

This commit is contained in:
Ryan Mulligan 2020-09-03 11:24:33 -07:00
parent 4c2fd23693
commit 79244b4fc3
6 changed files with 205 additions and 20 deletions

View file

@ -12,7 +12,7 @@
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in {
nixosModules.age = import ./modules/age.nix;
# packages = forAllSystems (system: nixpkgs.legacyPackages.${system}.callPackage ./default.nix {});
# defaultPackage = forAllSystems (system: self.packages.${system}.age-nix); #
packages = forAllSystems (system: nixpkgs.legacyPackages.${system}.callPackage ./default.nix {});
defaultPackage = forAllSystems (system: self.packages.${system}.agenix);
};
}