feat(fs): add f2fs and zfs
This commit is contained in:
parent
da90dbc46e
commit
4d31fbbe2a
3 changed files with 55 additions and 1 deletions
|
@ -6,19 +6,22 @@
|
|||
in {
|
||||
imports = [
|
||||
./ext4.nix
|
||||
./f2fs.nix
|
||||
./xfs.nix
|
||||
./zfs.nix
|
||||
#./bcachefs.nix
|
||||
./btrfs.nix
|
||||
];
|
||||
|
||||
options.global.fs = {
|
||||
type = mkOption {
|
||||
type = with types; enum [ "ext4" "xfs" "bcachefs" "btrfs" ];
|
||||
type = with types; enum [ "ext4" "f2fs" "xfs" "zfs" "bcachefs" "btrfs" ];
|
||||
default = "bcachefs";
|
||||
description = "filesystem type to use for persistent state storage";
|
||||
};
|
||||
store = mkOption {
|
||||
type = with types; str;
|
||||
default = config.networking.hostName;
|
||||
description = "UUID/dataset of nix store backing device";
|
||||
};
|
||||
esp = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue