mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
treewide: replace literalExample with literalExpression
This commit is contained in:
parent
27c206f57a
commit
5ebbbe418a
2 changed files with 3 additions and 3 deletions
|
|
@ -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, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
|
@ -76,7 +76,7 @@ in
|
||||||
etc = mkOption {
|
etc = mkOption {
|
||||||
type = types.loaOf fileType;
|
type = types.loaOf fileType;
|
||||||
default = { };
|
default = { };
|
||||||
example = literalExample ''
|
example = literalExpression ''
|
||||||
{
|
{
|
||||||
example-configuration-file = {
|
example-configuration-file = {
|
||||||
source = "/nix/store/.../etc/dir/file.conf.example";
|
source = "/nix/store/.../etc/dir/file.conf.example";
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ in
|
||||||
|
|
||||||
overlays = mkOption {
|
overlays = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
example = literalExample
|
example = literalExpression
|
||||||
''
|
''
|
||||||
[ (self: super: {
|
[ (self: super: {
|
||||||
openssh = super.openssh.override {
|
openssh = super.openssh.override {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue