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

linuxmemes

21581 readers
1145 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!


    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 fork-bomb your computer.

    founded 2 years 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 8 months ago (3 children)

    the NixOS btw is spreading

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

    Welcome to the fold!

    If you get a chance check out guix as well.

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

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

    [–] [email protected] 15 points 8 months ago

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

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

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

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

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

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

    I sung it in the dunny. Thank you

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

    I'm not getting a Moiré pattern

    [–] Voroxpete 26 points 8 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.

    load more comments (1 replies)
    [–] [email protected] 21 points 8 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 8 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

    [–] [email protected] 2 points 8 months ago* (last edited 8 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 8 months ago (2 children)
    load more comments (2 replies)
    [–] [email protected] 14 points 8 months ago (1 children)
    [–] [email protected] 12 points 8 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 8 months ago (1 children)
    [–] [email protected] 5 points 8 months ago

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

    [–] [email protected] 4 points 8 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 8 months ago* (last edited 8 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 8 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 8 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.

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

    Well I just don't want to know everybody what software I have. Nobody needs know that I have installed furry sex with Hitler.

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

    Nix, Debian, and Arch ftw

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

    I read that in HK-47's voice.

    he seems to have mellowed.

    [–] [email protected] 4 points 8 months ago (1 children)
    [–] [email protected] 9 points 8 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.

    [–] [email protected] 3 points 8 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 8 months ago* (last edited 8 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.

    [–] [email protected] 4 points 8 months ago* (last edited 8 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 8 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.

    [–] [email protected] 1 points 8 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.

    [–] [email protected] 1 points 8 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 ›