Leonie (they/she) [Rutile]
Leonie (they/she) [Rutile]
SMSatisfactory Modding
Created by Commentator2.0 on 2/23/2025 in #help-using-mods
failed to resolve lock file v1.0.0 comp
{
config,
lib,
pkgs,
...
}:
let
enabled = config.crystal-cavern.roles.gayming;
in
{
config = lib.mkIf enabled {
nixpkgs.overlays = [
(self: super: {
satisfactorymodmanager =
let pkgsPatched = (import (
self.applyPatches {
src = self.path;
patches = [
(self.fetchpatch {
url = "https://github.com/NixOS/nixpkgs/pull/348137.patch";
sha256 = "sha256-egaMJ6opRSGz8Y98geG2NGpeV+0HpuIaTihvurNBFbY=";
})
];
}
))
{inherit (config.nixpkgs) config system;};
in
pkgsPatched.satisfactorymodmanager;
})
];


nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
lutris
wineWowPackages.waylandFull
prismlauncher
mangohud
satisfactorymodmanager
];
programs = {
steam = {
enable = true;
};
};
crystal-cavern.roles.desktop = lib.mkForce true;
};

options.crystal-cavern.roles.gayming = lib.mkOption {
type = lib.types.bool;

{
config,
lib,
pkgs,
...
}:
let
enabled = config.crystal-cavern.roles.gayming;
in
{
config = lib.mkIf enabled {
nixpkgs.overlays = [
(self: super: {
satisfactorymodmanager =
let pkgsPatched = (import (
self.applyPatches {
src = self.path;
patches = [
(self.fetchpatch {
url = "https://github.com/NixOS/nixpkgs/pull/348137.patch";
sha256 = "sha256-egaMJ6opRSGz8Y98geG2NGpeV+0HpuIaTihvurNBFbY=";
})
];
}
))
{inherit (config.nixpkgs) config system;};
in
pkgsPatched.satisfactorymodmanager;
})
];


nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
lutris
wineWowPackages.waylandFull
prismlauncher
mangohud
satisfactorymodmanager
];
programs = {
steam = {
enable = true;
};
};
crystal-cavern.roles.desktop = lib.mkForce true;
};

options.crystal-cavern.roles.gayming = lib.mkOption {
type = lib.types.bool;

sorry that it took us so long to respond, we weren't at home and didn't have access to the file
18 replies