about summary refs log tree commit diff
path: root/nixos/modules/services/hardware/triggerhappy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/hardware/triggerhappy.nix')
-rw-r--r--nixos/modules/services/hardware/triggerhappy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/triggerhappy.nix b/nixos/modules/services/hardware/triggerhappy.nix
index f9f5234bdc3f..4e979c4d8fa1 100644
--- a/nixos/modules/services/hardware/triggerhappy.nix
+++ b/nixos/modules/services/hardware/triggerhappy.nix
@@ -69,7 +69,7 @@ in
       bindings = mkOption {
         type = types.listOf (types.submodule bindingCfg);
         default = [];
-        example = lib.literalExample ''
+        example = lib.literalExpression ''
           [ { keys = ["PLAYPAUSE"];  cmd = "''${pkgs.mpc_cli}/bin/mpc -q toggle"; } ]
         '';
         description = ''