gaming: add ns-usbloader module
This commit is contained in:
parent
625e67339e
commit
94f793b6ff
2 changed files with 15 additions and 0 deletions
|
|
@ -2,5 +2,6 @@
|
|||
imports = [
|
||||
./steam.nix
|
||||
./gamemode.nix
|
||||
./switch.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
14
modules/nixos/workstation/gaming/switch.nix
Normal file
14
modules/nixos/workstation/gaming/switch.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue