This commit is contained in:
Patrick Großmann 2023-03-20 17:07:05 +09:00
commit c659b85f23
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 35 additions and 0 deletions

23
default/flake.nix Normal file
View file

@ -0,0 +1,23 @@
{
description = "Patrick tolles flake template";
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 {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
st
];
};
});
}

12
flake.nix Normal file
View file

@ -0,0 +1,12 @@
{
description = "A collection of flake templates";
outputs = {self}: {
templates = {
default = {
path = ./default;
description = "My own basic flake template";
};
};
};
}