global(fs): add f2fs and zfs
This commit is contained in:
parent
4c1cded852
commit
453acac7ec
3 changed files with 55 additions and 1 deletions
10
global/fs/f2fs.nix
Normal file
10
global/fs/f2fs.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
cfg = config.global.fs;
|
||||
in mkIf (cfg.type == "f2fs") {
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-uuid/${cfg.store}";
|
||||
fsType = "f2fs";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue