home: add nm-applet
This commit is contained in:
parent
165e26f0b3
commit
40fa4798e1
|
@ -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