ToyVo / nh_darwin

Yet another nix cli helper
European Union Public License 1.2
15 stars 3 forks source link

nh home switch default flake location should be at ~/.config/home-manager #2

Closed ToyVo closed 3 months ago

ToyVo commented 4 months ago

this is because we default it to /etc/nixos for a similar behavior to nixos-rebuild

additionally although darwin-rebuild doesn't default to any location when run as darwin-rebuild switch, it does start a default configuration at ~/.nixpkgs/darwin-configuration.nix, so maybe default to ~/.nixpkgs for darwin on nh os switch instead of /etc/nixos

ToyVo commented 3 months ago

The default locations have been updated accordingly