mirror of
https://github.com/Misterio77/nix-starter-configs.git
synced 2026-08-24 02:34:12 -05:00
36 lines
978 B
Nix
36 lines
978 B
Nix
{
|
|
description = "NixOS + standalone home-manager config flakes to get you started!";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
|
};
|
|
|
|
outputs = {nixpkgs, ...}: let
|
|
forAllSystems = nixpkgs.lib.genAttrs [
|
|
"aarch64-linux"
|
|
"i686-linux"
|
|
"x86_64-linux"
|
|
"aarch64-darwin"
|
|
"x86_64-darwin"
|
|
];
|
|
in {
|
|
templates = {
|
|
minimal = {
|
|
description = ''
|
|
Minimal flake - contains only the configs.
|
|
Contains the bare minimum to migrate your existing legacy configs to flakes.
|
|
'';
|
|
path = ./minimal;
|
|
};
|
|
standard = {
|
|
description = ''
|
|
Standard flake - augmented with boilerplate for custom packages, overlays, and reusable modules.
|
|
Perfect migration path for when you want to dive a little deeper.
|
|
'';
|
|
path = ./standard;
|
|
};
|
|
};
|
|
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
|
|
};
|
|
}
|