treewide: snapshot important datasets with sanoid
This commit is contained in:
parent
715b3f799a
commit
345bf13b0d
6 changed files with 55 additions and 0 deletions
8
hosts/kilgharrah/backup.nix
Normal file
8
hosts/kilgharrah/backup.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.sanoid.datasets."rpool_albion/state" = {
|
||||
useTemplate = [ "production" ];
|
||||
recursive = "zfs";
|
||||
};
|
||||
}
|
|
@ -5,6 +5,7 @@ let
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
./backup.nix
|
||||
./filesystems.nix
|
||||
./hardware.nix
|
||||
./networking.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue