Apps, refactor, clean up, remove librewolf
Refactors to use app.nix for easier extension. Removes librewolf from host, as it makes more sense on the user every time.
This commit is contained in:
parent
1f59950af8
commit
db7f132f6e
10 changed files with 27 additions and 80 deletions
27
nixosModules/apps/animelauncher/app.nix
Normal file
27
nixosModules/apps/animelauncher/app.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ config, inputs, lib, ... }:
|
||||
|
||||
{
|
||||
options.aagl = {
|
||||
enable = lib.mkEnableOption
|
||||
"Enables another anime game launcher settings";
|
||||
honkai-rail = lib.mkEnableOption
|
||||
"Enables honkai star rail";
|
||||
genshin = lib.mkEnableOption
|
||||
"Enables genshin impact";
|
||||
honkai-3rd = lib.mkEnableOption
|
||||
"Enables honkai 3rd impact";
|
||||
};
|
||||
|
||||
imports = [ inputs.aagl.nixosModules.default ];
|
||||
|
||||
config = lib.mkIf config.aagl.enable {
|
||||
nix.settings = inputs.aagl.nixConfig;
|
||||
|
||||
programs.honkers-railway-launcher.enable =
|
||||
lib.mkIf config.aagl.honkai-rail true;
|
||||
programs.anime-game-launcher.enable =
|
||||
lib.mkIf config.aagl.genshin true;
|
||||
programs.honkers-launcher.enable =
|
||||
lib.mkIf config.aagl.honkai-3rd true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue