I havent used nixos much but I dont understand why people use home manager instead of just the configuration.nix.

Is the only reason using it to not have system wide package installed? Does it have other usecases too?

  • juipeltje
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    I usually install as much as reasonably possible on the user level because it’s more portable. I mostly use it for installing packages though, i don’t manage my dotfiles with it because i have things like theme switching scripts that rely on editing the symlinked files, and home manager symlinks from the nix store which is read-only. I just have a simple bash script that does the symlinking.