Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SIGSTACKFAULT opened this issue May 17, 2024 · 1 comment
Open

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

SIGSTACKFAULT opened this issue May 17, 2024 · 1 comment

Comments

@SIGSTACKFAULT
Copy link

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
Copy link
Author

SIGSTACKFAULT commented May 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant