This commit is contained in:
bogale 2026-11-08 13:02:44 +09:00
commit 5489d920ae
4 changed files with 14 additions and 8 deletions

View file

@ -1,5 +1,5 @@
{ config, pkgs, ... }: {
boot.kernelParams = [ "consoleblank=60" ];
boot.kernelParams = [ "cfg80211.ieee80211_regdom=RU" "consoleblank=60" ];
imports = [
../mods/host.nix
./hardware.nix
@ -23,11 +23,7 @@
dhcp-ethernet.connection.cloned-mac-address = "0C:0E:76:A6:E6:B6";
home-wifi = {
ipv4 = {
addresses = "10.1.0.1/16";
method = "shared";
};
ipv6 = {
addresses = "fc01::1/64";
addresses = "10.3.0.1/16";
method = "shared";
};
wifi = {
@ -36,6 +32,11 @@
channel-width = 80;
mode = "ap";
};
wifi-security = {
group = "ccmp";
pairwise = "ccmp";
proto = "rsn";
};
};
};
wg-quick.interfaces.awg0.configFile = config.sops.templates.awg1-conf.path;