diff options
| author | Leo Goetz <dev@leogtz.de> | 2026-05-08 15:43:50 +0200 |
|---|---|---|
| committer | Leo Goetz <dev@leogtz.de> | 2026-05-08 15:43:50 +0200 |
| commit | b2bd3587bfd42ec8efdab12f090996f600720c0d (patch) | |
| tree | fbb55b716b592032ebbdb5448bfba0b49a609d17 /flake.nix | |
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..e89f25e --- /dev/null +++ b/flake.nix @@ -0,0 +1,32 @@ +{ + description = "Leos Vcard Generator"; + + inputs = { + flake-parts.url = "github:hercules-ci/flake-parts"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + devshell.url = "github:numtide/devshell"; + }; + + outputs = + inputs@{ flake-parts, ... }: + flake-parts.lib.mkFlake { inherit inputs; } { + imports = [ + inputs.devshell.flakeModule + ]; + systems = [ + "x86_64-linux" + "aarch64-linux" + "aarch64-darwin" + "x86_64-darwin" + ]; + + perSystem = + { + pkgs, + ... + }: + { + packages.default = pkgs.callPackage ./nix/package.nix { }; + }; + }; +} |
