From c217f1169a9cb0c5d6854938d3edf26a841b187e Mon Sep 17 00:00:00 2001 From: zuckerberg <5-zuckerberg@users.noreply.git.neet.dev> Date: Thu, 25 Feb 2021 21:08:55 -0500 Subject: [PATCH] steam + discord --- common/pc/de.nix | 4 ++++ common/pc/discord.nix | 7 +++++++ common/pc/steam.nix | 10 ++++++++++ 3 files changed, 21 insertions(+) create mode 100644 common/pc/discord.nix create mode 100644 common/pc/steam.nix diff --git a/common/pc/de.nix b/common/pc/de.nix index b011e49..54f1003 100644 --- a/common/pc/de.nix +++ b/common/pc/de.nix @@ -12,11 +12,15 @@ ./torbrowser.nix ./pithos.nix ./vscodium.nix + ./discord.nix + ./steam.nix ]; # allow specific unfree packages nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "tigervnc" "font-bh-lucidatypewriter" # tigervnc + "steam" "steam-original" "steam-runtime" # TODO move to steam.nix + "discord" # TODO move to discord.nix ]; # vulkan diff --git a/common/pc/discord.nix b/common/pc/discord.nix new file mode 100644 index 0000000..49c2d39 --- /dev/null +++ b/common/pc/discord.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ + users.users.googlebot.packages = [ + pkgs.discord + ]; +} \ No newline at end of file diff --git a/common/pc/steam.nix b/common/pc/steam.nix new file mode 100644 index 0000000..950f906 --- /dev/null +++ b/common/pc/steam.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + programs.steam.enable = true; + hardware.steam-hardware.enable = true; # steam controller + + users.users.googlebot.packages = [ + pkgs.steam + ]; +} \ No newline at end of file