add base flake template
This commit is contained in:
commit
6d09d02062
3 changed files with 28 additions and 0 deletions
1
base-flake/.envrc
Normal file
1
base-flake/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
16
base-flake/flake.nix
Normal file
16
base-flake/flake.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = github:NixOS/nixpkgs/nixpkgs-unstable;
|
||||
utils.url = github:numtide/flake-utils;
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils }:
|
||||
utils.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.default = { };
|
||||
});
|
||||
|
||||
}
|
11
flake.nix
Normal file
11
flake.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
description = "My personal templates";
|
||||
|
||||
outputs = { self }: {
|
||||
templates = {
|
||||
path = ./base-flake;
|
||||
description = "An empty flake for each default system";
|
||||
};
|
||||
defaultTemplate = self.templates.base-flake;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue