add 1tbssd
This commit is contained in:
@@ -72,14 +72,14 @@ in mkIf cfg.enable {
|
|||||||
# pruneOpts = [ "--keep-daily 7" "--keep-weekly 3" "--keep-monthly 3" "--keep-yearly 3" ];
|
# pruneOpts = [ "--keep-daily 7" "--keep-weekly 3" "--keep-monthly 3" "--keep-yearly 3" ];
|
||||||
# repository = "/mnt/2tb/restic";
|
# repository = "/mnt/2tb/restic";
|
||||||
#};
|
#};
|
||||||
#localbackup-1tb-ssd = {
|
localbackup-1tb-ssd = {
|
||||||
# initialize = true;
|
initialize = true;
|
||||||
# passwordFile = config.age.secrets.restic-pw.path;
|
passwordFile = config.age.secrets.restic-pw.path;
|
||||||
# exclude = cfg.excludePaths;
|
exclude = cfg.excludePaths;
|
||||||
# paths = cfg.large;
|
paths = cfg.large;
|
||||||
# pruneOpts = [ "--keep-daily 7" "--keep-weekly 3" "--keep-monthly 3" "--keep-yearly 3" ];
|
pruneOpts = [ "--keep-daily 7" "--keep-weekly 3" "--keep-monthly 3" "--keep-yearly 3" ];
|
||||||
# repository = "/mnt/1tbssd/restic";
|
repository = "/1tbssd/restic";
|
||||||
#};
|
};
|
||||||
#localbackup-1tb = {
|
#localbackup-1tb = {
|
||||||
# initialize = true;
|
# initialize = true;
|
||||||
# passwordFile = config.age.secrets.restic-pw.path;
|
# passwordFile = config.age.secrets.restic-pw.path;
|
||||||
|
|||||||
@@ -33,6 +33,11 @@
|
|||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "compress=zstd" "noatime" ];
|
options = [ "compress=zstd" "noatime" ];
|
||||||
};
|
};
|
||||||
|
fileSystems."/1tbssd" =
|
||||||
|
{ device = "/dev/disk/by-uuid/801d9217-9c38-4ca8-914e-e31361603892";
|
||||||
|
fsType = "ext4";
|
||||||
|
options = ["defaults" "nofail" "noatime"];
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/af6bf3d5-07a4-4139-9464-ffc1c4e23549"; }
|
[ { device = "/dev/disk/by-uuid/af6bf3d5-07a4-4139-9464-ffc1c4e23549"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user