diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-10-13 20:39:39 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-10-13 20:39:39 +0300 |
commit | 8207b0e249513feffd163d4228de685530fc665b (patch) | |
tree | c3b9e26b0b4f49873b2fc70bfc7f3b4a8a65f8bb /modules/nixos | |
parent | 2023-09-30 (diff) |
2023-10-13
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/common/security.nix | 4 | ||||
-rw-r--r-- | modules/nixos/games/steam-run.nix | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/modules/nixos/common/security.nix b/modules/nixos/common/security.nix index 2272e12..c635cdc 100644 --- a/modules/nixos/common/security.nix +++ b/modules/nixos/common/security.nix @@ -1,5 +1,4 @@ -{lib, ...}: -with lib; { +_: { security = { sudo = { enable = true; @@ -26,6 +25,7 @@ with lib; { ''; }; + # Pretty much used only for PipeWire. rtkit.enable = true; }; } diff --git a/modules/nixos/games/steam-run.nix b/modules/nixos/games/steam-run.nix index 4540e3f..2643c95 100644 --- a/modules/nixos/games/steam-run.nix +++ b/modules/nixos/games/steam-run.nix @@ -11,6 +11,7 @@ in { enable = mkEnableOption "native Steam runtime"; quirks = { + blackIsleStudios = mkEnableOption "fixes for games from Black Isle Studios"; cryptOfTheNecrodancer = mkEnableOption ''fixes for "Crypt of the NecroDancer" issues''; mountAndBladeWarband = mkEnableOption ''fixes for "Mount & Blade: Warband" issues''; }; @@ -30,7 +31,8 @@ in { (steam.override { extraLibraries = _: with cfg.quirks; - optionals cryptOfTheNecrodancer [ + optional blackIsleStudios openssl_1_0_0 + ++ optionals cryptOfTheNecrodancer [ (import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/d1c3fea7ecbed758168787fe4e4a3157e52bc808.tar.gz"; sha256 = "0ykm15a690v8lcqf2j899za3j6hak1rm3xixdxsx33nz7n3swsyy"; |