• 4 Posts
  • 16 Comments
Joined 3 months ago
cake
Cake day: November 4th, 2025

help-circle


  • yea that worked, now im getting this tho:

           … while calling the 'head' builtin
             at /nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/lib/attrsets.nix:1713:13:
             1712|           if length values == 1 || pred here (elemAt values 1) (head values) then
             1713|             head values
                 |             ^
             1714|           else
    
           … while evaluating the attribute 'value'
             at /nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/lib/modules.nix:1118:7:
             1117|     // {
             1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
                 |       ^
             1119|       inherit (res.defsFinal') highestPrio;
    
           … while evaluating the option `system.build.toplevel':
    
           … while evaluating definitions from `/nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/nixos/modules/system/activation/top-level.nix':
    
           … while evaluating the option `warnings':
    
           … while evaluating definitions from `/nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/nixos/modules/system/boot/systemd.nix':
    
           … while evaluating the option `systemd.services.home-manager-claymorwan.serviceConfig':
    
           … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/nixos':
    
           … while evaluating the option `home-manager.users.claymorwan.home.file."/home/claymorwan/.config/fontconfig/conf.d/10-hm-fonts.conf".source':
    
           … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/modules/files.nix':
    
           … while evaluating the option `home-manager.users.claymorwan.home.file."/home/claymorwan/.config/fontconfig/conf.d/10-hm-fonts.conf".text':
    
           … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/modules/misc/xdg.nix':
    
           … while evaluating the option `home-manager.users.claymorwan.xdg.configFile."fontconfig/conf.d/10-hm-fonts.conf".text':
    
           … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/modules/misc/fontconfig.nix':
    
           … while evaluating the option `home-manager.users.claymorwan.fonts.fontconfig.configFile.fonts.text':
    
           … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/modules/misc/fontconfig.nix':
    
           (stack trace truncated; use '--show-trace' to show the full, detailed trace)
    
           error: cannot coerce a set to a string: { __functionArgs = «thunk»; __functor = «lambda __functor @ /nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/lib/trivial.nix:1017:17»; override = «thunk»; tests = «thunk»; version = 1; }
    











  • Ok well i was abt to get the logs and just realized that the one game i choosed to try is literally the only one who doesn’t wanna work in lutris so far. I’ve tried a few more native linux games with lutris and they all work, ig lutris just hates this first game in particular, which oddly enoug works with steam-run.

    I suppose if i add the libraries from steam-run to lutris’ fhs environment it’ll work maybe Alsothe lutris logs does’t say anythingi particular, just that the game closed too fast






  • I did notice lutris having its own FHS when upgrading, but aw man this looks pretty dam complicated, I’m like a week old to NixOS I have no idea how imma do this lmao, i did attempt the following

    failed attemps
    home.packages = with pkgs; [
     lutris.overrideAttrs (finalAttrs: previousAttrs: {
          multiPkgs = self ++ [(pkgs.runCommand "steamrun-lib" {}
      "mkdir $out; ln -s ${pkgs.steam-run.fhsenv}/usr/lib64 $out/lib")];
        })
    ];
    

    and

    home.packages = with pkgs; [
     lutris.override {
          buildFHSEnv = self.buildFHSEnv.override {
            multiPkgs = self ++ [(pkgs.runCommand "steamrun-lib" {}
      "mkdir $out; ln -s ${pkgs.steam-run.fhsenv}/usr/lib64 $out/lib")];
          };
        }
    ];
    

    which obviously didn’t work, so yea im kinda lost

    I’m also really surprised that lutris’ FHS just does not have anything to run native linux game by default