commit c659b85f238d5554b98c2653cea4fd86f5ad8f4e Author: Patrick Großmann Date: Mon Mar 20 17:07:05 2023 +0900 init diff --git a/default/flake.nix b/default/flake.nix new file mode 100644 index 0000000..b255dac --- /dev/null +++ b/default/flake.nix @@ -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 + ]; + }; + }); +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..7f3cf19 --- /dev/null +++ b/flake.nix @@ -0,0 +1,12 @@ +{ + description = "A collection of flake templates"; + + outputs = {self}: { + templates = { + default = { + path = ./default; + description = "My own basic flake template"; + }; + }; + }; +}