summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorLeo Goetz <dev@leogtz.de>2026-05-08 15:37:39 +0200
committerLeo Goetz <dev@leogtz.de>2026-05-08 15:37:39 +0200
commitd4f98e2d1f85fbdffa2470071e22bba2dacc00c0 (patch)
tree02aff46bd5791d1eddca4432f89bc44945b8b033 /flake.nix
inital commitHEADmaster
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..8d68087
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,28 @@
+{
+ description = "Leo Götz's portfolio website";
+
+ inputs = {
+ flake-parts.url = "github:hercules-ci/flake-parts";
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+ };
+
+ outputs =
+ inputs@{ flake-parts, ... }:
+ flake-parts.lib.mkFlake { inherit inputs; } {
+ systems = [
+ "x86_64-linux"
+ "aarch64-linux"
+ "aarch64-darwin"
+ "x86_64-darwin"
+ ];
+
+ perSystem =
+ {
+ pkgs,
+ ...
+ }:
+ {
+ packages.default = pkgs.callPackage ./nix/package.nix { };
+ };
+ };
+}