pxeboot rewrite, bridge for qemu

This commit is contained in:
bogale 2026-10-27 00:08:14 +09:00
commit 1dd7fac8ed
10 changed files with 129 additions and 112 deletions

View file

@ -2,25 +2,23 @@
boot.kernelParams = [ "hibernate.compressor=lz4" ];
environment.systemPackages = with pkgs; [
android-tools
binutils
binwalk
qemu
qrencode
];
hardware = {
bluetooth.enable = true;
graphics.enable32Bit = true;
};
imports = [
../common.nix
../mods/host.nix
./hardware.nix
];
networking = {
firewall.allowedTCPPorts = [ 8000 ];
hostName = "nixos-desktop";
networkmanager.ensureProfiles.profiles = {
dhcp-eth.connection = {
id = "dhcp-eth";
type = "ethernet";
};
home-wifi = {
ipv4.addresses = "10.1.0.3/16";
ipv6.addresses = "fc01::3/64";
@ -37,13 +35,7 @@
wifi.ssid = "Hello world";
};
};
wg-quick.interfaces.awg0 = {
address = [
"10.0.0.3/32"
"fc00::3/128"
];
configFile = config.sops.templates.awg2-conf.path;
};
wg-quick.interfaces.awg0.configFile = config.sops.templates.awg2-conf.path;
};
programs = {
niri.enable = true;