nix-config/modules/disko.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
875 B
Nix
Raw Normal View History

2023-04-29 23:03:39 +02:00
{ lib, ... }:
# none functional until https://github.com/nix-community/disko/issues/219 is resolved
{
options.disko = {
name = lib.mkOption {
type = lib.types.str;
example = "chaos";
description = "Machine name used in eg zpool name.";
};
rootDisk = lib.mkOption {
type = lib.types.str;
example = "/dev/sda";
description = "Path of the root disk.";
};
enableCeph = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Wether to include a ceph on the root disk.";
};
enableLuks = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Wether to encrypt the root disk.";
};
enableZfs = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Wether to include a zfs on the root disk.";
};
};
}