mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
gaming: add switch controller module
This commit is contained in:
parent
6ffb839bc9
commit
881bb1b96b
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue