Add timed backup
This commit is contained in:
parent
e5d92728f0
commit
746680731e
2 changed files with 69 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
../hardware/nuc.nix
|
||||
../role/base.nix
|
||||
../role/dropbear.nix
|
||||
(import ../role/backup.nix {systemdMount = "var-backup.mount"; borgArchiveFolder = "/var/backup/montalin";})
|
||||
];
|
||||
|
||||
boot.tmpOnTmpfs = true;
|
||||
|
@ -21,8 +22,8 @@
|
|||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = { device = "/dev/mapper/root"; fsType = "btrfs"; };
|
||||
"/var/backup" = { device = "/dev/mapper/backup"; fsType = "ext4"; };
|
||||
"/" = { device = "/dev/mapper/root"; fsType = "btrfs"; options = [ "defaults" "noatime" ]; };
|
||||
"/var/backup" = { device = "/dev/mapper/backup"; fsType = "ext4"; options = [ "defaults" "noauto" "noatime" ]; };
|
||||
"/boot" = { device = "/dev/disk/by-uuid/0065-E4EA"; fsType = "vfat"; options = [ "defaults" "noatime" ]; };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue