This commit is contained in:
Chris Kruining 2026-03-25 16:26:04 +01:00
parent ac3dac322d
commit a7a1763fe0
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
105 changed files with 1152 additions and 1093 deletions

View file

@ -1,18 +1,23 @@
{ lib, config, namespace, ... }:
let
{
lib,
config,
namespace,
...
}: let
inherit (lib) mkIf mkEnableOption mkForce;
cfg = config.${namespace}.desktop.gamescope;
in
{
options.${namespace}.desktop.gamescope = {
enable = mkEnableOption "Enable Steamdeck ui" // {
default = (config.${namespace}.desktop.use == "gamescope");
};
cfg = config.sneeuwvlok.desktop.gamescope;
in {
options.sneeuwvlok.desktop.gamescope = {
enable =
mkEnableOption "Enable Steamdeck ui"
// {
default = config.sneeuwvlok.desktop.use == "gamescope";
};
};
config = mkIf cfg.enable {
${namespace}.desktop.plasma.enable = true;
sneeuwvlok.desktop.plasma.enable = true;
services.displayManager.sddm.enable = mkForce false;
services.displayManager.gdm.enable = mkForce false;