flake: start transitioning away from with

This commit is contained in:
Charlie Root 2025-03-02 19:11:27 +01:00
commit deb3e1753c
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
10 changed files with 281 additions and 270 deletions

View file

@ -3,8 +3,8 @@
lib,
pkgs,
...
}:
with lib; let
}: let
inherit (lib) mkIf;
cfg = config.modules.system.programs.steam;
in {
config = mkIf cfg.enable {
@ -17,10 +17,11 @@ in {
};
extraLibraries = p:
with p; [
atk
];
builtins.attrValues {
inherit (p) atk;
};
};
gamescopeSession.enable = true;
extraCompatPackages = [pkgs.proton-ge-bin.steamcompattool];
};