~ruther/nixos-config

ref: 29faf7075156ed69578863d6987c9c9926d8029e nixos-config/home/modules/profiles/desktop/dwl/mako-hm-impl.nix -rw-r--r-- 408 bytes
29faf707 — Frantisek Bohacek fix: mako overriding timeout 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