1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00

treewide: remove with lib (#6871)

Remove from services.
This commit is contained in:
Austin Horstman 2025-04-21 09:00:59 -07:00 committed by GitHub
parent 6695b1d477
commit 82ee14ff60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
124 changed files with 1848 additions and 1891 deletions

View file

@ -5,20 +5,18 @@
...
}:
with lib;
{
meta.maintainers = [ maintainers.asymmetric ];
meta.maintainers = [ lib.maintainers.asymmetric ];
options = {
services.systembus-notify = {
enable = mkEnableOption "systembus-notify - system bus notification daemon";
enable = lib.mkEnableOption "systembus-notify - system bus notification daemon";
};
};
config = mkIf config.services.systembus-notify.enable {
config = lib.mkIf config.services.systembus-notify.enable {
assertions = [
(hm.assertions.assertPlatform "services.systembus-notify" pkgs platforms.linux)
(lib.hm.assertions.assertPlatform "services.systembus-notify" pkgs lib.platforms.linux)
];
systemd.user.services.systembus-notify = {