nix-config/home/nm-applet.nix

14 lines
272 B
Nix
Raw Normal View History

2021-05-05 12:21:10 +02:00
{ config, lib, ... }:
let
cfg = config.my.home.nm-applet;
in
{
options.my.home.nm-applet = with lib; {
enable = mkEnableOption "network-manager-applet configuration";
};
config.services.network-manager-applet = lib.mkIf cfg.enable {
enable = true;
};
}