From c3af2ddcf24bfed5962d9a3f68a24cd9a746ba1c Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 3 May 2018 21:50:48 +0200 Subject: readme: use builtins.fetchGit to follow master --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 251a923..239db97 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,9 @@ create a krops.nix somewhere ``` let #krops = ./.; - krops = (import {}).fetchgit { + krops = builtins.fetchGit { url = https://cgit.krebsco.de/krops/; - rev = "3022582ade8049e6ccf18f358cedb996d6716945"; - sha256 = "0k3zhv2830z4bljcdvf6ciwjihk2zzcn9y23p49c6sba5hbsd6jb"; + ref = "master"; }; lib = import "${krops}/lib"; @@ -27,7 +26,6 @@ let nixpkgs.git = { ref = "4b4bbce199d3b3a8001ee93495604289b01aaad3"; url = https://github.com/NixOS/nixpkgs; - }; nixos-config.file = toString (pkgs.writeText "nixos-config" '' { pkgs, ... }: { -- cgit v1.2.3 From e4269ed29ba04d209f72c0b5e1e425b23c7ae197 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 3 May 2018 21:51:36 +0200 Subject: readme source: follow nixos-18.03 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 239db97..ea1757c 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ let source = lib.evalSource [{ nixpkgs.git = { - ref = "4b4bbce199d3b3a8001ee93495604289b01aaad3"; - url = https://github.com/NixOS/nixpkgs; + ref = "origin/nixos-18.03"; + url = https://github.com/NixOS/nixpkgs-channels; }; nixos-config.file = toString (pkgs.writeText "nixos-config" '' { pkgs, ... }: { -- cgit v1.2.3 From 082896b620c01c56ebeef7812b275d140fa8efc9 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 3 May 2018 21:52:15 +0200 Subject: readme: add dummy ssh key authorization --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ea1757c..bfbef78 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,9 @@ 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" + ]; } ''); }]; -- cgit v1.2.3 From dfda0fdeee91841d32670c4854c4736905b08793 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 3 May 2018 21:52:43 +0200 Subject: readme: use dummy ip address --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bfbef78..95a2728 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ let in pkgs.krops.writeDeploy "deploy" { source = source; - target = "root@192.168.56.101"; + target = "root@YOUR_IP_ADDRESS_OR_HOST_NAME_HERE"; } ``` -- cgit v1.2.3