nix-config/common/pc/steam.nix
2021-04-11 21:43:27 -04:00

14 lines
256 B
Nix

{ lib, config, pkgs, ... }:
let
cfg = config.de;
in {
config = lib.mkIf cfg.enable {
programs.steam.enable = true;
hardware.steam-hardware.enable = true; # steam controller
users.users.googlebot.packages = [
pkgs.steam
];
};
}