~ruther/nixos-config

ref: 211e9bff8c9061a57ccd8adeb65a61fc0f849c20 nixos-config/home/modules/profiles/desktop/dwl/mako-hm-impl.nix -rw-r--r-- 408 bytes
211e9bff — Frantisek Bohacek feat(mako): do not reapply config for already visible notifications 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, lib, ... }:

let
  cfg = config.rutherther.programs.mako;
in {
  config = lib.mkIf cfg.enable {
    home.packages = [
      cfg.package # Adds dbus-1/services as well, to the XDG_DATA_DIRS.
    ];

    # xdg.dataFile."dbus-1/services/${builtins.baseNameOf (builtins.unsafeDiscardStringContext cfg.dbusFile)}".source = cfg.dbusFile;

    xdg.configFile."mako/config".source = cfg.configFile;
  };
}
Do not follow this link