Add bcachefs format cmd
This commit is contained in:
parent
9d53bbe102
commit
441c928bee
1 changed files with 14 additions and 5 deletions
|
@ -6,6 +6,15 @@
|
|||
, inputs
|
||||
, ...
|
||||
}: {
|
||||
|
||||
# bcachefs format \
|
||||
# --discard \
|
||||
# --metadata_replicas=2
|
||||
# --data_replicas=1
|
||||
# --label=ssd.ssd_2t /dev/mapper/crypted_ssd_2t \
|
||||
# --label=ssd.ssd_4t /dev/mapper/crypted_ssd_4t \
|
||||
# --background_compression=zstd
|
||||
|
||||
boot = {
|
||||
supportedFilesystems = [ "bcachefs" "vfat" ];
|
||||
initrd.supportedFilesystems = [ "bcachefs" "vfat" ];
|
||||
|
@ -53,11 +62,11 @@
|
|||
fsType = "cifs";
|
||||
options = smb_opts;
|
||||
};
|
||||
"/mnt/media_v2" = {
|
||||
device = "root@23.88.68.113:/media_v2";
|
||||
fsType = "sshfs";
|
||||
options = sshfs_opts;
|
||||
};
|
||||
# "/mnt/media_v2" = {
|
||||
# device = "root@23.88.68.113:/media_v2";
|
||||
# fsType = "sshfs";
|
||||
# options = sshfs_opts;
|
||||
# };
|
||||
};
|
||||
|
||||
system.fsPackages = [ pkgs.sshfs ];
|
||||
|
|
Loading…
Add table
Reference in a new issue