config VS home-manager

Compare config vs home-manager and see what are their differences.

config

My Nix configuration (by lourkeur)

home-manager

Manage a user environment using Nix [maintainer=@rycee] [Moved to: https://github.com/nix-community/home-manager] (by rycee)
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
config home-manager
5 4
6 1,753
- -
0.0 9.1
7 months ago over 3 years 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.

config

Posts with mentions or reviews of config. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-08.
  • Tmpfs Root - Do I want to persist the folder containing stamp-*.timer files to ensure my "persistent" timers run at next boot?
    2 projects | /r/NixOS | 8 Jan 2022
    Yes, that's correct. That's one of the tricky things with tmpfs roots. I had to do it in my configuration too.
  • A Usable Desktop
    2 projects | /r/NixOS | 18 Dec 2021
    To address the mouse travel in GNOME issue: you're right. What I did when I used GNOME 40 was a combination of hitting the super key to get to the exposé view, (hopefully that still works) and the hot edge extension which creates a more ergonomic way to reach it with the mouse. I had it installed declaratively with home-manager, but you can also do it manually.
  • How can I find packages for commands not found?
    1 project | /r/NixOS | 22 Oct 2021
    my HM config for nix-index
  • config.h dwm
    1 project | /r/NixOS | 29 Aug 2021
    Long answer: Even if it's just a colorscheme change, you still need to recompile because that's how DWM works. I happened to do exactly that with dmenu (and probably DWM soon) yesterday. Build dwm.src to see what you're patching, run diff to get the patch and presto.
  • Single gpu kvm/qemu
    1 project | /r/NixOS | 11 Jul 2021
    To set up your VM, I would recommend libvirt, which serves as a graphical front-end to QEMU/KVM. I use it, I know other people use it and there are a lot of resources about setting up GPU VT-d on it out there. It's not significantly different under NixOS than it is under other distros. Here's how I declared it.

home-manager

Posts with mentions or reviews of home-manager. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-22.
  • [Help] Home-manager service?
    2 projects | /r/NixOS | 22 Apr 2023
    I really am at lost rn, foud this github issue tried the solution and it didn't work.
  • NixOS and Neovim plugins
    3 projects | /r/NixOS | 24 Oct 2022
  • Flakes, nixos and home-configuration help
    2 projects | /r/NixOS | 7 May 2022
    { config, pkgs, ... }: { imports = [ (import "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos") ]; users.users = { jdoe = { isNormalUser = true; initialPassword = "1234"; extraGroups = [ "wheel" ]; }; }; home-manager.useUserPackages = true; home-manager.users.jdoe = { home.stateVersion = "21.11"; programs.home-manager.enable = true; programs.git.userName = "John"; programs.git.userEmail = "Doe"; programs.zsh.zplug = { enable = true; plugins = [ { name = "zsh-users/zsh-autosuggestions"; } { name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; } { name = "ohmyzsh/ohmyzsh oh-my-zsh"; } { name = "ajeetdsouza/zoxide"; } { name = "marlonrichert/zsh-autocomplete"; } { name = "marlonrichert/zsh-edit"; } { name = "zsh-users/zsh-autosuggestions"; } { name = "ptavares/zsh-exa"; } { name = "zsh-users/zsh-syntax-highlighting"; } { name = "mbenford/zsh-tmux-auto-title"; } { name = "zsh-users/zsh-history-substring-search"; } ]; }; services.gpg-agent = { enable = true; defaultCacheTtl = 1800; enableSshSupport = true; }; }; }
  • How do I do declarative package management using nix package manager on Debian?
    2 projects | /r/NixOS | 6 Jan 2021
    There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager

What are some alternatives?

When comparing config and home-manager you can also consider the following projects:

nixos-flake-example - This is a demo NixOS config, with optional flakes support. Along with notes on why flakes is useful and worth adopting.

nixpkgs-wayland - Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS. [maintainers=@colemickens, @Artturin]

rust-nix-template - Rust project template with Nix (Flakes) and VSCode support

impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]

nixos-vscode-server - Visual Studio Code Server support in NixOS

gitignore.nix - Nix functions for filtering local git sources

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

nix-config - my nix config files

nix-colors - Modules and schemes to make theming with Nix awesome.

nixpkgs - My Nix system configs!

nix-shell - Nix shells for PHP development

nix-symlink - Nix utility for creating a derivation containing a single symlink.