more progress

This commit is contained in:
Chris Kruining 2025-07-24 11:33:23 +02:00
parent ef6c049068
commit 2d0b2b5070
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
31 changed files with 256 additions and 487 deletions

View file

@ -1,4 +1,5 @@
{ lib, config, namespace, inputs, ... }:let
{ lib, config, namespace, inputs, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.desktop.gamescope;
@ -7,11 +8,13 @@ in
imports = [ inputs.jovian.nixosModules.default ];
options.${namespace}.desktop.gamescope = {
enable = mkEnableOption "Enable Steamdeck ui";
enable = mkEnableOption "Enable Steamdeck ui" // {
default = (config.${namespace}.desktop.use == "gamescope");
};
};
config = mkIf cfg.enable {
"${namespace}".desktop.kde.enable = true;
${namespace}.desktop.plasma.enable = true;
jovian = {
steam = {