add steam

This commit is contained in:
Cyryl Płotnicki 2023-01-04 09:51:26 +00:00
parent f54f75590e
commit c690e209e5

View file

@ -1,11 +1,4 @@
{
config,
pkgs,
inputs,
lib,
nixpkgs-nixos-unstable-and-unfree,
...
}: {
{ config, pkgs, inputs, lib, nixpkgs-nixos-unstable-and-unfree, ... }: {
networking.hostName = "foureighty";
imports = [
@ -66,6 +59,15 @@
};
services.fprintd = { enable = true; };
programs.ccache.enable = true;
hardware.opengl.extraPackages = with pkgs; [ libva ];
programs.steam.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-runtime"
"steam-run"
];
home-manager.users.cyryl = { ... }: {
imports = [ ../../home-manager/programs/alacritty.nix ];