gaming: add ns-usbloader module

This commit is contained in:
ooks-io 2025-01-05 22:09:22 +11:00
parent 625e67339e
commit 94f793b6ff
2 changed files with 15 additions and 0 deletions

View file

@ -2,5 +2,6 @@
imports = [
./steam.nix
./gamemode.nix
./switch.nix
];
}

View file

@ -0,0 +1,14 @@
{
lib,
config,
...
}: let
inherit (lib) mkIf elem;
inherit (config.ooknet.workstation) profiles;
in {
config = mkIf (elem "gaming" profiles) {
programs.ns-usbloader = {
enable = true;
};
};
}