mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Network WIP Redo
This commit is contained in:
parent
1de1018c02
commit
17e7657f23
2 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.enp1s0.useDHCP = true;
|
networking.interfaces.enp1s0.useDHCP = true;
|
||||||
networking.interfaces.wlp2s0.useDHCP = true;
|
networking.interfaces.wlp2s0.useDHCP = true;
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "20.09";
|
system.stateVersion = "20.09";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }: {
|
{ config, lib, pkgs, ... }: {
|
||||||
config = lib.mkIf config.deploy.profile.gui {
|
config = lib.mkIf config.deploy.profile.gui {
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager.enable = true;
|
# networkmanager.enable = true;
|
||||||
resolvconf.useLocalResolver = true;
|
resolvconf.useLocalResolver = true;
|
||||||
networkmanager.dns = "none";
|
networkmanager.dns = "none";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue