puzzlevision/modules/nixos/common/networking/default.nix
Jo e1bbf4856e refactor: clean up unused imports
refactor: remove some comments
feat: set VSCodium color scheme to Catppuccin Macchiato
2024-12-03 18:38:19 +01:00

16 lines
299 B
Nix

{
lib,
namespace,
config,
...
}: with lib; with lib.${namespace};
let
cfg = config.${namespace}.common.networking;
in {
options.${namespace}.common.networking = { enable = mkEnableOption "networking"; };
config = mkIf cfg.enable {
networking.networkmanager.enable = true;
};
}