home: add nm-applet

This commit is contained in:
Bruno BELANYI 2021-05-05 12:21:10 +02:00
parent b61aca7def
commit b1e8664e32
2 changed files with 14 additions and 0 deletions

View file

@ -11,6 +11,7 @@
./gpg.nix
./htop.nix
./jq.nix
./nm-applet.nix
./packages.nix
./pager.nix
./secrets # Home-manager specific secrets

13
home/nm-applet.nix Normal file
View file

@ -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;
};
}