summaryrefslogtreecommitdiff
path: root/sys/kiosk
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-08-24 18:55:06 -0600
committerAlejandro Soto <alejandro@34project.org>2025-08-24 18:55:06 -0600
commitd7ac88762db111a7962c4e14b5f4e37ab85ccac7 (patch)
tree0c2c8c4383bef74215e3b7c48a2f6b0117f084bc /sys/kiosk
parent504589d1035f27b766bd33040b415b2725ece4ca (diff)
tree-wide: reformat using alejandra after enabling trivionomicon
Diffstat (limited to '')
-rw-r--r--sys/kiosk/default.nix17
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/kiosk/default.nix b/sys/kiosk/default.nix
index b450733..be20829 100644
--- a/sys/kiosk/default.nix
+++ b/sys/kiosk/default.nix
@@ -1,8 +1,11 @@
-{ config, lib, ... }:
+{
+ config,
+ lib,
+ ...
+}:
with lib; let
cfg = config.local.kiosk;
-in
-{
+in {
options.local.kiosk = {
enable = mkEnableOption "kiosk mode";
@@ -26,7 +29,13 @@ in
enable = true;
inherit (cfg) program user;
- extraArguments = [ (if cfg.allowVTSwitch then "-sd" else "-d") ];
+ extraArguments = [
+ (
+ if cfg.allowVTSwitch
+ then "-sd"
+ else "-d"
+ )
+ ];
};
physlock = {