migrate backups to borgbase

This commit is contained in:
♥ Minnie ♥ 2024-10-15 06:46:10 +08:00
parent 253cdf8ede
commit 2e7fefa7b9
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
4 changed files with 37 additions and 37 deletions

View file

@ -3,9 +3,7 @@
lib,
pkgs,
...
}: let
hostname = config.networking.hostName;
in {
}: {
imports = [
# Our ephemeral system. Wipe root on reboot.
../common/optional/ephemeral-btrfs.nix
@ -71,12 +69,6 @@ in {
options = ["subvol=services" "compress=zstd"];
};
fileSystems."/srv/backup" = {
device = "/dev/disk/by-label/data";
fsType = "btrfs";
options = ["subvol=backup" "compress=zstd"];
};
fileSystems."/srv/shares" = {
device = "/dev/disk/by-label/data";
fsType = "btrfs";