forked from DGNum/liminix
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 = [
|
imports = [
|
||||||
../modules/tftpboot.nix
|
../modules/tftpboot.nix
|
||||||
../modules/wlan.nix
|
../modules/wlan.nix
|
||||||
# ./modules/flashable.nix
|
../modules/flashable.nix
|
||||||
|
../modules/kexecboot.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hostname = "arhcive";
|
hostname = "arhcive";
|
||||||
|
@ -207,7 +208,7 @@ in rec {
|
||||||
contents =
|
contents =
|
||||||
let links = config.hardware.networkInterfaces;
|
let links = config.hardware.networkInterfaces;
|
||||||
in with config.services; [
|
in with config.services; [
|
||||||
links.lo links.eth links.wlan
|
links.lo
|
||||||
defaultroute4
|
defaultroute4
|
||||||
resolvconf
|
resolvconf
|
||||||
sshd
|
sshd
|
||||||
|
|
Loading…
Reference in a new issue