refactor(networking): use networking.useDHCP
This commit is contained in:
parent
b3d6b2d32a
commit
37bfb2bc2d
6 changed files with 1 additions and 17 deletions
|
@ -64,11 +64,6 @@
|
|||
virtualization.enable = true;
|
||||
};
|
||||
|
||||
networking.interfaces = {
|
||||
eth0.useDHCP = true;
|
||||
wlp41s0.useDHCP = true;
|
||||
};
|
||||
|
||||
home = { profiles, pkgs, ... }: {
|
||||
imports = with profiles; [ stretchly ];
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -54,8 +54,6 @@
|
|||
virtualization.enable = true;
|
||||
};
|
||||
|
||||
networking.interfaces.wlp170s0.useDHCP = true;
|
||||
|
||||
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
|
||||
|
||||
systemd.services.set-initial-backlight = {
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
soft-serve.enable = true;
|
||||
};
|
||||
|
||||
networking.interfaces = {
|
||||
enp0s25.useDHCP = true;
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
"/home"
|
||||
|
|
|
@ -9,9 +9,6 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.interfaces.wlp170s0.useDHCP = true;
|
||||
# networking.interfaces.enp39s0.useDHCP = true;
|
||||
|
||||
modules = {
|
||||
boot.grub.enable = true;
|
||||
hardware = {
|
||||
|
|
|
@ -28,6 +28,4 @@
|
|||
};
|
||||
desktop.wm.enable = true;
|
||||
};
|
||||
|
||||
networking.interfaces.wlan0.useDHCP = true;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
useDHCP = true;
|
||||
firewall = {
|
||||
checkReversePath = "loose";
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue