feat: add flake (#840)

This commit is contained in:
Isabel authored and GitHub committed 2024-04-24 22:14:37 +01:00
1 parent af722c59b3
commit 4b1807c40b
4 files changed
+162

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
{
description = "Catppuccin userstyles";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
nix-deno.url = "github:nekowinston/nix-deno";
};
outputs = {
nixpkgs,
flake-utils,
...
} @ inputs:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
overlays = [inputs.nix-deno.overlays.default];
};
in {
packages.default = pkgs.callPackage ./nix/default.nix {};
devShells.default = pkgs.callPackage ./nix/shell.nix {};
});
}