From d8f7b8bbc264bf2bd8c64c9ccf654c51082501c4 Mon Sep 17 00:00:00 2001 From: fleaz Date: Thu, 3 Mar 2022 00:29:46 +0100 Subject: [PATCH] cray: Install steam --- machines/cray/configuration.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/machines/cray/configuration.nix b/machines/cray/configuration.nix index a3c3546..5d0905e 100644 --- a/machines/cray/configuration.nix +++ b/machines/cray/configuration.nix @@ -4,6 +4,7 @@ { sources ? import ../../nix , pkgs ? sources.pkgs { } +, lib , ... }: @@ -22,8 +23,6 @@ in boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.efiSysMountPoint = "/boot/efi"; - nix.useSandbox = false; - boot.loader.systemd-boot.enable = false; boot.loader.grub = { enable = true; @@ -62,6 +61,12 @@ in services.printing.drivers = with pkgs; [ splix ]; + programs.steam.enable = true; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "steam" + "steam-original" + "steam-runtime" + ]; # List packages installed in system profile. To search, run: environment.systemPackages = with pkgs; [ vim wget curl git ];