Revert "modules/nixos/disko-raid: add option for filesystem type"

This reverts commit 36125d58aa.
This commit is contained in:
zowoq 2024-04-07 08:13:12 +10:00
parent fbb9cd80bb
commit 627518cefd

View file

@ -36,11 +36,6 @@ in
inputs.disko.nixosModules.disko
];
options = {
nixCommunity.disko.fsType = lib.mkOption {
type = lib.types.enum [ "btrfs" "ext4" ];
default = "ext4";
description = "Type of filesystem to use";
};
nixCommunity.disko.raidLevel = lib.mkOption {
type = lib.types.int;
default = 1;
@ -70,7 +65,7 @@ in
level = config.nixCommunity.disko.raidLevel;
content = {
type = "filesystem";
format = config.nixCommunity.disko.fsType;
format = "ext4";
mountpoint = "/";
};
};