refactor: use 'default.nix' for all modules
This commit is contained in:
14
modules/networking/default.nix
Normal file
14
modules/networking/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
hostName ? "nixos",
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
networking = {
|
||||
hostName = hostName;
|
||||
wireless.iwd.enable = true;
|
||||
networkmanager.wifi.backend = "iwd";
|
||||
nftables.enable = true;
|
||||
firewall.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user