Skip to content

Commit

Permalink
feat(home): add shikimori app
Browse files Browse the repository at this point in the history
  • Loading branch information
yunfachi committed Dec 14, 2023
1 parent 019d2db commit 76c060d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions home/programs/shikimori.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
config,
lib,
pkgs-yunfachi,
...
}: let
cfg = config.yunfachi.shikimori;
in {
config = lib.mkIf cfg.enable {
home.packages = with pkgs-yunfachi; [shikimori];
};
}
1 change: 1 addition & 0 deletions options/home/programs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ in {
options.yunfachi = {
firefox.enable = lib.mkEnableOption "firefox" // {default = type == "desktop";};
kitty.enable = lib.mkEnableOption "kitty" // {default = type == "desktop";};
shikimori.enable = lib.mkEnableOption "shikimori" // {default = type == "desktop";};
};
}

0 comments on commit 76c060d

Please sign in to comment.