Replies: 2 comments 12 replies
-
Also, while we're here, why does nix/darwin/machines/ci.nix start with an arguments set, but nix/home/machines/ci.nix doesn't need to? It appears that they're both modules fed to the "modules" attribute of |
Beta Was this translation helpful? Give feedback.
-
Home Manager configuration in
|
Beta Was this translation helpful? Give feedback.
-
Both of the nix/darwin and nix/home directories contain parallel sets of machines, modules, and profiles directories. Assuming that I'm using macOS as my operating system, it's not clear to me yet whether one must always define configuration for a given machine in both the nix/darwin/machines and the nix/home/machines directories.
The "ci" machine in the nix/darwin/machines/ci.nix file appears to configure things for home-manager. The parallel nix/home/machines/ci.nix file is similar, but it also sets the "programs.home-manager.enable" attribute to true.
I assume that if we're not using nix-darwin, then we don't need the machine definition under nixt/darwin/machines. If we are using nix-darwin, though, do we also need the machine definition under nix/home/machines?
Beta Was this translation helpful? Give feedback.
All reactions