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"; networking.hostName = "foureighty";
imports = [ imports = [
@ -23,9 +16,9 @@
../../mercurial ../../mercurial
]; ];
fileSystems."/" = {options = ["compress=zstd"];}; fileSystems."/" = { options = [ "compress=zstd" ]; };
boot.binfmt.emulatedSystems = ["aarch64-linux"]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.plymouth = { boot.plymouth = {
enable = true; enable = true;
@ -64,11 +57,20 @@
}; };
}; };
}; };
services.fprintd = {enable = true;}; services.fprintd = { enable = true; };
programs.ccache.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 = {...}: { home-manager.users.cyryl = { ... }: {
imports = [../../home-manager/programs/alacritty.nix]; imports = [ ../../home-manager/programs/alacritty.nix ];
home.packages = [ home.packages = [
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".bisq-desktop inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".bisq-desktop
]; ];