Merge pull request 'templates: add template for enw clan' (#20) from flake-template into main

This commit is contained in:
DavHau
2023-07-21 15:13:26 +02:00
committed by Gitea
parent d17ae02a43
commit d99060695f
7 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{
description = "";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
nixpkgs.url = "nixpkgs/nixos-unstable";
};
outputs = inputs @ { flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = builtins.fromJSON (builtins.readFile ./systems.json);
imports =
let
relPaths = builtins.fromJSON (builtins.readFile ./imports.json);
paths = map (path: ./. + path) relPaths;
in
paths;
};
}