diff --git a/modules/environment/etc/default.nix b/modules/environment/etc/default.nix index 447ecda..cdff35d 100644 --- a/modules/environment/etc/default.nix +++ b/modules/environment/etc/default.nix @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2020, see AUTHORS. Licensed under MIT License, see LICENSE. +# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE. { config, lib, pkgs, ... }: @@ -76,7 +76,7 @@ in etc = mkOption { type = types.loaOf fileType; default = { }; - example = literalExample '' + example = literalExpression '' { example-configuration-file = { source = "/nix/store/.../etc/dir/file.conf.example"; diff --git a/modules/nixpkgs/options.nix b/modules/nixpkgs/options.nix index 586bfd5..06178d6 100644 --- a/modules/nixpkgs/options.nix +++ b/modules/nixpkgs/options.nix @@ -117,7 +117,7 @@ in overlays = mkOption { default = null; - example = literalExample + example = literalExpression '' [ (self: super: { openssh = super.openssh.override {