refactor some things, might have broken everything

This commit is contained in:
2026-06-15 02:21:03 +02:00
parent 73e25a00b6
commit 08a5db8508
61 changed files with 1013 additions and 1103 deletions

13
osConfigs/modules/zfs.nix Normal file
View File

@ -0,0 +1,13 @@
{ pkgs, config, lib, ... }:
{
options.mods.zfs.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "does this system support zfs filesystems";
};
config = lib.mkIf config.mods.zfs.enable {
boot.kernelPackages = pkgs.linuxPackages;
boot.supportedFilesystems = [ "zfs" ];
};
}