dotfiles/user-modules/feishin/default.nix

23 lines
377 B
Nix
Raw Normal View History

2024-07-19 12:00:55 +00:00
{
config,
lib,
pkgs,
...
}:
2024-07-18 04:08:27 +00:00
2024-07-18 22:36:02 +00:00
with lib;
2024-07-18 04:08:27 +00:00
let
cfg = config.modules.feishin;
2024-07-19 12:00:55 +00:00
in
{
2024-07-18 22:36:02 +00:00
options.modules.feishin.enable = mkEnableOption "feishin";
2024-07-18 04:08:27 +00:00
2025-01-24 02:05:34 +00:00
config = mkIf cfg.enable {
# TODO: Remove insecure package exception
nixpkgs.config.permittedInsecurePackages = [ "electron-31.7.7" ];
# TODO: Move to audioling
home.packages = with pkgs; [ feishin ];
};
2024-07-19 12:00:55 +00:00
}