From 90314bfa17ef2a9739911d49c4051e6748f1c1e9 Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Mon, 30 Dec 2024 16:37:38 -0700 Subject: [PATCH] feat: Automatically mount /persist/dots in VM --- hosts/nixos-testbed/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/nixos-testbed/configuration.nix b/hosts/nixos-testbed/configuration.nix index bdc782f..21231f1 100755 --- a/hosts/nixos-testbed/configuration.nix +++ b/hosts/nixos-testbed/configuration.nix @@ -53,6 +53,13 @@ }; }; + # VM-specific. }:3 + fileSystems."/persist/dots" = { + device = "mount-dots"; + fsType = "virtiofs"; + mountPoint = "/persist/dots"; + }; + # HACK: This is here temporarily so I can use `/persist` without # Impermanence. This can be removed once impermanence is enabled. # Create a group called `cfg.persistGroupName`