move main module import to configuration.nix

This commit is contained in:
Erik Arvstedt 2020-02-26 17:11:20 +01:00 committed by Jonas Nick
parent 0c0978c007
commit f3121892ef
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,8 @@
{ config, pkgs, lib, ... }: { { config, pkgs, lib, ... }: {
imports = [ imports = [
<nix-bitcoin/modules/nix-bitcoin.nix>
# Use hardened kernel profile. See # Use hardened kernel profile. See
# https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix # https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix
# for the enabled options. # for the enabled options.

View File

@ -4,7 +4,6 @@
bitcoin-node = { config, pkgs, lib, ... }: { bitcoin-node = { config, pkgs, lib, ... }: {
imports = [ imports = [
../configuration.nix ../configuration.nix
<nix-bitcoin/modules/nix-bitcoin.nix>
<nix-bitcoin/modules/deployment/nixops.nix> <nix-bitcoin/modules/deployment/nixops.nix>
]; ];