this post was submitted on 24 Mar 2024
116 points (84.1% liked)

linuxmemes

21273 readers
863 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 members of the community for any reason.
  • 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     

    Well let's see if it is worth it or if I go back to debian.

    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 54 points 7 months ago (3 children)

    the NixOS btw is spreading

    load more comments (3 replies)
    [–] [email protected] 27 points 7 months ago (1 children)

    Welcome to the fold!

    If you get a chance check out guix as well.

    [–] [email protected] 10 points 7 months ago
    [–] [email protected] 27 points 7 months ago (2 children)
    [–] [email protected] 26 points 7 months ago (3 children)

    When a grid's misaligned
    with another behind, that's...
    a moire.

    [–] rtxn 15 points 7 months ago

    When the moon hits your knees
    And you mispronounce trees... Sicamore.

    [–] Pyroglyph 9 points 7 months ago (1 children)

    When the spacing is tight
    and the difference is slight, that's a moire!

    [–] guy_threepwood 1 points 7 months ago

    When an eel opens wide and there’s more teeth behind… that’s a Moray!

    [–] [email protected] 4 points 7 months ago

    I sung it in the dunny. Thank you

    [–] [email protected] 1 points 7 months ago

    I'm not getting a Moiré pattern

    [–] [email protected] 25 points 7 months ago (1 children)

    I just took my first dip into it recently, and so far I'm really liking it. Doing almost everything from a single config file is awesome. I've had to google a lot of solutions, but every time, the answer was "add this line to your config file and rebuild." That's it.

    [–] [email protected] 1 points 7 months ago

    I like the idea. And since I am breaking my system on a regular basis I love the possibility to go back or not break it in the first place. However I noticed some issues.

    Iscsi isn't working since the program can't change specific files. Vlc settings can't be changed and sth is wrong with the default ones.

    Nixos makes things write only that shouldn't be or there's missing an option to make a new version by changing the file.

    [–] taanegl 21 points 7 months ago (1 children)

    Me: *declares an app*\

    nixpkgs: Oh what's that, you wanted an entire extra desktop stack inside a separate closure? Yes, sir!

    Me: plz no

    [–] [email protected] 11 points 7 months ago (1 children)

    Try installing a cinnamon app on a gnome distro and you get the same dependencies pulled in, but also put in PATH

    [–] taanegl 2 points 7 months ago* (last edited 7 months ago)

    This is my problem, perhaps not with nixpkgs, but nixpkgs:nixos-{stable|unstable}. Throughout history the call to fame for distribution is not all the fancy bells and whistles, but the cohesiveness and stability of the stack - the entire stack.

    I'm not saying this is a flaw of nixpkgs, but rather a fair amount of technical debt on the of part NixOS maintainers and developers. It's a vast movable system of modules, while being immutable at the same time. It ain't easy. So more contribution is needed.

    I'm happy that people join and help with that. I'll still use NixOS and nixpkgs for embedded, specialised cases, even as servers, but I'm not going to run it on a workstation. But, I'm hopeful for the future. I'd like to run it, but not yet.

    It's not really necessary anyways, nix can run on any system... now onto my adventures of bringing nix to an immutable Fedora system without a container or VM lol

    [–] [email protected] 19 points 7 months ago (2 children)
    load more comments (2 replies)
    [–] clemdemort 14 points 7 months ago (1 children)
    [–] [email protected] 12 points 7 months ago (2 children)

    I will give it an honest try but so far I am upset by the software not working as expected.

    And hell your documentation is lacking.

    There is a single software center currently in beta to install software with gui. And the nix-env version does work well actually but the configuration.nix install is hardly documented and not intuitive.

    [–] [email protected] 4 points 7 months ago (1 children)
    [–] [email protected] 5 points 7 months ago

    Nice. The only usable tool is using non unique naming.

    [–] [email protected] 4 points 7 months ago (1 children)

    You need to think about NixOS backwards. It's like learning a new operating system. It's extremely stable, hell it won't let you update if something breaks, but it does feel like whac a mole at times

    load more comments (1 replies)
    [–] [email protected] 6 points 7 months ago* (last edited 7 months ago) (1 children)

    Please use it for at least one week, as it's a learning experience and not meant for everyone. It took me around a week to become familiar with Nix and Flakes, but I believe it was worth it since now I have to tweak things less often and my configuration's decently organized.

    Also try out Home Manager

    [–] [email protected] 1 points 7 months ago (1 children)

    I will. I could already fall in love with it I think.

    Still some minor issues but for example I installed timeshift and wanted to set up a root backup when it hit me: i don't need that on nixos XD.

    The only thing I still need to figure out is how do I automatically backup my nix configuration. But maybe sth. Like Dropbox will do.

    I don't want to publish it to git unsanitzed.

    [–] [email protected] 1 points 7 months ago (1 children)

    I don’t want to publish it to git unsanitzed.

    You could make a private repo and set up an SSH key to access it. For example, I have my dotfiles hosted on Codeberg but it's a private repo so only I have access to it (although I would not recommend putting unencrypted passwords, even in a private repository)

    Although I understand if you mean not publishing to GitHub as I guess there has been some controversy and it's owned by Microsoft.

    load more comments (1 replies)
    [–] FuglyDuck 5 points 7 months ago (1 children)

    I read that in HK-47's voice.

    he seems to have mellowed.

    [–] [email protected] 5 points 7 months ago

    Nix, Debian, and Arch ftw

    [–] Landless2029 4 points 7 months ago (1 children)
    [–] [email protected] 9 points 7 months ago

    One's the worst idea to suggest to a beginner, the other is not so bad. Mix them up and you've got the best of both worlds.

    [–] tuto193 3 points 7 months ago (1 children)

    I love NixOS! Been using it on all my devices since January and probably never going back :)

    It all sinply just works™! Don't worry about configuration :) As long as you're not using relatively obscure software, you'll be more than fine reading the docs/manual :)

    If you still want to use obsure stuff though, the community on matrix is very active and helpful! Plus most (interesting) projects have at least one or two very dedicated Nix fanatics (/maintainers) willing to help others :D

    [–] [email protected] 5 points 7 months ago* (last edited 7 months ago) (1 children)

    It all sinply just works™! Don't worry about configuration :)

    And how goes your gpu acceleration?

    I didn't know they upgraded from the user having to accidentally find out that they need nixgl, which isn't even in nixpkgs, and then dig through open issues to find a solution that might enable them to automatically start programs with it.

    As long as you're not using relatively obscure software, you'll be more than fine reading the docs/manual :)

    Are alacritty and kitty obscure or have a manual entry? I couldn't get either of them running.

    And as for the manual itself, it's so trash that the only instructions for declarative package management use nix-env and aren't actually declarative.

    [–] tuto193 4 points 7 months ago* (last edited 7 months ago) (1 children)

    GPU acceleration

    All the needed AMD stuff is pretty well documented in the manual. I'm gaming on NixOS with even my "relatively old" AMD GPU.

    nixgl

    The only time I heard about needing that was when using plain "nix" (not NixOS), as in using Nix under any other OS, to run graphical applications. I haven't touched nixgl at all, and don't see the need for it.

    alacritty and kitty

    Literally my terminals (kitty is my main) + foot. Both working easily either under main NixOS config or Home-Manager. What's supposed to not be working there?

    Literally don't know what your problems are/where they lie. I'm a Linux noob (don't even have the patience for Arch Wiki + install), coming from Pop_OS to NixOS and I'm happy it's all so easy. I've installed it on my main PC and two separate laptops and so happy to just share (basically) the same config on all of them.

    [–] [email protected] 4 points 7 months ago (1 children)

    Thanks, good to know.

    I’m a Linux noob (don’t even have the patience for Arch Wiki + install), coming from Pop_OS to NixOS and I’m happy it’s all so easy. I’ve installed it on my main PC and two separate laptops and so happy to just share (basically) the same config on all of them.

    I'm far from a Linux noob, and I gave up on the whole idea before even getting to GPU acceleration, because it was giving me too many issues. Different requirements I guess.

    load more comments (1 replies)
    [–] [email protected] 1 points 7 months ago (1 children)

    Have you used it with Debian? Much better that way IMO

    [–] [email protected] 2 points 7 months ago (1 children)

    Gonna try that next. Probably. Nixos isn't really working if I don't know how to do stuff.

    For example I can't change settings in vlc because it is read only.

    [–] [email protected] 2 points 7 months ago (1 children)

    It's a whole different story when it's just a package manager and not a distro. I made this comment to help people get started.

    I'd only use nixos if there was a specific reason. Otherwise it's too much trouble for practically no benefits.

    [–] [email protected] 1 points 7 months ago* (last edited 7 months ago) (2 children)

    The benefit would be: changing stuff doesn't break it. And if it does you can easily roll back. Keeping the config file sets up a new installation like the old one without trouble. Somehow I don't think you really need it if you aren't distro hopping but I need it way too much.

    Currently the trade offs are too big I think. Programs don't work because of the atomic behaviour.

    And the learning curve is steep even for Linux veterans.

    [–] [email protected] 3 points 7 months ago (1 children)

    You don't need nixos for that. The only thing you lose is rolling back system configuration, unless you use system-manager.

    Unless you're doing scientific computing, or being a sysadmin for a company, you don't actually need nixos. It's at that scale that system reproducibility becomes important enough to offset the downsides. For everyone else, home-manager and a list of packages are more than enough.

    The learning curve is not that bad, it's just that the resources are a pile of burning garbage.

    Also, idk what you're doing with VLC, but ~/.config should still work AFAIK.

    [–] [email protected] 2 points 7 months ago (1 children)

    I did install vlc. I started vlc. I noticed completely wrong subtitle size. I went to settings and tried to change some and save. Vlc throws an error it can't save the file, permission error.

    I install vlc with flatpak. Same subtitle error. I go to the settings, I don't get an error but the settings don't change anything.

    Also almost anything i do in the plasma settings doesn't get saved.

    And that shit should only be saved in the home folder.

    I think I have to clean my home folder.

    But then I have to do the setup of plasma again.

    [–] [email protected] 2 points 7 months ago (2 children)

    Damn, that sucks.

    I gave up on nixos long before getting to that point. On Debian I use apt for to install a few user packages like alacritty because of Nix issues. Everything else is pretty much the same linux experience.

    [–] [email protected] 2 points 7 months ago

    The concept is a great idea.

    The documentation is rare and the atomic behaviour seems to break my whole Linux work flow.

    Which is a good thing I guess. But I can't Google "how to do x on nixos" and get a reasonable answer. I get nothing. Or some weird forums where I don't know what they are talking about.

    [–] [email protected] 1 points 7 months ago

    Ok can confirm. 90% of my problems went away on a new home directory.

    However I still don't know how to iscsi.

    [–] [email protected] 3 points 7 months ago (1 children)
    [–] [email protected] 2 points 7 months ago (2 children)

    Mhh fedora.

    I liked it and I liked nobara.

    However I liked debian more somehow.

    But I could consider going back for his.

    [–] [email protected] 4 points 7 months ago

    My heart is always with Debian, but Bazzite is a surprisingly useable immutable OS. I would suggest using it for your core suite then use Distrobox w/ Debian for any apps outside of that. It's so snappy!

    [–] [email protected] 2 points 7 months ago

    I second Bazzite, it's really good. And more promising than the Nix monstrosity

    [–] [email protected] 1 points 7 months ago

    So just for fun I'll document how everything goes.

    Making a new user with fresh home folder fixed most of my issues.

    I managed to get iscsi working.

    Vlc settings can be changed in the new home folder too, but for some reason this vlc version shows ssa subtitles wrong. Probably not nixos fault.

    load more comments
    view more: next ›