aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixos.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-10 19:12:45 +0900
committerOphestra <cat@gensokyo.uk>2026-04-10 19:34:02 +0900
commitc33a6a5b7ee130370aeeebf6635977415115f7da (patch)
tree730e9faed1b6f8a9325e1ee0254236057af9190f /nixos.nix
parent952082bd9b4a5387232da6965fd82e20ee8219a6 (diff)
hst: optionally reject insecure options
This prevents inadvertent use of insecure compatibility features. Closes #30. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'nixos.nix')
-rw-r--r--nixos.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos.nix b/nixos.nix
index 5b60aea4..d59ffc4e 100644
--- a/nixos.nix
+++ b/nixos.nix
@@ -265,7 +265,7 @@ in
'';
in
pkgs.writeShellScriptBin app.name ''
- exec hakurei${if app.verbose then " -v" else ""} run ${checkedConfig "hakurei-app-${app.name}.json" conf} $@
+ exec hakurei${if app.verbose then " -v" else ""}${if app.insecureWayland then " --insecure" else ""} run ${checkedConfig "hakurei-app-${app.name}.json" conf} $@
''
)
]