summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/x11/desktop-managers/phosh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/phosh.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/phosh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/phosh.nix b/nixos/modules/services/x11/desktop-managers/phosh.nix
index 3cfa6e044b73..e4cd9fd99e40 100644
--- a/nixos/modules/services/x11/desktop-managers/phosh.nix
+++ b/nixos/modules/services/x11/desktop-managers/phosh.nix
@@ -100,7 +100,7 @@ let
};
};
- optionalKV = k: v: if v == null then "" else "${k} = ${builtins.toString v}";
+ optionalKV = k: v: optionalString (v != null) "${k} = ${builtins.toString v}";
renderPhocOutput = name: output: let
modelines = if builtins.isList output.modeline