From f30a439bcd6aa97fac0f99cdd94381ae025aa64d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 16 May 2025 04:38:08 +0900 Subject: nix: improve common usability Signed-off-by: Ophestra --- test/sandbox/configuration.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'test/sandbox/configuration.nix') diff --git a/test/sandbox/configuration.nix b/test/sandbox/configuration.nix index dc96d64d..903b99a3 100644 --- a/test/sandbox/configuration.nix +++ b/test/sandbox/configuration.nix @@ -65,7 +65,16 @@ in stateDir = "/var/lib/fortify"; users.alice = 0; - home-manager = _: _: { home.stateVersion = "23.05"; }; + extraHomeConfig = { + home.stateVersion = "23.05"; + }; + + commonPaths = [ + { + src = "/var/cache"; + write = true; + } + ]; apps = with testCases; [ preset -- cgit v1.3.1