aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixos.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-26 00:52:49 +0900
committerOphestra <cat@gensokyo.uk>2025-08-26 00:56:10 +0900
commitc9facb746b7be0f2d8f6b9b2227340ba2ec12060 (patch)
tree7a48ac5212b45908ecc5df7b08a0fc75c54fc7db /nixos.nix
parent878b66022e7573ca89fd1fbc266133c7776a98dd (diff)
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 <cat@gensokyo.uk>
Diffstat (limited to 'nixos.nix')
-rw-r--r--nixos.nix12
1 files changed, 10 insertions, 2 deletions
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;
+ }
+ ];
};
};