diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-03-28 14:30:01 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-03-28 14:30:01 -0500 |
| commit | 17d061325dc9e9b614784c2ef799470d2b78fa18 (patch) | |
| tree | abee76a4e5b650141c14e6c3968cad37d8bf22c6 /archetypes | |
| parent | a4b29cda0219ea101d2460bc17a27b767a09c4f9 (diff) | |
| download | nixos-17d061325dc9e9b614784c2ef799470d2b78fa18.tar.xz nixos-17d061325dc9e9b614784c2ef799470d2b78fa18.zip | |
add zfs profile
Diffstat (limited to 'archetypes')
| -rw-r--r-- | archetypes/profiles/zfs/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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) ]; +} + |
