From 1d6086f69e4110866520c54a618d735d5f4290d8 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Tue, 1 Sep 2020 11:44:58 +0200 Subject: [PATCH] Add steam --- configurations/steam.nix | 13 +++++++++++++ profiles/graphical.nix | 1 + 2 files changed, 14 insertions(+) create mode 100644 configurations/steam.nix diff --git a/configurations/steam.nix b/configurations/steam.nix new file mode 100644 index 00000000..f3154c9e --- /dev/null +++ b/configurations/steam.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: { + hardware = { + opengl = { + driSupport32Bit = true; + extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; + }; + pulseaudio.support32Bit = true; + }; + + home-manager.users.charlotte = { pkgs, ... }: { + home.packages = [ pkgs.steam ]; + }; +} diff --git a/profiles/graphical.nix b/profiles/graphical.nix index 76a6dff8..ab7e6ea2 100644 --- a/profiles/graphical.nix +++ b/profiles/graphical.nix @@ -21,6 +21,7 @@ ../configurations/sound.nix ../configurations/sway.nix ../configurations/syncthing.nix + ../configurations/steam.nix ../configurations/teams.nix ../configurations/themes.nix ../configurations/thunderbird.nix