home: add nm-applet

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

View file

@ -11,6 +11,7 @@
./gpg.nix ./gpg.nix
./htop.nix ./htop.nix
./jq.nix ./jq.nix
./nm-applet.nix
./packages.nix ./packages.nix
./pager.nix ./pager.nix
./secrets # Home-manager specific secrets ./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;
};
}