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
|
, 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 = {
|
boot = {
|
||||||
supportedFilesystems = [ "bcachefs" "vfat" ];
|
supportedFilesystems = [ "bcachefs" "vfat" ];
|
||||||
initrd.supportedFilesystems = [ "bcachefs" "vfat" ];
|
initrd.supportedFilesystems = [ "bcachefs" "vfat" ];
|
||||||
|
@ -53,11 +62,11 @@
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options = smb_opts;
|
options = smb_opts;
|
||||||
};
|
};
|
||||||
"/mnt/media_v2" = {
|
# "/mnt/media_v2" = {
|
||||||
device = "root@23.88.68.113:/media_v2";
|
# device = "root@23.88.68.113:/media_v2";
|
||||||
fsType = "sshfs";
|
# fsType = "sshfs";
|
||||||
options = sshfs_opts;
|
# options = sshfs_opts;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
system.fsPackages = [ pkgs.sshfs ];
|
system.fsPackages = [ pkgs.sshfs ];
|
||||||
|
|
Loading…
Add table
Reference in a new issue