Skip to content

Updates to nix-darwin affect installation section of video #3

@DanielHatakeyama

Description

@DanielHatakeyama

Issue

New recommended location for darwin flake is in /etc/nix-darwin which causes unexpected behavior if following video as verbatim tutorial.
If you want, update pinned comment to alert viewers to this change.

Relevant update to nix-darwin

sudo mkdir -p /etc/nix-darwin
sudo chown $(id -nu):$(id -ng) /etc/nix-darwin
cd /etc/nix-darwin

# To use Nixpkgs unstable:
nix flake init -t nix-darwin/master
# To use Nixpkgs 25.05:
nix flake init -t nix-darwin/nix-darwin-25.05

sed -i '' "s/simple/$(scutil --get LocalHostName)/" flake.nix

Others have been running into this issue too:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions