sisyphus/nixos/modules/networking/networkmanager/default.nix

15 lines
361 B
Nix
Raw Permalink Normal View History

2023-11-24 19:15:25 +01:00
{ config, lib, pkgs, ... }:
let
cfg = config.sisyphus.networking.networkmanager;
in {
options.sisyphus.networking.networkmanager.enable = lib.mkEnableOption "NetworkManager";
config = lib.mkIf cfg.enable {
networking.networkmanager.enable = true;
# Prevent slow boot times
systemd.services.NetworkManager-wait-online.enable = false;
};
}