forked from fabian/nix_config
templates: add 'system-flake' template
This commit is contained in:
parent
4b8609385a
commit
3a3d73d5b6
15 changed files with 212 additions and 0 deletions
11
flake.nix
11
flake.nix
|
@ -18,6 +18,17 @@
|
|||
formatter = (import nixpkgs {inherit system;}).alejandra;
|
||||
})
|
||||
// {
|
||||
templates = let
|
||||
system-flake = {
|
||||
path = ./templates/system-flake;
|
||||
description = "Opinionated flake for a NixOS system with Home Manager";
|
||||
};
|
||||
in {
|
||||
inherit system-flake;
|
||||
|
||||
default = system-flake;
|
||||
};
|
||||
|
||||
overlays = let
|
||||
overlay = mapOverlayOverride "trivium" (import ./pkgs);
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue