From 4e67d74766bec20129d9f9ae8e9c0174fb272194 Mon Sep 17 00:00:00 2001 From: ene Date: Fri, 7 Apr 2023 11:12:27 +0200 Subject: Feat(hm/pkgs): Add lutris Lutris requires Steam as a dependency, thus allowing steam is required. There seems to be no other way to do this, I'm afraid. --- system/services/default.nix | 1 + system/services/steam/default.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 system/services/steam/default.nix (limited to 'system') diff --git a/system/services/default.nix b/system/services/default.nix index 36cf9763..63f0e733 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -3,6 +3,7 @@ ./printing ./nix ./snapper + ./steam ./dconf ./openssh ]; diff --git a/system/services/steam/default.nix b/system/services/steam/default.nix new file mode 100644 index 00000000..916b3b15 --- /dev/null +++ b/system/services/steam/default.nix @@ -0,0 +1,12 @@ +# vim: ts=2 +{lib, ...}: { + programs.steam = { + enable = true; + }; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "steam" + "steam-original" + "steam-runtime" + "steam-run" + ]; +} -- cgit 1.4.1