NixOs

So let me get this straight
>NixOS has flakes, experimental feature that is the new way to manage your configs
>Flakes depend entirely on people hosting flake configs on github
>you are essentially married to MICROSOFT GITHUB
>MICROSOFT owns your goddamn system configs
Imagine if everyone used Nix. Microsoft would control Linux.
There has never been a bigger enemy against free and open source software than NixOS

A Conspiracy Theorist Is Talking Shirt $21.68

Black Rifle Cuck Company, Conservative Humor Shirt $21.68

A Conspiracy Theorist Is Talking Shirt $21.68

  1. 3 weeks ago
    Anonymous

    I got flakes in my hair

  2. 3 weeks ago
    Anonymous

    when i scratch my balls some flakes come out into my nails

    • 3 weeks ago
      Anonymous

      man, what the frick.

    • 3 weeks ago
      Anonymous

      you sure you aren't killing your ball sack with something anon? It's not supposed to flake...

    • 3 weeks ago
      Anonymous

      I once had this problem. Was very very itchy. It was an allergic reaction to the detergent used to wash my undies.

  3. 3 weeks ago
    Anonymous

    Is there a more reddit thing than blaming le evil corporations for everything? It's the midwits way of coping with ignorance and fear.
    >ITS DA CORPOOOOOOOOOOOOOOOOS
    >ITS DA MICROSOOOOOOOOOOOOOFT
    Shut the frick up, hillbilly. NixOS just works.

    • 3 weeks ago
      Anonymous

      >its le good that my system depends on microsoft
      might as well install Windows

      • 3 weeks ago
        Anonymous

        The only good distributions in linux ecosystem are ones heavily contributed to and influenced by corporations like RedHat/Canonical, your entire system would be pozzed by now if it werent for MS employee spotting the newest xz backdoor. Stop coping and accept that Linux relies on goodwill of corporations and their employees to even function or make any progress.

        • 3 weeks ago
          Anonymous

          this post settles it. Nix users are a trojan horse troons

        • 3 weeks ago
          Anonymous

          >The only good distributions
          >Canonical
          gr8 b8 m8

          • 3 weeks ago
            Anonymous

            Your favorite distro wouldn't exist without Canonical's contributions to various foss projects that are quintessential to any distro.

          • 3 weeks ago
            Anonymous

            That might be the case, but calling their distros good is a stretch.
            And they are hell-bent on making them shittier.

          • 3 weeks ago
            Anonymous

            i use musl void though

    • 3 weeks ago
      Anonymous

      >Is there a more reddit thing than blaming le evil corporations for everything?
      yeah, bootlicking corporations to cope in favor of the software you use and pretending it's the intellectual take

  4. 3 weeks ago
    Anonymous

    >Flakes depend entirely on people hosting flake configs on github
    This isn't true, it just needs to be tracked by git. You can host on any website that hosts git. Github is just the most popular due to how free(gratis) it is. And it's where most projects are hosted anyways.
    >Imagine if everyone used Nix
    Why would they do this?
    >Microsoft would control Linux
    How?

    • 3 weeks ago
      Anonymous

      >this isnt true, its just ultimately ends up being dependant on github
      I accept your concession. Github is built in to flakes

      • 3 weeks ago
        Anonymous

        You never answered my questions homosexual.

  5. 3 weeks ago
    Anonymous

    I'm just glad that all redditors have moved to nixos from Arch. Finally using arch won't be a cringe.

  6. 3 weeks ago
    Anonymous

    >hosting flake configs on github
    every git repository is fine, it doesn't have to be on github

  7. 3 weeks ago
    Anonymous

    >OP doesn't know the difference between git and GitHub
    wew

  8. 3 weeks ago
    Anonymous

    You are a dumb black gorilla Black person, those repos can be hosted anywhere so long as it is version controlled by git

    • 3 weeks ago
      Anonymous

      >OP doesn't know the difference between git and GitHub
      wew

      >hosting flake configs on github
      every git repository is fine, it doesn't have to be on github

      You never answered my questions homosexual.

      >git=github
      >muh freedom! muh enemies! muh free and open sores!
      why are people such Black folk who never do any kind of research and just spread fear about things they don't understand is beyond me. Do you wanted to feel sensational? Well you are a dumb fricking cretin because github is just a git hosting platform.

      >dude just use anything else but github
      not a valid argument
      Nix people cannot say its decentralized (unlike other distros am I right HURR DURR) and then effectively everything is on someones fricking github and whats worse, its not packages its SYSTEM CONFIGS

      And whats worse? This is competing way to do stuff on Nix, there are at least 3 different ways to do stuff on Nix. Nothing is documented and somehow on Nix side people act even more moronic than Arch elitists when someone doesnt get the fricking horrible documentation.

      Nixos destroys everything and then it doesnt do anything well and forces users to sell their soul to Microsoft. Anyone who wants to get rid of Windows is essentially going back to the same problems with NixOS and not only because the development environment is really bad

      • 3 weeks ago
        Anonymous

        >its not packages its SYSTEM CONFIGS
        In nixOS that's the same thing. Everything is a derivation.
        >people act even more moronic than Arch elitists when someone doesnt get the fricking horrible documentation.
        Nix autists only act elitist on this board. You shouldn't be using IQfy as tech support. They're helpful in the official chat resources.
        >Nixos destroys everything and then it doesnt do anything well
        If this was true then you wouldn't need to make this thread, because it wouldn't be getting more popular.
        >not only because the development environment is really bad
        Then problem solved then, huh? Doesn't do anything right, it's a bad development environment. Makes the existence of this thread seem redundant because no one's going to use something that doesn't help them, and is worse than the other options, right?

        • 3 weeks ago
          Anonymous

          >Nix autists only act elitist on this board. You shouldn't be using IQfy as tech support. They're helpful in the official chat resources.
          no. On NixOS forums I've seen too many people being like
          >I am not helping you anymore, you need to read the manual
          and these are official NixOS people for frick sake. They are moronic
          >If this was true then you wouldn't need to make this thread, because it wouldn't be getting more popular.
          its not popular and will never be

          • 3 weeks ago
            Anonymous

            >I am not helping you anymore, you need to read the manual
            Since you didn't post an actual example I'm going to assume you asked a question thats easily answered in the manual. You've attacked arch and nixOS both on this topic. Maybe the problem is that you refuse to read the manual?
            >not popular and will never be
            Good. No need for threads then.

          • 3 weeks ago
            Anonymous

            >Since you didn't post an actual example I'm going to assume you asked a question thats easily answered in the manual. You've attacked arch and nixOS both on this topic. Maybe the problem is that you refuse to read the manual?
            no. People in Arch side actually have a point because they have documentation. NixOS doesnt.

          • 3 weeks ago
            Anonymous

            >NixOS doesnt
            What do you want to do on nixOS that isn't documented?

          • 3 weeks ago
            Anonymous

            I can name a thing in NixOS that I cannot do on the top of my head, or at least it isnt documented to the point its reasonable

          • 3 weeks ago
            Anonymous

            >I’ve seen it, trust me

  9. 3 weeks ago
    Anonymous

    >git=github
    >muh freedom! muh enemies! muh free and open sores!
    why are people such Black folk who never do any kind of research and just spread fear about things they don't understand is beyond me. Do you wanted to feel sensational? Well you are a dumb fricking cretin because github is just a git hosting platform.

  10. 3 weeks ago
    Anonymous

    if Nix ever gets popular yeah thats a huge concern. IIRC GitHub already throttled them once because they basically had 100 000 packages and they got downloaded a lot. though they also use their own shit too now so idk.

  11. 3 weeks ago
    Anonymous

    >NixOS
    >requires you to learn some obscure useless lisp dialect that does literally nothing and is just used to configure your shit system that may breaks in the middle of an update just because its alphaware
    Biggest meme distro of all time

    • 3 weeks ago
      Anonymous

      > that may breaks in the middle of an update just because its alphaware
      not how that works or greentext.

      >Biggest meme distro of all time
      That geentooo newbie.

      https://knowyourmeme.com/memes/install-gentoo

      • 3 weeks ago
        Anonymous

        at least gentoo provides something that is also documented unlike nixOS

        • 3 weeks ago
          Anonymous

          >at least gentoo provides something that is also documented unlike nixOS
          Nothing, https://nixos.wiki/wiki/Main_Page

          • 3 weeks ago
            Anonymous

            the fact that in nixos everything is handled through these configs, its really really really horrible
            and the fact that there is THREE different ways to do stuff
            and the fact that there are infinte amount of ways to frick with shit when you start a dev envinronment

          • 3 weeks ago
            Anonymous

            >THREE different ways
            Lol, newbie doesn't know about the other ways to do the same

  12. 3 weeks ago
    Anonymous

    how come people either love nix or say it’s too complicated and obscure? is it a skill issue?

    • 3 weeks ago
      Anonymous

      There are people who love getting buttfricked..

    • 3 weeks ago
      Anonymous

      For me it's both. I love it in principle but yeah the documentation sucks and the footguns are many. Today I tried building some project in a llvmStdEnv and I kept getting linking errors for some reason.

  13. 3 weeks ago
    Anonymous

    I love how NixOS exposes how low iq IQfy really is.

  14. 3 weeks ago
    Anonymous

    Flakes do not depend on nor require github you fud spreading dipshit

    • 3 weeks ago
      Anonymous

      yes they do when people host shit on github

      • 3 weeks ago
        Anonymous

        Nothing about flakes requires anyone to do that and any arbitrary code for any project can be hosted on github. You can also mirror any repos you'd like at any time. Stop being a dipshit.

        • 3 weeks ago
          Anonymous

          the fact that in nixos everything is handled through these configs, its really really really horrible
          and the fact that there is THREE different ways to do stuff
          and the fact that there are infinte amount of ways to frick with shit when you start a dev envinronment

          >Nothing about flakes requires anyone to do that and any arbitrary code
          nix in all it's forms is not for you install gentoo and you will be happy and we will be happy

          • 3 weeks ago
            Anonymous

            you know, this autistic Arch-tier behaviour would be warranted if NixOS wouldnt be 10x more complciated with only 1/100th of documentation

            the only reason why nix people boast about "OMG I ONLY DO THIS ONCE AND NEVER TOUCH IT AGAIN BASED BASSSSED!!" is precisely because in NixOS, its so fricking painful to do one thing

          • 3 weeks ago
            Anonymous

            Your caps lock is on and so is your ape out settings.

          • 3 weeks ago
            Anonymous

            >destroy everything in linux
            >dont provide any documentation for shit
            >get mad when someone questions your project
            >tell them to read the non existant manual
            >???

          • 3 weeks ago
            Anonymous

            >has a manual
            >has docs for every single option which is more than any other distro
            >moron doesn't provide any examples of the problem
            trooned out yet? not even a single example and non stop b***hing, you are mostly a woman at this point so congrats

          • 3 weeks ago
            Anonymous

            go on. Install Hyprland and show your dolphin with breeze dark theme and I will judge if you get it right
            Then show me what hoops you had to go through to get it working and then tell me how shit like that happening every now and then is okay for NixOS

          • 3 weeks ago
            Anonymous

            >be my free tech support
            kek, if you can't do it then its a you problem

          • 3 weeks ago
            Anonymous

            nah its not tech support. This thing can only be achieved in Arch but in Nix its really not possible

          • 3 weeks ago
            Anonymous

            >destroy everything in linux
            >dont provide any documentation for shit
            >get mad when someone questions your project
            >tell them to read the non existant manual
            >???

            i don't converse with monkeys. I watch them at the zoo.

          • 3 weeks ago
            Anonymous
          • 3 weeks ago
            Anonymous

            >the only reason why nix people boast about "OMG I ONLY DO THIS ONCE AND NEVER TOUCH IT AGAIN BASED BASSSSED!!" is precisely because in NixOS, its so fricking painful to do one thing
            Well, no, it's because of the declarative nature of NixOS. You set something up, that configuration is recorded in your configuration.nix (or home-manager or whatever), and then you can always reproduce that exact setup elsewhere. So, while yes, it can be more annoying to set things up in NixOS, you truly only have to do it once, whereas in a traditional distro, you'll either find yourself doing a lot of manual setup on a new system, or relying on Ansible/dotfile management/install scripts to (somewhat) replicate your system configuration. Granted, I prefer the latter, since it's what I'm used to and I haven't had the time to explore NixOS in-depth.

        • 3 weeks ago
          Anonymous

          flakes literally have built in comand for github. Its 100% github shit
          and then they boast about decentralization while doing the exact opposite 😀 Clowns

  15. 3 weeks ago
    Anonymous

    >muuh documentation
    read the code, its self documenting, if you can't too bad nix isn't for you stick to other tooling there's no shortage

    we don't care if you use nix or don't, not interested in solving your hello world problems either. The tool is there open sourced and free, either you can read it and use it or you can frick off and use something else, nobody forced you

  16. 3 weeks ago
    Anonymous

    just wait until you find out where distro maintainers get the source code for building the packages on your system

  17. 3 weeks ago
    Anonymous

    hosted by micro$oft yes
    but each github repository is managed by their respective owner
    also flake doesn't depend on github repositories, it depends on git repos, git != github meaning it can be hosted anywhere like gitlab
    and it doesn't even need git, i.e. the following is a valid nix flake repo
    $ nix flake metadata https://releases.nixos.org/nixos/23.11/nixos-23.11.6359.53a2c32bc66f/nixexprs.tar.xz

    • 3 weeks ago
      Anonymous

      >expecting moronic OP to understand the difference
      he just wants to show off a riced desktop despite not knowing anything about it like a moron

  18. 3 weeks ago
    Anonymous

    You’re a complete moron.
    But nixos is also shit at long term planning (like signing up for AWS hosting and expecting that to not have consequences down the road, lol.)

    Non-morons should use GUIX if you want the nix experience without the reddit drama.

    • 3 weeks ago
      Anonymous

      hosted by micro$oft yes
      but each github repository is managed by their respective owner
      also flake doesn't depend on github repositories, it depends on git repos, git != github meaning it can be hosted anywhere like gitlab
      and it doesn't even need git, i.e. the following is a valid nix flake repo
      $ nix flake metadata https://releases.nixos.org/nixos/23.11/nixos-23.11.6359.53a2c32bc66f/nixexprs.tar.xz

      This isn't Reddit, newbie

      • 3 weeks ago
        Anonymous

        *enter enter*

      • 3 weeks ago
        Anonymous

        nothing reddit about

        hosted by micro$oft yes
        but each github repository is managed by their respective owner
        also flake doesn't depend on github repositories, it depends on git repos, git != github meaning it can be hosted anywhere like gitlab
        and it doesn't even need git, i.e. the following is a valid nix flake repo
        $ nix flake metadata https://releases.nixos.org/nixos/23.11/nixos-23.11.6359.53a2c32bc66f/nixexprs.tar.xz

    • 3 weeks ago
      Anonymous

      Guix is also great if you’re frickstystemdpilled and/or schizo about bootstrapping

    • 3 weeks ago
      Anonymous

      >guix
      stopped reading there, its just a shittier knockoff

      • 3 weeks ago
        Anonymous

        Ok, enjoy Nix.
        error: infinite recursion encountered, at undefined position

  19. 3 weeks ago
    Anonymous

    This is number one bullshit. We must convince NixOS to change.

  20. 3 weeks ago
    Anonymous

    Don't use flakes moron.
    Flakes are garbage.

    • 3 weeks ago
      Anonymous

      What's the alternative?

      • 3 weeks ago
        Anonymous

        flakes are just the entire packages with fixed version in a distro's repository

      • 3 weeks ago
        Anonymous

        https://github.com/andir/npins, I guess? Or you can still use flakes, just with old-style commands via flake-compat or such - you keep compatibility with flakeBlack folk, but don't have this gay "sorry, I now need to upload your whole 10GB monorepo to the store to be able to run any command" shit.

        • 3 weeks ago
          Anonymous

          >sorry, I now need to upload your whole 10GB monorepo to the store to be able to run any command
          this is just like any derivation for source, i.e. /nix/store/xxxx-source
          but you don't have problem with that

          • 3 weeks ago
            Anonymous

            >https://github.com/andir/npins
            it uses fetchTarball which is equivalent to "sorry, I now need to upload your whole 10GB monorepo to the store to be able to run any command" you dumb ape

            No shit you have download sources to build a package? But I have my fricking monorepo cloned right there on my disk and I don't need nix develop to fricking copy it each time I run it. And god forbids you use LFS and you end up with useless pointer files in your store because MUH GIT FILTERS IMPURE.

          • 3 weeks ago
            Anonymous

            any path will get nix store'd you big dummy
            $ mkdir somedir
            $ touch somedir/foo
            $ nix-instantiate --eval -E 'builtins.path { path = ./somedir; }' "/nix/store/mm74qwjha2avv1s6b52n0rhrnrphdd28-somedir"
            nix internally calls builtins.path to any path
            that's not limited to just flakes

          • 3 weeks ago
            Anonymous

            let's say you have a file in your HDD called foo-1.2.3.tar.xz unpacked into foo-1.2.3/ folder
            the foo-1.2.3/ will still gets nix store'd into /nix/store/xxxx-source/

            to demonstrate, let's try building a simple hello world program
            create bar and build.nix in the current directory
            cat >bar <<'EOF'
            #!/usr/bin/bash
            echo "Hello, World!"
            EOF
            cat >build.nix <<'EOF'
            with import <nixpkgs> { };
            let
            bar = { stdenv }:
            stdenv.mkDerivation {
            name = "foo-1.2.3";
            dontUnpack = true;
            dontBuild = true;
            installPhase = "install -Dm0755 ${./bar} $out/bin/bar";
            };
            in
            callPackage bar { }
            EOF
            now build it
            $ nix-build --no-out-link build.nix
            this derivation will be built:
            /nix/store/xxxx-foo-1.2.3.drv
            building '/nix/store/xxxx-foo-1.2.3.drv'...
            Running phase: patchPhase
            ...
            /nix/store/xxxx-foo-1.2.3
            now if you execute /nix/store/xxxx-foo-1.2.3/bin/bar it will print "Hello, World!", but we're not interested in that
            what we're interested in is the fact that the bar file we just created gets copied to the nix store
            you'd think the installPhase code is gonna be the following while derivation is being build, because bar file is in current directory?
            install -Dm0755 /path/to/my/current/directory/bar $out/bin/bar
            well, you're mistaken
            $ nix-store --print-env $(nix-instantiate build.nix 2>/dev/null) | grep installPhase
            export installPhase; installPhase='install -Dm0755 /nix/store/xxxx-bar $out/bin/bar'

            as you can see the bar file gets copied first to the nix store before the derivation is being built and after that the build script which is installPhase will use it for any purpose, in our case it gets installed to bin/
            so, any file or directory referenced in a derivation will get copied to the nix store no matter what

            No duh that referenced paths that get realised are copied into the store. But riddle me this my fellow Black personhomosexuals - I create a simple devshell with `hello` command. Running it via `nix develop` takes ~2s initially, ~1s on subsequent calls. Running it with `nix-shell` (via `flake-compat`) takes ~1s even on first invocation. Ok, whatever, as long as `nix develop` is cached. But then I put a ~6GB file to simulate the chonky work repository. This file is not referenced anywhere in the flake. And lo and behold `nix-shell` still takes ~1s while `nix develop` initially takes ~1 FRICKING MINUTE and then on next invocations, that should've been cached IT STILL TAKES FRICKING ~30 SECONDS. An in a real repo it would've been even worse as it's a shitload of small files that add up to 6G, not one big chonker. It's literally monorepo holocaust, making flakes a joke for this use-case.

            Here, reproduce it yourselves:
            ~/wtf $ cat flake.nix
            {
            inputs = {
            nixpkgs = { url = "nixpkgs/nixos-unstable"; };
            flake-compat = { url = "github:nix-community/flake-compat"; flake = false; };
            };

            outputs = {
            self,
            nixpkgs,
            flake-compat
            }:
            let
            pkgs = nixpkgs.legacyPackages."x86_64-linux";
            in
            {
            devShells."x86_64-linux" = {
            default = pkgs.mkShell {
            buildInputs = with pkgs; [
            hello
            ];
            };
            };
            };
            }

            ~/wtf $ cat shell.nix
            { system ? builtins.currentSystem }:
            let
            lock = builtins.fromJSON (builtins.readFile ./flake.lock);
            flake-compat = builtins.fetchTarball {
            url = "https://github.com/nix-community/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
            sha256 = lock.nodes.flake-compat.locked.narHash;
            };
            in
            (import flake-compat {
            inherit system;

            src = ./.;
            }).shellNix

            TL;DR flakes are fake and gay

          • 3 weeks ago
            Anonymous

            Here are my timings for what it's worth:
            ~/wtf $ time nix-shell --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 940.84 millis fish external
            usr time 403.34 millis 239.00 micros 403.10 millis
            sys time 174.85 millis 239.00 micros 174.62 millis

            ~/wtf $ time nix develop --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 2.11 secs fish external
            usr time 325.14 millis 256.00 micros 324.88 millis
            sys time 180.52 millis 244.00 micros 180.28 millis

            ~/wtf $ time nix develop --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 903.70 millis fish external
            usr time 338.13 millis 221.00 micros 337.91 millis
            sys time 156.34 millis 210.00 micros 156.13 millis

            ~/wtf $ dd if=/dev/random of=$PWD/test4.img bs=1024 count=6000000 oflag=direct
            6000000+0 records in
            6000000+0 records out
            6144000000 bytes (6.1 GB, 5.7 GiB) copied, 48.2053 s, 127 MB/s

            ~/wtf $ time nix-shell --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 1.04 secs fish external
            usr time 378.15 millis 0.00 micros 378.15 millis
            sys time 214.13 millis 524.00 micros 213.61 millis

            ~/wtf $ time nix develop --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 56.23 secs fish external
            usr time 1.79 secs 349.00 micros 1.79 secs
            sys time 6.76 secs 215.00 micros 6.76 secs

            ~/wtf $ time nix develop --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 29.35 secs fish external
            usr time 1.60 secs 325.00 micros 1.60 secs
            sys time 6.52 secs 202.00 micros 6.52 secs

          • 3 weeks ago
            Anonymous

            lmao, how can anyone treat this shit seriously, what's your response nixsisters?

            >Verification not required.

          • 3 weeks ago
            Anonymous

            here's the response wienersucker

            [...]
            it's because your work repository is cluttered you fricking moron, wtf why are you so dumb
            it'll become faster if you git add test4.img && git commit -m blah
            why is it faster? because `nix develop` and `nix-shell` now use the fixed snapshot of your git repo, i.e. HEAD
            when it was cluttered, flake had to scan the entire contents of your current directory, and has to compare each file with the cached hashes and shit
            goddamn, I'm speaking to a moron

            ps: don't be a dumb gorilla like him who doesn't even understand nix yet acts like he does

          • 3 weeks ago
            Anonymous

            after you commit test4.img to your repo, it'll look something like this
            $ git add test4.img && git commit --m blah
            [master xxxxxxx] blah
            1 file changed, 0 insertions(+), 0 deletions(-)
            create mode 100644 test4.img
            $ time nix-shell --run hello
            this path will be fetched (0.05 MiB download, 0.22 MiB unpacked):
            /nix/store/xxxx-hello-2.12.1
            copying path '/nix/store/xxxx-hello-2.12.1' from 'https://cache.nixos.org'...
            Hello, world!

            real 0m44.933s
            user 0m2.392s
            sys 0m3.543s
            $ time nix-shell --run hello
            Hello, world!

            real 0m1.050s
            user 0m0.698s
            sys 0m0.185s
            $ time nix develop --command hello
            Hello, world!

            real 0m0.490s
            user 0m0.065s
            sys 0m0.029s

            very fast since it's cached and `nix develop` and `nix-shell` use the fixed repo snapshot that is git rev
            or you could just force `nix develop` to never use dirty repo, like this
            https://0x0.st/Xoau.txt
            or even
            nix develop '.?rev=rev' --command hello
            where rev is your git rev, you could get the rev using `git log` or `git rev-list HEAD`

          • 3 weeks ago
            Anonymous

            what if he doesn't want to commit it? my problem with flakes is the same, for some reason its decoupled itself to git. frick off and only include files I explicitly reference in the derivation, it has no business checking the git status of the working directory

          • 3 weeks ago
            Anonymous

            Here are my timings for what it's worth:
            ~/wtf $ time nix-shell --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 940.84 millis fish external
            usr time 403.34 millis 239.00 micros 403.10 millis
            sys time 174.85 millis 239.00 micros 174.62 millis

            ~/wtf $ time nix develop --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 2.11 secs fish external
            usr time 325.14 millis 256.00 micros 324.88 millis
            sys time 180.52 millis 244.00 micros 180.28 millis

            ~/wtf $ time nix develop --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 903.70 millis fish external
            usr time 338.13 millis 221.00 micros 337.91 millis
            sys time 156.34 millis 210.00 micros 156.13 millis

            ~/wtf $ dd if=/dev/random of=$PWD/test4.img bs=1024 count=6000000 oflag=direct
            6000000+0 records in
            6000000+0 records out
            6144000000 bytes (6.1 GB, 5.7 GiB) copied, 48.2053 s, 127 MB/s

            ~/wtf $ time nix-shell --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 1.04 secs fish external
            usr time 378.15 millis 0.00 micros 378.15 millis
            sys time 214.13 millis 524.00 micros 213.61 millis

            ~/wtf $ time nix develop --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 56.23 secs fish external
            usr time 1.79 secs 349.00 micros 1.79 secs
            sys time 6.76 secs 215.00 micros 6.76 secs

            ~/wtf $ time nix develop --command "hello"
            Hello, world!

            ________________________________________________________
            Executed in 29.35 secs fish external
            usr time 1.60 secs 325.00 micros 1.60 secs
            sys time 6.52 secs 202.00 micros 6.52 secs

            it's because your work repository is cluttered you fricking moron, wtf why are you so dumb
            it'll become faster if you git add test4.img && git commit -m blah
            why is it faster? because `nix develop` and `nix-shell` now use the fixed snapshot of your git repo, i.e. HEAD
            when it was cluttered, flake had to scan the entire contents of your current directory, and has to compare each file with the cached hashes and shit
            goddamn, I'm speaking to a moron

          • 3 weeks ago
            Anonymous

            >just commit your nix shit to the corporate overlord's repo, bro
            >just make a repo with the corporate shit as submodules, bro
            >maybe subtree will help you, bro
            Those all sound like gay choices, no wonder nobody takes nixtrannies seriously

          • 3 weeks ago
            Anonymous

            `git commit` doesn't get pushed to github.com, moron
            it's only on your HDD until you `git push` of course
            how much of a moron are you?

          • 3 weeks ago
            Anonymous

            >just keep rebasing your `nixturd` branch on top of your corporate codebase forever, bro
            >just don't accidentally push it, bro
            >just cherry pick your feature commits, bro
            It doesn't sound any less gay, I'm starting to wonder if any of you has a real job if you think that's a workable way to develop

          • 3 weeks ago
            Anonymous

            what do you propose?
            git snapshot is similar to tarball, you have foo-1.2.3.tar.xz and then foo-1.2.4.tar.xz and then foo-1.2.5.tar.xz, and so on
            the point of flake is to force people to use a fixed version of your codebase, which is just
            >just keep copying your codebase someone's HDD bro
            >another change? just remove the previous copy and copy a new one bro
            sounds like git to me, if you have real job you'd use git
            all normalgays who work in tech use git

          • 3 weeks ago
            Anonymous

            Edolstra getting his ass together, finishing the lazy-tree branch and making it not be a shit about your local clone not bending over for nix? Reproducibility is all well and good and I can contort to it in my own stuff, but I have to earn my goyslop and goyrent somehow, while at least being able to provide development tools sanely with nix - it doesn't have to suddenly start gobbling up all the subtree just because it's a level higher than the git repo.

            >just don't accidentally push it, bro
            just don't write bugs bro?
            I don't get your complain

            Look, if I never made any mistakes and had perfect recall, then I wouldn't have needed a control freak OS like NixOS - and yet here we are. And flakes telling me "sucks to be you bro if you can't commit your flake upstream, you'd just have to live with additional weird contortions around your VCS workflow" is the antithesis of that - I use things like NixOS to work around my ADHD-addled brain, not the other way round. And shit like this makes it harder.

          • 3 weeks ago
            Anonymous

            >my ADHD-addled brain, not the other way round. And shit like this makes it harder.
            Found the source of all your problems.

          • 3 weeks ago
            Anonymous

            >just don't accidentally push it, bro
            just don't write bugs bro?
            I don't get your complain

          • 3 weeks ago
            Anonymous

            holy kek how stupid are you? not getting git != github is a new low even for a IQfytard

          • 3 weeks ago
            Anonymous

            Black person, the only moronic person here is you - if you have some workshit repo and you have to fricking commit nix stuff to it for flakes to work, then you later have to take care to not push this shit with your workshit changes upstream. So the distinction that my local clone is not github is immaterial if I commit to the same fricking repo that gets pushed there anyway when I publish my workshit changes. This is an unnecessarily shitty workflow and "do submodules" or "do subtrees" doesn't feel like that much of an improvement.

            >my ADHD-addled brain, not the other way round. And shit like this makes it harder.
            Found the source of all your problems.

            Duh? I still need to earn my keep somehow (or KMS, I guess, but that nit easy either) and wished flakes weren't being a shit in that regard. I have at least found the flake-compat workaround for now, but would've been nicer if I didn't have to do that

          • 3 weeks ago
            Anonymous

            ez don't use gay flakes. they suck and always will, there's a reason the community is split on them. Its like someone decided nix is too good, how can we frick it up by introducing a moronic non compatible model for muuh purity

          • 3 weeks ago
            Anonymous

            >and wished flakes weren't being a shit in that regard.
            That's why I don't use flakes. I've used flakes only once when I first started my nix journey to get away from the troony's and trolls. I don't recommend them for new users or in general but many do, I understand why but for me it undercuts the simplicity of working in one .config file. Flakes have their pros and cons, and why they are still "Experimental" as stated.

          • 3 weeks ago
            Anonymous

            tranNIX stickers lmao
            (I installed nix earlier this week)

          • 3 weeks ago
            Anonymous
          • 3 weeks ago
            Anonymous

            let's say you have a file in your HDD called foo-1.2.3.tar.xz unpacked into foo-1.2.3/ folder
            the foo-1.2.3/ will still gets nix store'd into /nix/store/xxxx-source/

          • 3 weeks ago
            Anonymous

            to demonstrate, let's try building a simple hello world program
            create bar and build.nix in the current directory
            cat >bar <<'EOF'
            #!/usr/bin/bash
            echo "Hello, World!"
            EOF
            cat >build.nix <<'EOF'
            with import <nixpkgs> { };
            let
            bar = { stdenv }:
            stdenv.mkDerivation {
            name = "foo-1.2.3";
            dontUnpack = true;
            dontBuild = true;
            installPhase = "install -Dm0755 ${./bar} $out/bin/bar";
            };
            in
            callPackage bar { }
            EOF
            now build it
            $ nix-build --no-out-link build.nix
            this derivation will be built:
            /nix/store/xxxx-foo-1.2.3.drv
            building '/nix/store/xxxx-foo-1.2.3.drv'...
            Running phase: patchPhase
            ...
            /nix/store/xxxx-foo-1.2.3
            now if you execute /nix/store/xxxx-foo-1.2.3/bin/bar it will print "Hello, World!", but we're not interested in that
            what we're interested in is the fact that the bar file we just created gets copied to the nix store
            you'd think the installPhase code is gonna be the following while derivation is being build, because bar file is in current directory?
            install -Dm0755 /path/to/my/current/directory/bar $out/bin/bar
            well, you're mistaken
            $ nix-store --print-env $(nix-instantiate build.nix 2>/dev/null) | grep installPhase
            export installPhase; installPhase='install -Dm0755 /nix/store/xxxx-bar $out/bin/bar'

            as you can see the bar file gets copied first to the nix store before the derivation is being built and after that the build script which is installPhase will use it for any purpose, in our case it gets installed to bin/
            so, any file or directory referenced in a derivation will get copied to the nix store no matter what

        • 3 weeks ago
          Anonymous

          >https://github.com/andir/npins
          it uses fetchTarball which is equivalent to "sorry, I now need to upload your whole 10GB monorepo to the store to be able to run any command" you dumb ape

        • 3 weeks ago
          Anonymous

          flake-compat is how you make normal non-flake enabled nix command to run flake.nix, which is equivalent to flake-enabled nix command
          both use fetchTree and fetchGithub

      • 3 weeks ago
        Anonymous

        I used niv, much better than flake and you use the standard format without any of the flake bs. Also all nix3 cli works without flakes too

  21. 3 weeks ago
    Anonymous

    I took a look at nix. The syntax reminds me of gradle DSL hell. I'll stick to Debian.

  22. 3 weeks ago
    Anonymous

    You don't have to use GitHub. They just added a convenience schema for GitHub hosted shit.

  23. 3 weeks ago
    Anonymous

    what's with the name
    is it supposed to be a reference to u*nix?

    • 3 weeks ago
      Anonymous

      nix just means nothing. zero. zilch. nada.

      • 3 weeks ago
        Anonymous

        Also IIRC snow in Latin. LITERALLY SNOWFLAKEOS

  24. 3 weeks ago
    Anonymous

    >uploading config to github means github/micro$oft controls your data
    what a moron

  25. 3 weeks ago
    Anonymous

    actually it's pretty based to make Microsoft foot the bill while it's still viable for hosting and data transferal

  26. 3 weeks ago
    Anonymous

    nobody uses CuxOS

  27. 3 weeks ago
    Anonymous

    Nix is shitware. Only good thing about it is it draws people to the superior guix.

    • 3 weeks ago
      Anonymous

      >write your own nvidia derivation you corporate bootlicker
      I don't see what's so superior about it

    • 3 weeks ago
      Anonymous
  28. 3 weeks ago
    Anonymous

    why isn't home-manager a part of nix, and why do i need to install it manually instead of through the regular nix channels

  29. 3 weeks ago
    Anonymous

    >nixos has no documentation
    just read the code tbh.

  30. 3 weeks ago
    Anonymous

    And here I thought it using systemd was the worst part.
    >reproducibility is a goal
    >uses most unreproducible bloated windows subsystem

    • 3 weeks ago
      Anonymous

      I like systemd for desktops
      people can call it "bloat" as much as they like, it has the needed features with a good interface to use them. For all the hate it gets I'm yet to face an issue with systemd

      • 3 weeks ago
        Anonymous

        it has 0 useful features actually usable on "desktop"

  31. 3 weeks ago
    Anonymous

    I don't know what the frick nix is, but I won't ever be using it based on how trooned up this thread is.

    • 3 weeks ago
      Anonymous

      good, it’s too advanced for cis brains to handle anyways.

  32. 3 weeks ago
    Anonymous

    >nixos
    Mental masturbation and meme.
    The only two OS worth using are
    >Gentoo
    >OpenBSD

    • 3 weeks ago
      Anonymous
      • 3 weeks ago
        Anonymous

        >680x373
        if you used gentoo I could probably read this image

        • 3 weeks ago
          Anonymous

          that’s just what IQfy looked like in 2012

          • 3 weeks ago
            Anonymous

            like 4K screenshots rescaled to 680x373?

          • 3 weeks ago
            Anonymous

            yeah the internet was just blurrier back then

        • 3 weeks ago
          Anonymous

          that’s just what IQfy looked like in 2012

          • 3 weeks ago
            Anonymous

            >uptime: 7 hours something something
            cool virtual machine for larping

          • 3 weeks ago
            Anonymous

            >cool virtual machine for larping
            Exactly. i don't use or troll IQfy with the meme gentoo distro

          • 3 weeks ago
            Anonymous

            >meme
            cool, make another thread about your broken install or lost data or whatever low IQ problems low IQ's have

          • 3 weeks ago
            Anonymous
          • 3 weeks ago
            Anonymous

            rms uses trisquel

          • 3 weeks ago
            Anonymous

            not to gentoogays

          • 3 weeks ago
            Anonymous

            it’s not even a fsf approved distro, he’d never touch it

          • 3 weeks ago
            Anonymous

            It's too bad, I get why they're strict but having every non-free package masked by default is very good for any user-oriented distro.
            If you ever try to install non-free, it'll warn you and expect you to change it yourself. Even guix doesn't warn you once you enable the non-free repos, it just lets you install whatever.

          • 3 weeks ago
            Anonymous

            I don't think anyone really cares about FSF distro endorsement except rms. They know nonfree software is just unavoidable for some people (i.e. binary blob hardware drivers) but they don't want to seem like unprincipled hypocrites.

          • 3 weeks ago
            Anonymous

            How do you make your browser like that

    • 3 weeks ago
      Anonymous

      >Gentoo
      take more than an hour to get installed. basically another level of mental masturbation for nothing
      >OpenBSD
      I believe this one runs only your moms kitchen clock and your dad's Xerox Alto. Just like the other BSDs.

  33. 3 weeks ago
    Anonymous

    I just like that a list of all my installed programs are in a single file. That's the appeal for me.

  34. 3 weeks ago
    Anonymous

    logo is shit, will never use

  35. 3 weeks ago
    Anonymous

    how come nixos has no forks? there’s guix but is that even really a fork? it seems very different.

    • 3 weeks ago
      Anonymous

      It is. At least until the daemon is rewritten in Guile.
      https://guix.gnu.org/en/blog/2023/a-build-daemon-in-guile/

  36. 3 weeks ago
    Anonymous

    >depend entirely on people hosting flake configs on github
    Wow that's heckin' futuristic!

Your email address will not be published. Required fields are marked *