diff --git a/modules/base/networking/networking.nix b/modules/base/networking/networking.nix new file mode 100644 index 0000000..6f5dfff --- /dev/null +++ b/modules/base/networking/networking.nix @@ -0,0 +1,7 @@ +{ ... }: { + flake.nixosModules.network = {lib, ... }:{ + networking.firewall.enable = true; + networking.useDHCP = true; + networking.networkmanager.enable = true; + }; +} diff --git a/modules/hosts/computer-mo/configuration.nix b/modules/hosts/computer-mo/configuration.nix index bc4cf39..461df19 100644 --- a/modules/hosts/computer-mo/configuration.nix +++ b/modules/hosts/computer-mo/configuration.nix @@ -1,9 +1,10 @@ { inputs, ...}: { flake.nixosModules.computer-mo = { - imports = with inputs.self.modules.nixos; [ + imports = with inputs.self.nixosModules; [ base home-manager + nix-settings ]; }; }