gaming: add switch controller module

This commit is contained in:
Sean Buckley 2022-07-07 23:08:04 -04:00
parent 6ffb839bc9
commit 881bb1b96b

View file

@ -8,9 +8,17 @@ in
config = lib.mkIf cfg.enable config = lib.mkIf cfg.enable
{ {
programs.steam.enable = true; programs.steam.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
obs-studio obs-studio
]; ];
boot.extraModulePackages =
lib.optional
(lib.versionOlder config.boot.kernelPackages.kernel.version "5.16")
(config.boot.kernelPackages.hid-nintendo);
}; };
} }