From 17d061325dc9e9b614784c2ef799470d2b78fa18 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 28 Mar 2026 14:30:01 -0500 Subject: add zfs profile --- archetypes/profiles/zfs/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 archetypes/profiles/zfs/default.nix (limited to 'archetypes/profiles/zfs') diff --git a/archetypes/profiles/zfs/default.nix b/archetypes/profiles/zfs/default.nix new file mode 100644 index 0000000..fdf3561 --- /dev/null +++ b/archetypes/profiles/zfs/default.nix @@ -0,0 +1,14 @@ +{ lib, pkgs, ... }: let + mkZfs = lib.mkOverride 810; + + # https://wiki.nixos.org/wiki/ZFS + nixosConfig = { + boot._loader.grub.zfsSupport = mkZfs true; + boot._loader.mode = mkZfs "efi"; + }; + + homeConfig = {}; +in { + imports = [ (lib._mkProfileArchetype "router" nixosConfig homeConfig) ]; +} + -- cgit v1.2.3