diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-05-16 04:38:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-05-16 04:40:12 +0900 |
| commit | f30a439bcd6aa97fac0f99cdd94381ae025aa64d (patch) | |
| tree | 9e340298cc0b8a7011fea40cc50b0db710593496 /test/sandbox/configuration.nix | |
| parent | 008e9e7fc59398c13376728511f2df78e4c8b321 (diff) | |
nix: improve common usability
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/configuration.nix')
| -rw-r--r-- | test/sandbox/configuration.nix | 11 |
1 files changed, 10 insertions, 1 deletions
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 |
