diff --git a/nix/nixos-modules/options.nix b/nix/nixos-modules/options.nix index 1a1c458..2aebd63 100644 --- a/nix/nixos-modules/options.nix +++ b/nix/nixos-modules/options.nix @@ -21,9 +21,7 @@ This is used by other option{x-banananetwork} modules. ''; type = with lib.types; nullOr str; - example = lib.literalExpression '' - ssh-ed25519 … - ''; + example = "ssh-ed25519 …"; }; sshPublicKeys = lib.mkOption { @@ -33,9 +31,7 @@ This is used by other option{x-banananetwork} modules. ''; type = with lib.types; listOf str; - example = lib.literalExpression '' - [ "ssh-ed25519 ..." ] - ''; + example = [ "ssh-ed25519 ..." ]; }; userName = lib.mkOption { @@ -43,7 +39,7 @@ my username for most/all uses ''; type = lib.types.str; - example = lib.literalExpression "zocker"; + example = "zocker"; }; }; diff --git a/nix/nixos-modules/secrix.nix b/nix/nixos-modules/secrix.nix index ae3eb49..5c97bc1 100644 --- a/nix/nixos-modules/secrix.nix +++ b/nix/nixos-modules/secrix.nix @@ -33,7 +33,7 @@ in ''; type = with lib.types; nullOr str; default = null; - example = lib.literalExpression "rsa"; + example = "rsa"; }; };