Yo [he/him]

  • 20 Posts
  • 474 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle











  • Ay, thanks for answering! I need some help understanding this😅

    there is usually only one of nixos and home manager options (sometimes there are duplicates).

    This means usually I only have to add options only in home.nix or configuration.nix, not both. (What about options in flakes.nix? Should I search those on the flakes/options tab?)

    As for flakes I mostly use it to handle a bunch of different systems from one config and any flake specific configs.

    Would it be the same if I put the system packages in flakes.nix instead of configuration.nix? Will it have a different result? Will I have to write them differently?

    Extra questions:

    1. Does putting a package in home.nix have the same version control flakes provides?

    2. Once I enabled home-manager, I saw that in ~/.config/nixos a flakes.nix and a home.nix files appeared. I already have a flake.nix and a home.nix files in my etc/nixos directory. What’s going on?

    3. Does putting packages in configuration.nix use the version control flakes provide?