aboutsummaryrefslogtreecommitdiff
path: root/hosts/tahoe/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-09 12:34:30 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-09 12:34:30 -0700
commit0214b0a743ae7fe3e06f1967c8d667118dffe3a2 (patch)
tree7adbed511484475363ca24db4e0f2351401a9071 /hosts/tahoe/default.nix
parentdelete configuration related to colors (diff)
downloadinfra-0214b0a743ae7fe3e06f1967c8d667118dffe3a2.tar.gz
tahoe: enable network with early boot
So we can unlock the disks remotely.
Diffstat (limited to '')
-rw-r--r--hosts/tahoe/default.nix13
1 files changed, 2 insertions, 11 deletions
diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix
index 8a3b4a6..1998a51 100644
--- a/hosts/tahoe/default.nix
+++ b/hosts/tahoe/default.nix
@@ -1,17 +1,8 @@
{ config, pkgs, hostname, ... }:
{
- imports = [ # Include the results of the hardware scan.
- ./hardware.nix
- ./networking.nix
- ./home.nix
- ./services.nix
- ];
-
- my.system.boot = {
- tmp = { clean = true; };
- initrd = { network.enable = true; };
- };
+ imports =
+ [ ./boot.nix ./hardware.nix ./networking.nix ./home.nix ./services.nix ];
users.groups.nas.gid = 5000;
users.users.nas = {