Closed bjeanes closed 1 month ago
Ah I think this is because of the use of hostname
instead of hostname -s
as commented here: https://github.com/srid/nixos-flake/commit/b9f22bec6dee3b6f214974520a960d83d270dcfc#r144271657
I tried to work around this with both:
darwinConfigurations."Bandersnatch.local" = self.nixos-flake.lib.mkMacosSystem { ... };
# and
darwinConfigurations.Bandersnatch.local = self.nixos-flake.lib.mkMacosSystem { ... };
At least the latter variant was causing this issue of error: attribute 'config' missing
when evaluating value.config.nixos-flake
.
I forked nixos-flake and changed to hostname -s
and nix run .#activate
then started getting further.
https://github.com/srid/nixos-flake/blob/cab6539d198792f94fbac029e5a63523604fd172/activate/default.nix#L11