feat: initial flake

This commit is contained in:
Felix Schröter 2025-02-19 13:22:17 +01:00
commit 5ec0d447cf
Signed by: felschr
GPG key ID: 671E39E6744C807D
4 changed files with 96 additions and 0 deletions

31
flake.nix Normal file
View file

@ -0,0 +1,31 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
inputs:
inputs.flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import inputs.nixpkgs { inherit system; };
in
{
devShells = {
default = pkgs.mkShell {
name = "felschr-cv";
buildInputs = with pkgs; [
typst
tinymist
nixfmt-rfc-style
];
};
};
formatter = pkgs.nixfmt-rfc-style;
}
);
}