summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-01-26 15:38:38 -0600
committerAlejandro Soto <alejandro@34project.org>2025-01-26 15:42:00 -0600
commit71226ec478b71daf6a0e7d151514083feb1ca18f (patch)
treebc627785e7ad45a10b1ccc9d2c116d8412f576d4 /flake.nix
parent38c2e6d4c7bb4d78cf4c2069a7a22dac7ed00352 (diff)
templates: add 'system-flake' template
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 05ffad2..2318aa0 100644
--- a/flake.nix
+++ b/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 {