tweaks to networking
This commit is contained in:
parent
dc9aeab736
commit
70265357fa
2 changed files with 44 additions and 18 deletions
|
|
@ -15,17 +15,30 @@
|
|||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
networking.hostName = "dragon"; # Define your hostname.
|
||||
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
networking.networkmanager.wifi.powersave = true;
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.wlp1s0.useDHCP = true;
|
||||
networking.interfaces.wlo1.useDHCP = true;
|
||||
wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
networking.wireless.networks = {
|
||||
duckland.org {
|
||||
psk = "abababab";
|
||||
};
|
||||
duckphone {
|
||||
psk = "abababab";
|
||||
};
|
||||
fredwashere {
|
||||
psk = "abababab";
|
||||
};
|
||||
JPMCVisitor {
|
||||
psk = "jpmorganchase";
|
||||
};
|
||||
VMA-Guest-5G {
|
||||
psk = "ikickhere";
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Chicago";
|
||||
|
|
@ -41,9 +54,9 @@
|
|||
security.sudo.enable = false;
|
||||
security.doas.enable = true;
|
||||
security.doas.extraRules = [{
|
||||
users = [ "don" ];
|
||||
keepEnv = true;
|
||||
noPass = true;
|
||||
users = [ "don" ];
|
||||
keepEnv = true;
|
||||
noPass = true;
|
||||
}];
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
|
|
|
|||
|
|
@ -15,17 +15,30 @@
|
|||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
networking.hostName = "eve"; # Define your hostname.
|
||||
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
networking.networkmanager.wifi.powersave = true;
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.wlp1s0.useDHCP = true;
|
||||
wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
networking.wireless.networks = {
|
||||
duckland.org {
|
||||
psk = "abababab";
|
||||
};
|
||||
duckphone {
|
||||
psk = "abababab";
|
||||
};
|
||||
fredwashere {
|
||||
psk = "abababab";
|
||||
};
|
||||
JPMCVisitor {
|
||||
psk = "jpmorganchase";
|
||||
};
|
||||
VMA-Guest-5G {
|
||||
psk = "ikickhere";
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Chicago";
|
||||
|
|
@ -41,9 +54,9 @@
|
|||
security.sudo.enable = false;
|
||||
security.doas.enable = true;
|
||||
security.doas.extraRules = [{
|
||||
users = [ "don" ];
|
||||
keepEnv = true;
|
||||
noPass = true;
|
||||
users = [ "don" ];
|
||||
keepEnv = true;
|
||||
noPass = true;
|
||||
}];
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
|
|
@ -155,7 +168,7 @@
|
|||
fi
|
||||
|
||||
# otherwise authenticate with tailscale
|
||||
${tailscale}/bin/tailscale up -authkey tskey-kiz2HD7CNTRL-ubuJa1wELSLCN5LjVp3kN
|
||||
${tailscale}/bin/tailscale up -authkey tskey-kX35vC1CNTRL-ZLmNBp4CQV3bu3SsLGjW56
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue