From 679497cf607e59cb4c62d80174228e776369751f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 6 Apr 2022 07:04:03 -0700 Subject: refactor boot configuration to a module We don't need the previous `hosts/common/system` configs anymore, as everything has been moved out. We keep some boot configuration for carmel in the host configuration for now, but I need to check why I don't have similar settings for tahoe (since I also need to unlock the host remotely). --- hosts/tahoe/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hosts/tahoe') diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix index 9d11720..c72baa0 100644 --- a/hosts/tahoe/default.nix +++ b/hosts/tahoe/default.nix @@ -7,7 +7,10 @@ ../profiles/nas.nix ]; - boot = { initrd = { luks.devices."system".allowDiscards = true; }; }; + my.system.boot = { + tmp = { clean = true; }; + initrd = { network.enable = true; }; + }; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions -- cgit 1.4.1