added some flake templates.

This commit is contained in:
Gabe Venberg 2024-05-22 15:07:45 -05:00
parent 9068858ee4
commit fac5efd7b2
17 changed files with 448 additions and 0 deletions

1
templates/default/.envrc Normal file
View file

@ -0,0 +1 @@
use flake

1
templates/default/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.direnv

View file

@ -0,0 +1,24 @@
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
in
with pkgs; {
devShells.default = mkShell {
buildInputs = [
just
];
};
});
}

View file

@ -0,0 +1,2 @@
default:
just --list