Skip to content

Commit

Permalink
chore: add flake
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN committed Oct 13, 2024
1 parent a52db8d commit cced370
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
description = "Soothing pastel theme to use within your projects!";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

outputs =
inputs:
let
inherit (inputs.nixpkgs) lib;
supportedSystems = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
"aarch64-darwin"
"x86_64-darwin"
];

forAllSystems =
f: lib.genAttrs supportedSystems (system: f inputs.nixpkgs.legacyPackages.${system});
in
{
devShells = forAllSystems (pkgs: {
default = import ./shell.nix { inherit pkgs; };
});
palette = lib.importJSON ./palette.json;
};
}

0 comments on commit cced370

Please sign in to comment.