support all kinds of boot for arhcive

now we can have flashable and tftpboot in the same configuration
module-based-network
Daniel Barlow 2023-03-24 17:14:15 +00:00
parent 045f10e79b
commit 404162ac1e
1 changed files with 4 additions and 3 deletions

View File

@ -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