From c9facb746b7be0f2d8f6b9b2227340ba2ec12060 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 26 Aug 2025 00:52:49 +0900 Subject: hst/config: remove data field, rename dir to home There is no reason to give the home directory special treatment, as this behaviour can be quite confusing. The home directory also does not necessarily require its own mount point, it could be provided by a parent or simply be ephemeral. Signed-off-by: Ophestra --- nixos.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'nixos.nix') diff --git a/nixos.nix b/nixos.nix index 62e981f6..e2382bcb 100644 --- a/nixos.nix +++ b/nixos.nix @@ -121,7 +121,7 @@ in direct_wayland = app.insecureWayland; username = getsubname fid app.identity; - data = getsubhome fid app.identity; + home = getsubhome fid app.identity; inherit (cfg) shell; inherit (app) identity groups enablements; @@ -210,7 +210,15 @@ in linkname = config.systemd.tmpfiles.settings.graphics-driver."/run/opengl-driver-32"."L+".argument; } ] - ); + ) + ++ [ + { + type = "bind"; + src = getsubhome fid app.identity; + write = true; + ensure = true; + } + ]; }; }; -- cgit v1.3.1