diff --git a/nixos/boxes/foureighty/default.nix b/nixos/boxes/foureighty/default.nix index 4f91851a..8575b2de 100644 --- a/nixos/boxes/foureighty/default.nix +++ b/nixos/boxes/foureighty/default.nix @@ -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 = [ @@ -23,9 +16,9 @@ ../../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.plymouth = { enable = true; @@ -64,11 +57,20 @@ }; }; }; - services.fprintd = {enable = true;}; + 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]; + home-manager.users.cyryl = { ... }: { + imports = [ ../../home-manager/programs/alacritty.nix ]; home.packages = [ inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".bisq-desktop ];