Add this to your home-manager
let
f = pkgs.factorio.override {
username = "<Your Username>";
token = "<Token>";
versionsJson = ./factorio.json;
};
in
{
home-manager.users."<Your Username>".home.packages = [ f ];
};
In factorio.json
{
"x86_64-linux": {
"alpha": {
"stable": {
"name": "factorio-space-age_linux_2.0.7.tar.xz",
"needsAuth": true,
"sha256": "1zvk1skkm37kyikq4l1q285l8zhxc6lqvs1x2y2ccxwd4cdm6r96",
"tarDirectory": "x64",
"url": "https://factorio.com/get-download/2.0.7/expansion/linux64",
"version": "2.0.7"
}
}
}
}
To get your Factorio working.
I tried nix because it seemed cool, but dipped fast due to things like this. Definitely not a desktop distro (at least for me)
Let us all bow our heads to raiguard, the single person who is developing Factorio’s Linux-native side, and who also agrees that GNOME’s decision to axe server-side decorations was fucking stupid.
Honestly, they just shouldn’t have added support. GNOMEs been causing problems for basically everyone else for a long time. If they want to do their own thing, that’s fine, but we shouldn’t but everyone else shouldn’t have to do extra work to accommodate them.
why not use steam? I know steam has drm and isn’t free as in free speech, but it’s many times more practical. 2.0.8 is out now, and presumably there will be many updates a week for the foreseeable future, and updating by hand or with a script just to get a drm-free version in nixos seems a bit impractical to me.
this looks like so much pain. Why do you do this to yourself?
The configuration must grow.
Nix makes me want to cry