aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..4fe6a1c
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,18 @@
+{
+ description = "All the components of duckonaut.dev";
+ inputs = {
+ nixpkgs.url = "nixpkgs/nixos-23.05";
+ flake-utils.url = "github:numtide/flake-utils";
+ };
+
+ outputs = { self, nixpkgs, flake-utils }:
+ flake-utils.lib.eachDefaultSystem (system:
+ let
+ pkgs = nixpkgs.legacyPackages.${system};
+ in
+ rec {
+ packages."duckonaut.dev-front" = import ./front.nix { pkgs = pkgs; };
+ packages.default = packages."duckonaut.dev-front";
+ }
+ );
+}