ap fix
This commit is contained in:
parent
c31dc86310
commit
5489d920ae
4 changed files with 14 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,10 @@
|
|||
echo $limit > /run/network.limit
|
||||
echo $failures > /run/network.failures
|
||||
'';
|
||||
serviceConfig.Type = "oneshot";
|
||||
serviceConfig = {
|
||||
LogLevelMax = "warning";
|
||||
Type = "oneshot";
|
||||
};
|
||||
};
|
||||
tgbot-send = {
|
||||
script = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue