refactor(modules/hardware/drives): move disko config to a module

This commit is contained in:
Mohammad Rafiq 2025-05-18 14:33:22 +08:00
parent 67768361c2
commit 2cd82e2e2a
3 changed files with 56 additions and 33 deletions

View file

@ -0,0 +1,15 @@
{lib,...}:
{
imports = [
./btrfs.nix
];
options = {
hardware.drives.btrfs.enable = lib.mkEnableOption "";
hardware.drives.btrfs.drive = lib.mkOption {
type = lib.types.str;
default = "";
};
hardware.drives.btrfs.ephemeralRoot = lib.mkEnableOption "";
};
}