system/modules/home-manager/services/wired/default.nix

17 lines
383 B
Nix
Raw Permalink Normal View History

{ config, pkgs, lib, ... }:
2022-10-12 01:41:32 +03:00
2024-04-16 02:51:46 +03:00
let
cfg = config.local.services.wired;
2024-04-16 02:51:46 +03:00
themeCfg = config.local.themes."${config.local.theme.name}";
in
2022-10-12 01:41:32 +03:00
{
options.local.services.wired.enable = lib.mkEnableOption "wired";
config = lib.mkIf cfg.enable {
services.wired = {
enable = true;
config = pkgs.substituteAll ({ src = ./wired.ron; } // themeCfg.notification);
};
2022-10-12 01:41:32 +03:00
};
}