flake: start transitioning away from with
This commit is contained in:
parent
4b853a8962
commit
deb3e1753c
10 changed files with 281 additions and 270 deletions
|
@ -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];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue