diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-23 20:06:39 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-23 20:08:23 +0200 |
commit | a3777ba4f959ae7fa10561b953c6e10add125fa8 (patch) | |
tree | a0d4298f294032e5d8f14e172f7c75be3040c0a2 /nixos/modules/services/networking | |
parent | 8166b12f0c861f442014433f2e3077522da7dd55 (diff) | |
download | nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.gz nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.bz2 nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.lz nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.xz nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.zst nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.zip |
Remove dependencies on the Nixpkgs location
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r-- | nixos/modules/services/networking/ejabberd.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/networking/ssh/sshd.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/ejabberd.nix b/nixos/modules/services/networking/ejabberd.nix index 05e0aba7d70e..75950f55a279 100644 --- a/nixos/modules/services/networking/ejabberd.nix +++ b/nixos/modules/services/networking/ejabberd.nix @@ -44,7 +44,7 @@ in loadDumps = mkOption { default = []; description = "Configuration dump that should be loaded on the first startup"; - example = [ ./myejabberd.dump ]; + example = literalExample "[ ./myejabberd.dump ]"; }; }; diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index c85c9307e3e4..f5670ccdcbfa 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -181,11 +181,11 @@ in example = [ { hostNames = [ "myhost" "myhost.mydomain.com" "10.10.1.4" ]; - publicKeyFile = ./pubkeys/myhost_ssh_host_dsa_key.pub; + publicKeyFile = literalExample "./pubkeys/myhost_ssh_host_dsa_key.pub"; } { hostNames = [ "myhost2" ]; - publicKeyFile = ./pubkeys/myhost2_ssh_host_dsa_key.pub; + publicKeyFile = literalExample "./pubkeys/myhost2_ssh_host_dsa_key.pub"; } ]; options = { |