diff options
| -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) ]; +} + |
