aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index b86c469..561dae9 100644
--- a/README.md
+++ b/README.md
@@ -17,8 +17,7 @@ Create a file named `krops.nix` (name doesn't matter) with following content:
let
krops = (import <nixpkgs> {}).fetchgit {
url = https://cgit.krebsco.de/krops/;
- rev = "3022582ade8049e6ccf18f358cedb996d6716945";
- sha256 = "0k3zhv2830z4bljcdvf6ciwjihk2zzcn9y23p49c6sba5hbsd6jb";
+ ref = "master";
};
lib = import "${krops}/lib";
@@ -35,13 +34,16 @@ let
boot.loader.systemd-boot.enable = true;
services.openssh.enable = true;
environment.systemPackages = [ pkgs.git ];
+ users.users.root.openssh.authorizedKeys.keys = [
+ "ssh-rsa ADD_YOUR_OWN_PUBLIC_KEY_HERE user@localhost"
+ ];
}
'');
}];
in
pkgs.krops.writeDeploy "deploy" {
source = source;
- target = "root@192.168.56.101";
+ target = "root@YOUR_IP_ADDRESS_OR_HOST_NAME_HERE";
}
```