From 6a2c6a5c540bd2d8eee3e5c2b5adf4be7d7d9651 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Thu, 10 Jul 2025 10:26:10 -0400 Subject: [PATCH] Another fix for chaotic input --- flake.nix | 6 +++++- modules/nixos/default.nix | 2 +- modules/nixos/steam.nix | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 675d46f..6667579 100644 --- a/flake.nix +++ b/flake.nix @@ -47,7 +47,11 @@ ) // { homeManagerModules.play = import ./modules/home; - nixosModules.play = import ./modules/nixos; + nixosModules.play = { + imports = [ + (import ./modules/nixos { inherit chaotic; }) + ]; + }; # Default module (home-manager) homeManagerModules.default = self.homeManagerModules.play; diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index 6fbe3ee..da01d37 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -4,6 +4,6 @@ ./ananicy.nix ./gamemode.nix ./lutris.nix - ./steam.nix + (import ./steam.nix { inherit chaotic; }) ]; } diff --git a/modules/nixos/steam.nix b/modules/nixos/steam.nix index 7c0850a..c6c7087 100644 --- a/modules/nixos/steam.nix +++ b/modules/nixos/steam.nix @@ -4,7 +4,7 @@ pkgs, lib, config, - inputs, + chaotic, ... }: @@ -13,7 +13,7 @@ let # Import proton packages directly, some users wont chaotics overlay proton-cachyos = pkgs.callPackage ../../pkgs/proton-cachyos { }; - proton-ge-custom = inputs.chaotic.legacyPackages.${pkgs.system}.proton-ge-custom; + proton-ge-custom = chaotic.legacyPackages.${pkgs.system}.proton-ge-custom; defaultCompatPackages = [ proton-cachyos