diff options
author | Stefan Kreutz <mail@skreutz.com> | 2024-04-19 13:11:51 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2024-04-19 13:12:05 +0200 |
commit | 0a0f1a16134a74868e10fc2062996825b7cc41f3 (patch) | |
tree | 6d06b97e64f9747eaf4d82fb3cf5eedeb6d99c04 /flake.nix | |
parent | 41134866c2646092c7baa9e0e545c50354aab934 (diff) | |
download | jotpass-nix.tar |
Add experimental Nix flakenix
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..dfe1752 --- /dev/null +++ b/flake.nix @@ -0,0 +1,20 @@ +{ + description = "A BSD utility to generate random passwords suitable for handwriting"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let pkgs = nixpkgs.legacyPackages.${system}; + in { + overlays.default = import ./overlay.nix; + packages = { + jotpass = pkgs.callPackage ./jotpass.nix {}; + default = self.packages.${system}.jotpass; + }; + } + ); +} |