diff options
| author | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-02 01:04:54 +0100 |
|---|---|---|
| committer | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-02 01:04:54 +0100 |
| commit | 05dbebd651abf96b9785d43c75b32ca3b3ccfe13 (patch) | |
| tree | 533e066a761fa3057050131a308d2d429dc571ad /flake.nix | |
| parent | 6fd24189446386b5df8846a35fd108a91c7257a5 (diff) | |
nix: add flake and front derivation
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
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"; + } + ); +} |
