home: add nm-applet
This commit is contained in:
parent
b61aca7def
commit
b1e8664e32
|
@ -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
13
home/nm-applet.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue