30 lines
577 B
Nix
30 lines
577 B
Nix
{
|
|
description = "Self Host Playbook!";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = {nixpkgs, ...}: let
|
|
systems = [
|
|
"aarch64-linux"
|
|
"i686-linux"
|
|
"x86_64-linux"
|
|
"aarch64-darwin"
|
|
"x86_64-darwin"
|
|
];
|
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
|
in {
|
|
templates = {
|
|
starter = {
|
|
description = ''
|
|
Description here!
|
|
'';
|
|
path = ./starter;
|
|
};
|
|
};
|
|
formatter =
|
|
forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
|
|
};
|
|
}
|