1
0
Fork 0
forked from auxolotl/templates
auxolotl-templates/flake.nix

41 lines
954 B
Nix
Raw Normal View History

{
description = "Templates for getting started with Aux";
inputs.nixpkgs.url = "github:auxolotl/nixpkgs/nixpkgs-unstable";
outputs =
{ self, nixpkgs }:
let
forAllSystems =
function:
nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
2024-05-01 21:38:50 +00:00
] (system: function nixpkgs.legacyPackages.${system});
in
{
templates = {
default = self.templates.system;
system = {
path = ./system;
description = "";
};
home-manager = {
path = ./home-manager;
description = "";
};
darwin = {
path = ./darwin;
description = "";
};
2024-05-02 08:05:49 +00:00
direnv = {
path = ./direnv;
description = "An empty devshell with direnv support";
};
};
2024-05-01 21:38:50 +00:00
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
};
}