From 981c397c7eab0838c4856adc99f43ae3f9a8c974 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sun, 14 Nov 2021 16:39:33 +0100 Subject: [PATCH] Add ICU to Steam as extra package --- nixos/base.nix | 9 ++++++++- nixos/thor.nix | 13 +++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/nixos/base.nix b/nixos/base.nix index 4529a40..b6cb141 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -216,7 +216,14 @@ ''; security.pam.services.sddm.enableGnomeKeyring = true; - nixpkgs.config.allowUnfree = true; + nixpkgs.config = { + allowUnfree = true; + packageOverrides = pkgs: { + steam = pkgs.steam.override { + extraPkgs = pkgs: with pkgs; [ icu ]; + }; + }; + }; nix.gc.automatic = true; # This value determines the NixOS release from which the default diff --git a/nixos/thor.nix b/nixos/thor.nix index 5fa0428..bf2bcf4 100644 --- a/nixos/thor.nix +++ b/nixos/thor.nix @@ -57,7 +57,9 @@ enable = true; enableSSHSupport = true; }; - steam.enable = true; + steam = { + enable = true; + }; zsh = { enable = true; syntaxHighlighting.enable = true; @@ -161,7 +163,14 @@ virtualbox.host.enable = true; }; - nixpkgs.config.allowUnfree = true; + nixpkgs.config = { + allowUnfree = true; + packageOverrides = pkgs: { + steam = pkgs.steam.override { + extraPkgs = pkgs: with pkgs; [ icu ]; + }; + }; + }; nix.gc.automatic = true; system.stateVersion = "21.05"; # Did you read the comment?