about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authormingchuan <ming@culpring.com>2017-11-01 02:53:24 +0800
committermingchuan <ming@culpring.com>2017-11-01 02:54:38 +0800
commite0318379ae3b5cb5fa75629b1b5392dbd270cfe8 (patch)
tree414970343dd27d1edc5550944c98a1d98ccdc98c /nixos/modules/programs
parent4c263586f6d48996095d08a4dbfc4c32dbe1847f (diff)
downloadnixlib-e0318379ae3b5cb5fa75629b1b5392dbd270cfe8.tar
nixlib-e0318379ae3b5cb5fa75629b1b5392dbd270cfe8.tar.gz
nixlib-e0318379ae3b5cb5fa75629b1b5392dbd270cfe8.tar.bz2
nixlib-e0318379ae3b5cb5fa75629b1b5392dbd270cfe8.tar.lz
nixlib-e0318379ae3b5cb5fa75629b1b5392dbd270cfe8.tar.xz
nixlib-e0318379ae3b5cb5fa75629b1b5392dbd270cfe8.tar.zst
nixlib-e0318379ae3b5cb5fa75629b1b5392dbd270cfe8.zip
nixos/ssh: fix example
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/ssh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix
index e0fbba897fa4..0935bf0cae71 100644
--- a/nixos/modules/programs/ssh.nix
+++ b/nixos/modules/programs/ssh.nix
@@ -148,11 +148,11 @@ in
           [
             {
               hostNames = [ "myhost" "myhost.mydomain.com" "10.10.1.4" ];
-              publicKeyFile = "./pubkeys/myhost_ssh_host_dsa_key.pub";
+              publicKeyFile = ./pubkeys/myhost_ssh_host_dsa_key.pub;
             }
             {
               hostNames = [ "myhost2" ];
-              publicKeyFile = "./pubkeys/myhost2_ssh_host_dsa_key.pub";
+              publicKeyFile = ./pubkeys/myhost2_ssh_host_dsa_key.pub;
             }
           ]
         '';