support all kinds of boot for arhcive
now we can have flashable and tftpboot in the same configuration
This commit is contained in:
parent
045f10e79b
commit
404162ac1e
1 changed files with 4 additions and 3 deletions
|
@ -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…
Reference in a new issue