add steamcmd and steam-tui to steam config

This commit is contained in:
jacekpoz 2024-09-14 19:55:09 +02:00
parent 5cc3cb08a4
commit 495f8f5cf3
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -1,3 +1,19 @@
_: {
{
config,
lib,
pkgs,
...
}: let
inherit (config.poz.other.system) username;
inherit (lib.attrsets) attrValues;
in {
programs.steam.enable = true;
home-manager.users.${username} = {
home.packages = attrValues {
inherit (pkgs.steamPackages) steamcmd;
inherit (pkgs) steam-tui;
};
};
}