naersk VS dotfiles

Compare naersk vs dotfiles and see what are their differences.

naersk

Build Rust projects in Nix - no configuration, no code generation, no IFD, sandbox friendly. (by nix-community)

dotfiles

My NixOS dotfiles for desktops and servers (by jordanisaacs)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
naersk dotfiles
6 6
637 124
1.6% -
5.6 7.4
13 days ago 10 days ago
Nix Nix
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

naersk

Posts with mentions or reviews of naersk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-07.
  • Help with building a 32bit library with cargo
    3 projects | /r/NixOS | 7 Apr 2023
    i would also recommend using crane or naersk since iirc rustPlaform.buildRustPackage can mangle some of these options (or maybe i just did something wrong lol)
  • Nix & Rust - cargo2nix 0.11.0 released
    4 projects | /r/rust | 15 May 2022
    Have a look at naersk, it neither requires generated Nix files nor IFD.
  • Nix and NixOS Get So Close to Perfect
    11 projects | news.ycombinator.com | 24 Apr 2022
    We use naersk[0] for Rust projects in our Nix monorepo (for example [1]). It's pretty hands-off in terms of the Nix code needed (you don't need to pin hashes inside of the Nix code as long as you have a Cargo lockfile) and all the existing tooling keeps working fine.

    The main drawback of it is that it currently builds all of your dependencies in one big derivation, so any dependency changes cause a full rebuild. There's some other project I saw fly by which attempts to do a similar thing but split each crate into a separate derivation, but I forgot what it's called and have no experience with it.

    [0]: https://github.com/nix-community/naersk

    [1]: https://cs.tvl.fyi/depot/-/blob/ops/journaldriver/default.ni...

  • Nixery – Docker images on the fly with Nix
    8 projects | news.ycombinator.com | 18 Apr 2022
    You can also use naersk¹ if you want to avoid a two-step process. It's especially convenient when using nix flakes.

    ¹https://github.com/nix-community/naersk

  • niv, naersk, napalm: moving on
    7 projects | /r/NixOS | 9 Jul 2021
    I created https://github.com/nmattia/napalm/issues/34 and https://github.com/nmattia/naersk/issues/183 to move them to nix-community
  • Nix-ifying a Rust project
    12 projects | /r/rust | 7 Apr 2021
    sounds exactly like what naersk does. naersk doesn't need a cargSha256 argument since it downloads dependencies from Cargo.lock. it can also grab the version number from Cargo.toml

dotfiles

Posts with mentions or reviews of dotfiles. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-18.
  • RedNixOS - NixOS-based 'distro' for cybersec
    2 projects | /r/NixOS | 18 Jul 2022
    Not sure about central but just search dotfiles, config, or flake on GitHub and filter by nix language. Most dotfiles are a sort of “distro” as nix let’s you configure everything from scratch in a central way. Eg my personal dotfiles are an abstracted layer of NixOS/home manager. This can be seen honestly in a lot of popular configs. Eg my WireGuard module turns high level options into automatic configs (see: module).
  • Nix and NixOS Get So Close to Perfect
    11 projects | news.ycombinator.com | 24 Apr 2022
    What’s powerful about nix is the language IMO. I was able to build an automatic WireGuard setup[1] with tagging that automatically works on each new machine thanks to the ability to do config as code. Just provide some basic config for each machine and the code turns it into an interface with peers.

    The issue to me isn’t the language persay (it’s really a tiny surface area language, see the built in/lib functions [2]) but the tooling built around packaging is a hodgepodge mess of semi-documented workarounds (with Nixpkgs blessed ways vs used libraries) and is extremely difficult to approach and understand.

    [1]: https://github.com/jordanisaacs/dotfiles

  • Installing Firefox extensions through policies with nur packages.
    1 project | /r/NixOS | 13 Feb 2022
    Not entirely sure what you mean by policies. But you can use rycee’s buildFirefoxXpiAddon. All you need is the xpi. See: https://github.com/jordanisaacs/dotfiles/blob/master/modules/users/graphical/applications/firefox.nix for some manual packages.
  • Confused about Git, gnome-keyring, and libsecret
    4 projects | /r/NixOS | 18 Nov 2021
    As a heads up setting up gnome-keyring is an adventure in and of itself when not using GNOME which from the sounds of it you are not. It took me a month of on and off trial and error to finally quash the last of its bugs. You can search around my dotfiles where I have it working but the solutions are all over the place (modules/system/gnome/default.nix, modules/users/graphical/shared.nix, and modules/users/graphical/wayland.nix).
  • Flake structure for multi system
    7 projects | /r/NixOS | 8 Nov 2021
    I’ll just add on, I use functions in my nix file to make configs (iso, home manager, nixos),: function folder. With this logic you can create basic other hosts. How they are used in used in flake.nix
  • Conditionally import file
    1 project | /r/NixOS | 6 Oct 2021
    I am using this repo as a guide. I created a module which has the bootloader and filesystems configuration, and here I would like to conditionally load the qemu guest configuration, based on a configured attr. When you install NixOS in a qemu vm, this import is automatically added by nixos-generate-config to /etc/nixos/hardware-configuration.nix like so:

What are some alternatives?

When comparing naersk and dotfiles you can also consider the following projects:

crate2nix - rebuild only changed crates in CI with crate2nix and nix

nixos-configs - My NixOS and nix-darwin configs

rust-overlay - Pure and reproducible nix overlay of binary distributed rust toolchains

cargo2nix - Granular builds of Rust projects for Nix

veritas - @davidtwco's personal mono-repo - containing the declarative configuration of servers, desktops and laptops - including dotfiles; a collection of packages; a static site generator and source of "davidtw.co".

nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]

jdisaacs.com - My personal website

direnv - unclutter your .profile

nixos-configs - My NixOS configs

nix2container - An archive-less dockerTools.buildImage implementation

dotfiles