started the steam box set up
This commit is contained in:
parent
b9c54a5660
commit
be896b7739
13 changed files with 129 additions and 25 deletions
20
modules/system/desktop/gaming.nix
Normal file
20
modules/system/desktop/gaming.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ inputs, lib, config, ... }: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
||||
cfg = config.modules.desktop.gaming;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.jovian.nixosModules.default ];
|
||||
|
||||
options.modules.desktop.gaming = {
|
||||
enable = mkEnableOption "enable steamdeck like desktop";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
jovian.steam = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue