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

linuxmemes

21172 readers
872 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
    [–] person@lemm.ee 54 points 7 months ago (3 children)

    the NixOS btw is spreading

    load more comments (3 replies)
    [–] WalnutLum@lemmy.ml 27 points 7 months ago (1 children)

    Welcome to the fold!

    If you get a chance check out guix as well.

    [–] JackGreenEarth@lemm.ee 27 points 7 months ago (2 children)
    [–] pmk@lemmy.sdf.org 26 points 7 months ago (3 children)

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

    [–] rtxn@lemmy.world 15 points 7 months ago

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

    [–] Pyroglyph@lemmy.world 9 points 7 months ago (1 children)

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

    [–] guy_threepwood@lemmy.world 1 points 7 months ago

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

    [–] palitu@aussie.zone 4 points 7 months ago

    I sung it in the dunny. Thank you

    [–] callyral@pawb.social 1 points 7 months ago

    I'm not getting a Moiré pattern

    [–] Voroxpete@sh.itjust.works 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.

    [–] Johanno@feddit.de 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@lemmy.world 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

    [–] pbsds@lemmy.ml 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@lemmy.world 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

    [–] jack@monero.town 19 points 7 months ago (2 children)
    load more comments (2 replies)
    [–] clemdemort@lemmy.world 14 points 7 months ago (1 children)
    [–] Johanno@feddit.de 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.

    [–] Shareni@programming.dev 4 points 7 months ago (1 children)
    [–] Johanno@feddit.de 5 points 7 months ago

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

    [–] therealjcdenton@lemmy.zip 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)
    [–] callyral@pawb.social 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

    [–] Johanno@feddit.de 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.

    [–] callyral@pawb.social 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@lemmy.world 5 points 7 months ago (1 children)

    I read that in HK-47's voice.

    he seems to have mellowed.

    [–] wolfruff@pawb.social 5 points 7 months ago

    Nix, Debian, and Arch ftw

    [–] Landless2029@lemmy.world 4 points 7 months ago (1 children)
    [–] Shareni@programming.dev 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@lemmy.world 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

    [–] Shareni@programming.dev 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@lemmy.world 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.

    [–] Shareni@programming.dev 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.

    [–] zalgo@lemmy.world 1 points 7 months ago

    Fwiw I used nixos on my desktop for about 2 years and had zero issues regarding GPU acceleration. That said, I did have a modern AMD GPU, generally the easiest GPU to get acceleration working on.

    [–] Johanno@feddit.de 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.

    [–] Shareni@programming.dev 1 points 7 months ago (1 children)

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

    [–] Johanno@feddit.de 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.

    [–] Shareni@programming.dev 2 points 7 months ago (10 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.

    load more comments (10 replies)
    load more comments
    view more: next ›