nixos-config/nixos/modules/programs/easytag.nix

20 lines
292 B
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.programs.custom.easytag;
2021-11-01 09:20:42 +01:00
in
{
2019-10-24 02:20:38 +02:00
2019-12-20 05:54:26 +01:00
options.programs.custom.easytag.enable =
mkEnableOption "install easytag with dependencies";
2019-10-24 02:20:38 +02:00
config = mkIf cfg.enable {
2022-06-14 22:56:58 +02:00
environment.systemPackages = with pkgs; [ easytag dconf ];
2019-10-24 02:20:38 +02:00
};
}