From f3121892ef22e269fd799ce38bd2a7aea3f1370e Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Wed, 26 Feb 2020 17:11:20 +0100 Subject: [PATCH] move main module import to configuration.nix --- examples/configuration.nix | 2 ++ examples/nixops/node.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/configuration.nix b/examples/configuration.nix index d3bc697..89a2ef4 100644 --- a/examples/configuration.nix +++ b/examples/configuration.nix @@ -4,6 +4,8 @@ { config, pkgs, lib, ... }: { imports = [ + + # Use hardened kernel profile. See # https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix # for the enabled options. diff --git a/examples/nixops/node.nix b/examples/nixops/node.nix index a29cbf0..d8eac3b 100644 --- a/examples/nixops/node.nix +++ b/examples/nixops/node.nix @@ -4,7 +4,6 @@ bitcoin-node = { config, pkgs, lib, ... }: { imports = [ ../configuration.nix - ];