more modules and move stuff to modules
This commit is contained in:
parent
8fd7302ace
commit
38949ee1b7
7 changed files with 80 additions and 55 deletions
12
modules/networking/default.nix
Normal file
12
modules/networking/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ lib, ... }: let
|
||||
inherit (lib) mkDefault;
|
||||
in {
|
||||
networking = {
|
||||
useDHCP = mkDefault true;
|
||||
wireless.iwd.enable = true;
|
||||
extraHosts =
|
||||
''
|
||||
10.10.11.245 surveillance.htb
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue