More network tweaks
This commit is contained in:
@@ -49,9 +49,6 @@ in {
|
||||
defaultLocale = "en_GB.UTF-8";
|
||||
};
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
# replicates the default behaviour.
|
||||
networking.useDHCP = true;
|
||||
|
||||
console = {
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
networking = {
|
||||
hostName = "pingbox";
|
||||
interfaces.wlp170s0.useDHCP = true;
|
||||
wireless = {
|
||||
enable = true;
|
||||
userControlled.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
|
||||
@@ -29,10 +29,6 @@
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
# replicates the default behaviour.
|
||||
networking.useDHCP = lib.mkDefault false;
|
||||
networking.interfaces.wlp170s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
Reference in New Issue
Block a user