support all kinds of boot for arhcive

now we can have flashable and tftpboot in the same configuration
main
Daniel Barlow 2 months ago
parent 045f10e79b
commit 404162ac1e
  1. 7
      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

Loading…
Cancel
Save