1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

lutris: make module x86_64-linux only (#7425)

This commit is contained in:
B1kku 2025-07-10 20:15:49 +00:00 committed by GitHub
parent d81cb050f5
commit fb12dbbce3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -137,6 +137,7 @@ in
config = mkIf cfg.enable {
assertions = [
(lib.hm.assertions.assertPlatform "programs.lutris" pkgs lib.platforms.linux)
(lib.hm.assertions.assertPlatform "programs.lutris" pkgs lib.platforms.x86_64)
];
warnings =
let

View file

@ -1,5 +1,5 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
lib.optionalAttrs (pkgs.stdenv.hostPlatform.isx86_64 && pkgs.stdenv.hostPlatform.isLinux) {
lutris-runners = ./runners-configuration.nix;
# lutris-wine = ./wine-configuration.nix;
lutris-empty = ./empty.nix;