Finally switch to flakes.
This commit is contained in:
parent
a90e09db74
commit
5e0b713756
116 changed files with 5443 additions and 3 deletions
17
nixos/modules/networking.nix
Normal file
17
nixos/modules/networking.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
# Networking settings
|
||||
networking = {
|
||||
# Choose networking method
|
||||
wireless.enable = false;
|
||||
dhcpcd.enable = true;
|
||||
|
||||
# Set hostnames
|
||||
hosts = let
|
||||
ips = import ../common/ips.nix;
|
||||
in {
|
||||
"${ips.server}" = ["server"];
|
||||
"${ips.pc}" = ["pc"];
|
||||
"${ips.vm}" = ["vm"];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue