mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
systembus-notify: add module
This commit is contained in:
parent
7ec50b1f77
commit
02426bb52f
4 changed files with 38 additions and 0 deletions
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
@ -390,6 +390,8 @@
|
||||||
|
|
||||||
/modules/services/volnoti.nix @IvanMalison
|
/modules/services/volnoti.nix @IvanMalison
|
||||||
|
|
||||||
|
/modules/services/systembus-notify.nix @asymmetric
|
||||||
|
|
||||||
/modules/targets/darwin @midchildan
|
/modules/targets/darwin @midchildan
|
||||||
/tests/modules/targets-darwin @midchildan
|
/tests/modules/targets-darwin @midchildan
|
||||||
|
|
||||||
|
|
|
@ -2320,6 +2320,14 @@ in
|
||||||
A new module is available: 'services.opensnitch-ui'.
|
A new module is available: 'services.opensnitch-ui'.
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
time = "2021-12-21T22:17:30+00:00";
|
||||||
|
condition = hostPlatform.isLinux;
|
||||||
|
message = ''
|
||||||
|
A new module is available: 'services.systembus-notify'.
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,6 +220,7 @@ let
|
||||||
./services/status-notifier-watcher.nix
|
./services/status-notifier-watcher.nix
|
||||||
./services/sxhkd.nix
|
./services/sxhkd.nix
|
||||||
./services/syncthing.nix
|
./services/syncthing.nix
|
||||||
|
./services/systembus-notify.nix
|
||||||
./services/taffybar.nix
|
./services/taffybar.nix
|
||||||
./services/tahoe-lafs.nix
|
./services/tahoe-lafs.nix
|
||||||
./services/taskwarrior-sync.nix
|
./services/taskwarrior-sync.nix
|
||||||
|
|
27
modules/services/systembus-notify.nix
Normal file
27
modules/services/systembus-notify.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
meta.maintainers = [ maintainers.asymmetric ];
|
||||||
|
|
||||||
|
options = {
|
||||||
|
services.systembus-notify = {
|
||||||
|
enable =
|
||||||
|
mkEnableOption "systembus-notify - system bus notification daemon";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.services.systembus-notify.enable {
|
||||||
|
assertions = [
|
||||||
|
(hm.assertions.assertPlatform "services.systembus-notify" pkgs
|
||||||
|
platforms.linux)
|
||||||
|
];
|
||||||
|
|
||||||
|
systemd.user.services.systembus-notify = {
|
||||||
|
Unit.Description = "systembus-notify daemon";
|
||||||
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
|
Service.ExecStart = "${pkgs.systembus-notify}/bin/systembus-notify";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue