diff --git a/home/default.nix b/home/default.nix index 570a0c2..91a6e51 100644 --- a/home/default.nix +++ b/home/default.nix @@ -11,6 +11,7 @@ ./gpg.nix ./htop.nix ./jq.nix + ./nm-applet.nix ./packages.nix ./pager.nix ./secrets # Home-manager specific secrets diff --git a/home/nm-applet.nix b/home/nm-applet.nix new file mode 100644 index 0000000..b8637f7 --- /dev/null +++ b/home/nm-applet.nix @@ -0,0 +1,13 @@ +{ 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; + }; +}