Revert "modules/nixos/disko-raid: add option for filesystem type"
This reverts commit 36125d58aa
.
This commit is contained in:
parent
fbb9cd80bb
commit
627518cefd
1 changed files with 1 additions and 6 deletions
|
@ -36,11 +36,6 @@ in
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
];
|
];
|
||||||
options = {
|
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 {
|
nixCommunity.disko.raidLevel = lib.mkOption {
|
||||||
type = lib.types.int;
|
type = lib.types.int;
|
||||||
default = 1;
|
default = 1;
|
||||||
|
@ -70,7 +65,7 @@ in
|
||||||
level = config.nixCommunity.disko.raidLevel;
|
level = config.nixCommunity.disko.raidLevel;
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = config.nixCommunity.disko.fsType;
|
format = "ext4";
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue