feat(nixos): Steam

This commit is contained in:
punkfairie 2025-01-19 15:09:31 -08:00
parent fab00092df
commit 032f595f7e
No known key found for this signature in database
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.marleyos.programs.steam;
in {
options.marleyos.programs.steam.enable = lib.mkEnableOption "steam";
config = lib.mkIf cfg.enable {
programs.steam = {
enable = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
};
}

View file

@ -21,6 +21,7 @@ in {
programs = { programs = {
fish = enabled; fish = enabled;
nh = enabled; nh = enabled;
steam = enabled;
}; };
services = { services = {