forked from jan-leila/nix-config
24 lines
490 B
Nix
24 lines
490 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.programs.guild-wars-2;
|
|
in {
|
|
options.programs.guild-wars-2 = {
|
|
enable = lib.mkEnableOption "Guild Wars 2";
|
|
};
|
|
|
|
config = {
|
|
assertions = [
|
|
{
|
|
assertion = !cfg.enable;
|
|
message = ''
|
|
Guild Wars 2 module is not yet fully configured.
|
|
Please install Guild Wars 2 manually via Steam or the official client,
|
|
then configure the Wine environment as needed.
|
|
'';
|
|
}
|
|
];
|
|
};
|
|
}
|