commit 404162ac1ed08cd729fa1b50371597afd0242968
parent 045f10e79bca26ce46d24f08bdd4b03a9c4aa64f
Author: Daniel Barlow <dan@telent.net>
Date: Fri, 24 Mar 2023 17:14:15 +0000
support all kinds of boot for arhcive
now we can have flashable and tftpboot in the same configuration
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/examples/arhcive.nix b/examples/arhcive.nix
@@ -34,7 +34,8 @@ in rec {
imports = [
../modules/tftpboot.nix
../modules/wlan.nix
- # ./modules/flashable.nix
+ ../modules/flashable.nix
+ ../modules/kexecboot.nix
];
hostname = "arhcive";
@@ -202,12 +203,12 @@ in rec {
] ;
};
- services.default = target {
+ services.default = target {
name = "default";
contents =
let links = config.hardware.networkInterfaces;
in with config.services; [
- links.lo links.eth links.wlan
+ links.lo
defaultroute4
resolvconf
sshd