edit: for anyone curious, the problem was Xorg wasnt loading or something (stuck on systemd ‘graphical interface target reached’ with no graphical interface). because of a typo in a config file.

        • cybersandwich@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I have nix on a VM where I am tuning a config. It seems like a total pain in the ass to have to get everything set up using their scripting language. Things you just take for granted with a normal distro now require you to know the arcane language of Nix to get running.

          I can absolutely see the advantage of it though. I would love nothing more than to take my current popOS install, settings, configs, etc and be able to port that literally anywhere.

          • dukk@programming.dev
            link
            fedilink
            arrow-up
            5
            ·
            1 year ago

            I mean, I use NixOS daily, and aside from installing the occasional package or setting up some dot files, I don’t really touch my Nix config. NixOS was my first daily driver Linux distro and it has a lot of features that I probably take for granted. Early on, I felt like switching from GNOME to KDE. Two lines. Later on installed Hyprland, no problem, then switched to XMonad(had some Wayland issues) and it was stupidly painless.

            Sure, Nix has its “fuck you” moments too, but those are usually never anything truly system-breaking, and can be fixed after an hour or two of Discord support chats. In my eyes, the benefits of Nix definitely outweigh the flaws. Do I wish it was a slightly more sane language? Perhaps. But it’s really when you start using it that you learn to appreciate everything you get. Seriously, I much prefer editing a couple of lines in a config file to pasting commands off the Internet in hopes to achieve what I’m looking for.

            NixOS is, imho, the best Linux distro for programmers or anyone with a decent understanding of Linux (obviously not for computer noobs, and that’s totally fine).

            • fuck_u_spez_in_particular@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              Wow first Linux distro, not bad, it’s not particularly beginner friendly (you’ll have to know how linux works and learn all the Nix related stuff), for me it’s the last distro though^^

              • dukk@programming.dev
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                1 year ago

                I’d had a decent understanding of Linux going in, tbf. Mostly from hanging out on Discord with tons of Linux users. My Nix system is still quite young (a little over 2 months old), but it’s great.

                Getting off the ground was kinda hard though. Luckily, I’ve been using flakes from the very beginning and always setup my dot files with home manager, so I’ve kept the system nice and reproducible.

                For those interested, here’s my dot files.

          • fuck_u_spez_in_particular@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 year ago

            It’s not for everyone. I think it’s almost a requirement to be a programmer, and to be familiar with functional programming. It also has quite a few (necessary?) quirks/magic (module system, overlays, typing, config overrides etc.).

            Actually one of my colleagues just switched from Pop OS! since System76 put all focus into their new desktop environment (while the current distro is barely maintained), which will be available on NixOS too, when it’s ready (which is his plan to use, and mine too).

          • adept@programming.dev
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            As long as you arent doing anything to advanced nix is basically only a configuration languages. You probably have to make heavy use of the option search to know where and what to configure

            • rastilin@kbin.social
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              I didn’t even know the option search existed. I just asked ChatGPT and it just tells me the option I need.

              • fuck_u_spez_in_particular@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                ChatGPT is not yet really good for Nix, probably because the training set consists of not that much nix yet. So yeah browsing in nixpkgs and either the options or package search is the way to go IMO.

        • Takios@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I tried NixOS in a VM with 2GB memory and the package manager OOM’d when searching for a package…stayed with Tumbleweed on my metal.

  • kool_newt@lemm.ee
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    1
    ·
    edit-2
    1 year ago

    In enterprise, this usually is the way. No sense wasting engineer hours troubleshooting something in prod when you can use Ansible to replace the system and restore data in 10 minutes (while your redundant system handles the load of course).

    • toy_boat_toy_boat@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Additionally, going full Linux and then trying to install Windows again is a nightmare (but I guess that’s not really what we’re talking about here).

      • okamiueru@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        I learned the hard way to never trust windows to not destroy other disks. One time it decided to place the boot partition on a disk it saw having a unknown file system. Turns out it was a disk on a raid-array. After that I physically unpower all other disks before installing windows.

    • ccdfa@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I was definitely scared if Arch before trying it. Seemed like the general consensus was that it wasn’t a matter of if Arch would break, but when. I heard that updating everything will eventually break the system. Well, I figured, I’d like to try it just to see. I haven’t had a single problem and it’s the setup I’m most proud of l, having spent the most amount of time building it up to exactly how I like it.

  • archchan@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    I did that as a beginner a few times but now I’m able to resolve everything I need to with the good old terminal.

    • Haui@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I am new to desktop linux. It is a pain to not know certain troubleshooting steps as I do mostly for server linux.

      For example, not knowing what the gui consists of, which applications are essential and which are not.

      • brakenium@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        In that case I would like to recommend you install Arch at least once. Not to actually use in production, but it made a lot of things click for me that help me with server stuff too. Just follow along with the install guide on the wiki inside of a VM.

        If you really want to know what applications are essential I’d install a window manager and not just install the gnome package. Though even just installing your favourite DE will work fine.

        I’ve heard other people recommend Gentoo and Linux from scratch as well for this purpose since they go even deeper, but that may be too much to start off with and I haven’t done that myself

      • taaz@biglemmowski.win
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        1 year ago

        I feel this, especially the GUI/Desktop essential stuff, and I have been daily driving Linux on desktop for about 8 years now.

        Going from Debian with Mate to Arch with AwesomeWM (minimal tiled window manager), there is a lot you actually need to know and it’s convoluted how it interacts with each other, a lot of it is thru dbus but some things go thru env variables - .xprofile, .profile, bashrc/zshrc, pam_env.

        Yesterday I found out I am actually not running any gui polkit agents - I had it installed (possibly for years) but the .deskop file had OnlyShowIn=Xfce so Dex didn’t autostart it.

        Sometimes I do feel like I am just making my life harder for no reason but I love the minimal UI and kb navigation.

        • Haui@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Thank you very much for this explanation. i will try to check out some books on the matter. I feel like we (as in the community around linux) need to have a chat about helping others and not judging. :) we have a great opportunity here to gather a lot more users from windows but we wont until we manage to actually welcome and not insult them all the time.

    • darcy@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      1 year ago

      sometimes i just cant be bothered figuring out why systemd isnt starting a graphical interface, or whatever, and reinstalling doesnt take very long if you have a home partition

    • NikkiNikkiNikki@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      The real terminal fun comes from accidentally entering grub’s rescue mode when you fuck the config up, and then having to frantically remember how to boot linux manually

  • utopiah@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    Surprising to me so I must do some things right :

    • dedicated /home partition
    • OS on SSD, new OS on fast USB stick
    • backup on another physical disk of important data (usually a subset of /home )
    • other partition for OS testing
    • other working device for instructions and search online (mobile phone is usually enough)
    • documented setup for complex tools, e.g /home/Prototypes where you might have container setups, e.g docker-compose.yml

    Usually if you have this in place its a matter of hour, at most. Sure in 1h you will not have ALL the apps you need perfectly configured but, for me at least, enough to feel at “home” again. It’s usually about having ~/.bashrc or ~/.tridactilrc in place but if you do have /home on another partition, it’s basically “free”.

    • WereCat@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      3
      ·
      1 year ago

      I really had to chuckle when reading the comments.

      Linux broke, had to reinstall: -“we do this in bussiness too!”

      Windows broke. had to reinstall: -“LOL! Shitty Windows, install Linux!”

      • utopiah@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Makes me curious, can you have a Windows image leading you to work without any interaction? (e.g no activation, mounted data partition, etc)

        • Honytawk@lemmy.zip
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          Of course. Windows is the most widely used business OS for a reason.

          They have options to manage anything, even reinstall Windows every time you open your laptop if you so wish. With preinstalled software, activation, mounting drives, specialised settings through GPO, … and fully automated.

  • eldain@feddit.nl
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    It is normal for a beginner to only have 1 tool in their debugging toolbox 🤷‍♂️

    Git good and solve the problems you create.

  • Marxism-Fennekinism@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 year ago

    Goddammit I’m literally right now trying to decide if I want to spend an entire day wiping and reinstalling the OS in my main PC or if I can live with the current glitches for now. Full disclosure, in my case the glitchy behaviour is entirely on me trying to tinker with the OS and accidentally breaking stuff, not an issue with Linux or the distro.

  • umbrella@lemmy.ml
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    1 year ago

    my current install is 3 yrs old, if you select a decent distro and dont fuck with its internals it works pretty well.

    i suspect most of the people complaining are either on a meme distro or they poke too much into the system

    • ky56@aussie.zone
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      1 year ago

      You seem to implying that doing anything other than using preinstalled apps like the web browser is “poking too much into the system” and are therefore idiots. As I have had a system break just by installing or upgrading packages on Ubuntu. Now I always use ZFS on root and make snapshots of everything beforehand.

      • PrincessZelda@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        I installed Ubuntu on my desktop I wasn’t using for a while, then had to wipe it again a couple hours later after I seemingly bricked my OS installing a package necessary to run AppImages, except it uninstalled some pretty critical shit

      • radix@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        I don’t know what they meant by “meme distros”, but I can say that the thing that immediately comes to mind is TempleOS.

    • Madex@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      What would you suggest is a meme distro, I’m using endeavour os, it is imo perfection almost.

      Whatever distribution I tried something didn’t work or failed to boot

    • AllHailTheSheep@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      yep. not worth the troubleshooting time when you can pull a brand new image from the servers in about 5 minutes, especially when it ties into a file server so you don’t have to worry about lost data.

  • brokenlcd@feddit.it
    link
    fedilink
    arrow-up
    9
    arrow-down
    2
    ·
    1 year ago

    I have only really done this while i used windows, on linux i have always been able to find a solution that didn’t require reinstalling; on windows on the other hand i had a time where it just started to bluescreen at every boot out of nowhere…

    • Polar@lemmy.ca
      link
      fedilink
      arrow-up
      7
      arrow-down
      3
      ·
      1 year ago

      Meanwhile I’ve had Linux distros just completely bork themselves 20 minutes after install. Or during an update. Or while running a terminal command, because the “friendly” Linux community refused to give me GUI instructions, or simply explain what the command did.

      • seitanic@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        They should explain what the commands do. Nobody should be blindly copy-pasting commands into their terminal.

        Also, consider the source. Advice you get from Stack Overflow is going to be better than what you get from some random you DMed who said they were a “Linux ninja”.

    • toy_boat_toy_boat@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I scored a bunch of used SSDs from my old work that were out in the dumpster. Company was fine with tech dumpster diving back then. Now I can do full installs and really see what they do on my potato :)