this post was submitted on 21 Oct 2024
263 points (97.8% liked)

linuxmemes

28524 readers
654 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     

    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.

    all 20 comments
    sorted by: hot top controversial new old
    [–] rtxn@lemmy.world 48 points 1 year ago (1 children)

    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.

    [–] RustyNova@lemmy.world 41 points 1 year ago (1 children)

    I tried nix because it seemed cool, but dipped fast due to things like this. Definitely not a desktop distro (at least for me)

    [–] Johanno@feddit.org 16 points 1 year ago (1 children)

    I mean you are completely right. But I mean do you know people who have fun dying in dark souls?

    Because you can make it in nixos you just have to be a masochist.

    [–] RustyNova@lemmy.world 3 points 1 year ago

    It's definitely viable. Just not for me, like dark souls.

    [–] TriflingToad@lemmy.world 35 points 1 year ago (1 children)

    this looks like so much pain. Why do you do this to yourself?

    [–] thesporkeffect@lemmy.world 41 points 1 year ago

    The configuration must grow.

    [–] possiblylinux127@lemmy.zip 27 points 1 year ago (1 children)
    [–] sunstoned@lemmus.org 11 points 1 year ago

    Tears of joy, no doubt

    [–] mvirts@lemmy.world 19 points 1 year ago

    🀣 beautiful

    [–] baguettefish@discuss.tchncs.de 14 points 1 year ago (1 children)

    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.

    [–] Object@sh.itjust.works 15 points 1 year ago (1 children)

    I forgot you can get Factorio from Steam...

    You even get a free steam key for each purchase on factorio.com, no need to repurchase

    [–] AlligatorBlizzard@sh.itjust.works 9 points 1 year ago (2 children)

    So I'm currently in a full stack bootcamp (I know - it was free for me and I'm learning things even if it's basically a scam)... why does Factorio have a json file?

    [–] WhyJiffie@sh.itjust.works 22 points 1 year ago

    I suspect that the JSON file is for the Nix package manager

    [–] secret300@lemmy.sdf.org 2 points 1 year ago

    NixOS configuration stuff I'm assuming

    [–] Doolbs@lemmy.world 8 points 1 year ago (2 children)

    Why?

    I'm thinking of installing it. Is there a problem with it not running?

    [–] Object@sh.itjust.works 23 points 1 year ago* (last edited 1 year ago)

    You need to package all dynamically linked executables because NixOS disables them by design. It's to prevent two programs not working because they depend on different versions of a single library. But it's not helpful when you have a program you need to run, and you need it real soon.

    In terms of whether Factorio runs or not, it does run. You have to add that configuration though.

    Still, if you are familiar with Linux and don't usually get that "I need a program running ASAP" situations, it is a great OS to learn. I can recommend them.

    [–] Johanno@feddit.org 7 points 1 year ago

    Please just use steam. No hassle there.

    [–] BuboScandiacus@mander.xyz 3 points 1 year ago

    I don’t get it