steam + discord

This commit is contained in:
zuckerberg 2021-02-25 21:08:55 -05:00
parent 9cd0ac9586
commit c217f1169a
3 changed files with 21 additions and 0 deletions

View File

@ -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

7
common/pc/discord.nix Normal file
View File

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
{
users.users.googlebot.packages = [
pkgs.discord
];
}

10
common/pc/steam.nix Normal file
View File

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
programs.steam.enable = true;
hardware.steam-hardware.enable = true; # steam controller
users.users.googlebot.packages = [
pkgs.steam
];
}