remove option 'services.nix-bitcoin.enable'
Users can enable the node config just by importing secure-node.nix
This commit is contained in:
parent
0f8b2e91fd
commit
1a63f0ca6a
4 changed files with 8 additions and 7 deletions
|
|
@ -1,3 +1,9 @@
|
|||
# This file exists only for backwards compatibility
|
||||
|
||||
import ./presets/secure-node.nix
|
||||
{ lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./presets/secure-node.nix
|
||||
(lib.mkRemovedOptionModule [ "services" "nix-bitcoin" "enable" ] "Please directly import ./presets/secure-node.nix")
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.nix-bitcoin;
|
||||
operatorCopySSH = pkgs.writeText "operator-copy-ssh.sh" ''
|
||||
mkdir -p ${config.users.users.operator.home}/.ssh
|
||||
if [ -e "${config.users.users.root.home}/.vbox-nixops-client-key" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue