Samuel Shuert
3f3ac4306b
Available templates include the following: - system: flake based system similar to the default when starting nix. - darwin: flake based darwin system with ajusted nixpkgs and modules to better suit it. - home-manager: flake and home manager for non darwin systems. Co-Authored-by: isabelroses <isabel@isabelroses.com> Co-Authored-by: Skyler Grey <minion@clicks.codes> Co-Authored-by: Sigmanificient <edhyjox@gmail.com> Co-Authored-by: AxelSilverdew <7677954+AxelSilverdew@users.noreply.github.com>
37 lines
836 B
Nix
37 lines
836 B
Nix
{
|
|
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"
|
|
] (system: function system);
|
|
in
|
|
{
|
|
templates = {
|
|
default = self.templates.direnv;
|
|
system = {
|
|
path = ./system;
|
|
description = "";
|
|
};
|
|
home-manager = {
|
|
path = ./home-manager;
|
|
description = "";
|
|
};
|
|
darwin = {
|
|
path = ./darwin;
|
|
description = "";
|
|
};
|
|
};
|
|
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style);
|
|
};
|
|
}
|