nix-config/modules/nix/comm/webcord.nix

18 lines
320 B
Nix

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