18 lines
320 B
Nix
18 lines
320 B
Nix
{ lib, config, pkgs, ... }:
|
|
let
|
|
inherit (lib) mkIf mkOption types;
|
|
in
|
|
{
|
|
options.smayzy.aegisub.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "aegisub";
|
|
};
|
|
|
|
config = mkIf config.smayzy.aegisub.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
aegisub
|
|
];
|
|
};
|
|
}
|