init: public
This commit is contained in:
24
modules/desktop/gaming/steam.nix
Normal file
24
modules/desktop/gaming/steam.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.my.makeSwitch {
|
||||
inherit config;
|
||||
optionName = "steam";
|
||||
optionPath = [
|
||||
"desktop"
|
||||
"gaming"
|
||||
"steam"
|
||||
];
|
||||
config' = {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
package = pkgs.steam;
|
||||
extraPackages = with pkgs; [
|
||||
gamescope
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user