feat: slippi init config

This commit is contained in:
ooks-io 2024-02-16 01:15:44 +13:00
parent cbb415fd66
commit 170cfe7f3c
8 changed files with 149 additions and 3 deletions

View file

@ -10,6 +10,6 @@
#./utility -- still needs to be implemented
./wayland # -- almost done, need to implement eww
#./productivity -- still needs to be implemented
# ./gaming
./gaming
];
}

View file

@ -1 +1,15 @@
{ lib, ... }:
{
imports = [
./slippi
];
options.homeModules.desktop.gaming = {
slippi = {
enable = lib.mkEnableOption "Enable Slippi home module";
};
};
}

View file

@ -0,0 +1,18 @@
{ inputs, config, lib, ... }:
let
cfg = config.homeModules.desktop.gaming.slippi;
in
{
imports = [
inputs.ssbm-nix.homeManagerModule
];
config = lib.mkIf cfg.enable {
ssbm = {
slippi-launcher.enable = true;
};
};
}