nix-gaming icon indicating copy to clipboard operation
nix-gaming copied to clipboard

star-citizen building wine-ge-full-Proton8-26 despite cache

Open SIGSTACKFAULT opened this issue 1 year ago • 1 comments

trying to install star-citizen via home-manager. here's my git diff.
flake.nix is my home flake; i don't use flakes for whole system configuration (yet).

diff --git a/configuration.nix b/configuration.nix
index af42b5f..75c9a1e 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -153,6 +153,10 @@
     "192.168.86.41" = [ "prusalink.local" ];
   };
 
+  nix.settings = {
+    substituters = ["https://nix-gaming.cachix.org"];
+    trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
+  };
 
   # Some programs need SUID wrappers, can be configured further or are
   # started in user sessions.
diff --git a/flake.nix b/flake.nix
index 7cba775..1b6c280 100644
--- a/flake.nix
+++ b/flake.nix
@@ -15,9 +15,10 @@
       inputs.nixpkgs.follows = "nixpkgs";
       inputs.home-manager.follows = "home-manager";
     };
+    nix-gaming.url = "github:fufexan/nix-gaming";
   };
 
-  outputs = inputs @ { nixpkgs, nixpkgs2311, home-manager, plasma-manager, ... }:
+  outputs = inputs @ { nixpkgs, nixpkgs2311, home-manager, plasma-manager, nix-gaming, ... }:
     let
       system = "x86_64-linux";
       pkgs = nixpkgs.legacyPackages.${system};
@@ -39,6 +40,7 @@
           inputs.plasma-manager.homeManagerModules.plasma-manager
           ./home.nix
           ./plasma.nix
+          { home.packages = with inputs.nix-gaming.packages.${pkgs.system}; [ star-citizen ]; }
         ];
       };
     };

Despite adding the nix-gaming cache as instructed, it's still building wine: image

what do?

SIGSTACKFAULT avatar May 17 '24 17:05 SIGSTACKFAULT

it finally finished building and it also doesn't work. black screen.

SIGSTACKFAULT avatar May 17 '24 18:05 SIGSTACKFAULT