home.social

#flakes — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #flakes, aggregated by home.social.

  1. NixOS - Setup-Guide, Teil 2

    In diesem Teil geht es darum wie Starkoch NixOS wirklich zum Sternekoch wird. Wie man die Integration anderer Köche vorbereitet und wie die Speisekarte gesichert wird.

    #NixOS #Nix #Flakes #Linux

    gnulinux.ch/nixos-setup-guide-

  2. So I'm re-writing my NixOS config to use flake-parts right?

    It accidentally came up using Nouveau/NVK and I legitimately did not even notice.

    I gamed.

    #nix #nixos #flakes #nvidia #nvk #nouveau #wow

  3. So I'm re-writing my NixOS config to use flake-parts right?

    It accidentally came up using Nouveau/NVK and I legitimately did not even notice.

    I gamed.

    #nix #nixos #flakes #nvidia #nvk #nouveau #wow

  4. So I'm re-writing my NixOS config to use flake-parts right?

    It accidentally came up using Nouveau/NVK and I legitimately did not even notice.

    I gamed.

    #nix #nixos #flakes #nvidia #nvk #nouveau #wow

  5. So I'm re-writing my NixOS config to use flake-parts right?

    It accidentally came up using Nouveau/NVK and I legitimately did not even notice.

    I gamed.

    #nix #nixos #flakes #nvidia #nvk #nouveau #wow

  6. So I'm re-writing my NixOS config to use flake-parts right?

    It accidentally came up using Nouveau/NVK and I legitimately did not even notice.

    I gamed.

    #nix #nixos #flakes #nvidia #nvk #nouveau #wow

  7. @justdude

    I found the reason, it's because of this:
    github.com/NixOS/flake-registr

    Looks like it's available for every nix flake users officially and one can implicitly turn it off by configuring the registry options I guess.

    But it's suggested to add inputs explicitly, since u might change ur registry later in ur configs in future.

    Unexpected learning🤝
    Thanks for pointing out this
    @justdude

    I didn't even notice. LoL.
    #nix #flake #flakes #nixflakes #nixregistry #nixconfig #config

  8. @BrideOfLinux
    in flake.nix

    claude = pkgs.mkShell {
    buildInputs = with pkgs; [
    nodejs_24
    nodejs_24.pkgs.npm
    ];

    shellHook = ''

    # Install claude-code if not already installed
    if ! command -v claude-code &> /dev/null; then
    echo "📦 Installing claude-code..."
    npm install -g @anthropic-ai/claude-code
    fi
    '';
    };
    then: nix develop .
    from the flake directory
    then: claude

  9. and now I reveal the secret third thing I use to build my system: unflake

    unflake is a tool that allows you to stop writing .inputs.foo.inputs.nixpkgs.follows all the time while deduplicating your dependencies. it also frees you from other flake idiosyncrasies like requiring flake.nix to be committed to the repo or copying the whole directory into the store.

    README has more details and you can ask me questions about it here or in a discourse thread

    discourse.nixos.org/t/unflake-

    (or direct codeberg link: codeberg.org/goldstein/unflake)

    #nix #flake #flakes

  10. @dfarmer I use for and added as a in it with passing both and for my to choose certain for unstable.
    Flakes is aren't that hard. It's just a .

  11. @dfarmer I use #flakes for #NixOS and added #nix #home #manager as a #module in it with #specialArgs passing both #stable and #unstable #branches for my #freedom to choose certain #packages for unstable.
    Flakes is aren't that hard. It's just a #wrapper.

  12. @dfarmer I use #flakes for #NixOS and added #nix #home #manager as a #module in it with #specialArgs passing both #stable and #unstable #branches for my #freedom to choose certain #packages for unstable.
    Flakes is aren't that hard. It's just a #wrapper.

  13. @dfarmer I use #flakes for #NixOS and added #nix #home #manager as a #module in it with #specialArgs passing both #stable and #unstable #branches for my #freedom to choose certain #packages for unstable.
    Flakes is aren't that hard. It's just a #wrapper.