From 54b4eb24a6d934d04b87ed4528386e9296b6342c Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Fri, 28 Dec 2018 13:44:32 +0000 Subject: [PATCH] Add FIXME's to README --- README.md | 4 ++++ ...ix-bitcoin.nix => configuration-nixbitcoin.nix | 0 configuration.nix | 15 ++++++++++++--- 3 files changed, 16 insertions(+), 3 deletions(-) rename configuration-nix-bitcoin.nix => configuration-nixbitcoin.nix (100%) diff --git a/README.md b/README.md index 35e5588..673e73e 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,10 @@ nixops create network.nix network-vbox.nix -d bitcoin-node ``` Replace `nixops` with the path to the nixops you built from source. For example: `/nix/store/wa6nk3aqxjb2mgl9pkwrnawqnh9z1b9d-nixops-1.6.1pre0_abcdef/bin/nixops`. Alternatively you can change your path, i.e. `export PATH=/nix/store/wa6nk3aqxjb2mgl9pkwrnawqnh9z1b9d-nixops-1.6.1pre0_abcdef/bin/:$PATH` so you can just type nixops. +Adjust configuration +Open configuration.nix and remove FIXMEs. +No custom boot options or hardware configuration is needed for a VM install. + Deploy Nixops ``` nixops deploy -d bitcoin-node diff --git a/configuration-nix-bitcoin.nix b/configuration-nixbitcoin.nix similarity index 100% rename from configuration-nix-bitcoin.nix rename to configuration-nixbitcoin.nix diff --git a/configuration.nix b/configuration.nix index fa782c0..7c6b1e9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -9,11 +9,20 @@ # Install and use minimal or all modules services.nixbitcoin.modules = "all"; - networking.hostName = "nix-bitcoin"; # Define your hostname. + # FIXME: Define your hostname. + networking.hostName = "nix-bitcoin"; imports = [ - ./configuration-nix-bitcoin.nix + ./configuration-nixbitcoin.nix + # FIXME: Uncomment next line to import your hardware configuration. If so, + # add the hardware configuration file to the same directory as this file. #./hardware-configuration.nix ]; - # Add custom options options (like boot options) here: + # FIXME: Add your SSH pubkey + users.users.root = { + openssh.authorizedKeys.keys = [ "" ]; + }; + + # FIXME: Add custom options options (like boot options): + }