From 01524a71c35264d823ed6f8e9431dde02dd26861 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 14 Jan 2023 21:15:26 +0100 Subject: [PATCH] hosts: btrbk fix subvol definition --- hosts/nas/hardware-configuration.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/hosts/nas/hardware-configuration.nix b/hosts/nas/hardware-configuration.nix index a9f82ce..c70a726 100644 --- a/hosts/nas/hardware-configuration.nix +++ b/hosts/nas/hardware-configuration.nix @@ -63,8 +63,10 @@ volume = { "/mnt/snapshots/root" = { snapshot_create = "always"; - subvolume = "@home"; - subvolume = "@nas"; + subvolume = { + "@home" = {}; + "@nas" = {}; + }; }; }; }; @@ -83,13 +85,15 @@ volume = { "/mnt/snapshots/Pluto" = { snapshot_create = "always"; - subvolume = "@"; - subvolume = "@/Backups"; - subvolume = "@/Games"; - subvolume = "@/IT"; - subvolume = "@/Media"; - subvolume = "@/Pictures"; - subvolume = "@/Rest"; + subvolume = { + "@" = {}; + "@/Backups" = {}; + "@/Games" = {}; + "@/IT" = {}; + "@/Media" = {}; + "@/Pictures" = {}; + "@/Rest" = {}; + }; }; }; };