Artemis Tosini
cc9f65a03a
When detsys-specific items were removed, some lines of JSON were
removed. This caused syntax errors due to the trailing commas.
Also use this opportunity to add `enable_flakes`, which is required
in new lix-installer plan files
Change-Id: I7874b3b19cb2e15f82b0733894c52b3a23c0cbe5
449 lines
13 KiB
JSON
449 lines
13 KiB
JSON
{
|
|
"version": "0.17.1",
|
|
"actions": [
|
|
{
|
|
"action": {
|
|
"action": "create_apfs_volume",
|
|
"disk": "disk3",
|
|
"name": "Nix Store",
|
|
"case_sensitive": false,
|
|
"encrypt": false,
|
|
"create_or_append_synthetic_conf": {
|
|
"action": {
|
|
"path": "/etc/synthetic.conf",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": null,
|
|
"buf": "nix\n",
|
|
"position": "End"
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"create_synthetic_objects": {
|
|
"action": null,
|
|
"state": "Uncompleted"
|
|
},
|
|
"unmount_volume": {
|
|
"action": {
|
|
"disk": "disk3",
|
|
"name": "Nix Store"
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"create_volume": {
|
|
"action": {
|
|
"disk": "disk3",
|
|
"name": "Nix Store",
|
|
"case_sensitive": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"create_fstab_entry": {
|
|
"action": {
|
|
"apfs_volume_label": "Nix Store",
|
|
"existing_entry": "None"
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"encrypt_volume": null,
|
|
"setup_volume_daemon": {
|
|
"action": {
|
|
"path": "/Library/LaunchDaemons/org.nixos.darwin-store.plist",
|
|
"apfs_volume_label": "Nix Store",
|
|
"mount_service_label": "org.nixos.darwin-store",
|
|
"mount_point": "/nix",
|
|
"encrypt": false,
|
|
"needs_bootout": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"bootstrap_volume": {
|
|
"action": {
|
|
"domain": "system",
|
|
"service": "org.nixos.darwin-store",
|
|
"path": "/Library/LaunchDaemons/org.nixos.darwin-store.plist",
|
|
"is_present": false,
|
|
"is_disabled": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"kickstart_launchctl_service": {
|
|
"action": {
|
|
"domain": "system",
|
|
"service": "org.nixos.darwin-store"
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"enable_ownership": {
|
|
"action": {
|
|
"path": "/nix"
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "provision_nix",
|
|
"fetch_nix": {
|
|
"action": {
|
|
"url_or_path": {
|
|
"Url": "https://releases.nixos.org/nix/nix-2.17.0/nix-2.17.0-x86_64-darwin.tar.xz"
|
|
},
|
|
"dest": "/nix/temp-install-dir",
|
|
"proxy": null,
|
|
"ssl_cert_file": null
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"delete_users_in_group": null,
|
|
"create_group": {
|
|
"action": {
|
|
"name": "nixbld",
|
|
"gid": 30000
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"create_nix_tree": {
|
|
"action": {
|
|
"create_directories": [
|
|
{
|
|
"action": {
|
|
"path": "/nix/var",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/log",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/log/nix",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/log/nix/drvs",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix/db",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix/gcroots",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix/gcroots/per-user",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix/profiles",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix/profiles/per-user",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix/temproots",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix/userpool",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var/nix/daemon-socket",
|
|
"user": "root",
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
]
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"move_unpacked_nix": {
|
|
"action": {
|
|
"unpacked_path": "/nix/temp-install-dir"
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "set_tmutil_exclusions",
|
|
"set_tmutil_exclusions": [
|
|
{
|
|
"action": {
|
|
"path": "/nix/store"
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/nix/var"
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
]
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "configure_nix",
|
|
"setup_default_profile": {
|
|
"action": {
|
|
"unpacked_path": "/nix/temp-install-dir"
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"configure_shell_profile": {
|
|
"action": {
|
|
"locations": {
|
|
"fish": {
|
|
"confd_suffix": "conf.d/nix.fish",
|
|
"confd_prefixes": [
|
|
"/etc/fish",
|
|
"/usr/local/etc/fish",
|
|
"/opt/homebrew/etc/fish",
|
|
"/opt/local/etc/fish"
|
|
],
|
|
"vendor_confd_suffix": "vendor_conf.d/nix.fish",
|
|
"vendor_confd_prefixes": [
|
|
"/usr/share/fish/",
|
|
"/usr/local/share/fish/"
|
|
]
|
|
},
|
|
"bash": [
|
|
"/etc/bashrc",
|
|
"/etc/profile.d/nix.sh",
|
|
"/etc/bash.bashrc"
|
|
],
|
|
"zsh": [
|
|
"/etc/zshrc",
|
|
"/etc/zsh/zshrc"
|
|
]
|
|
},
|
|
"create_directories": [],
|
|
"create_or_insert_into_files": [
|
|
{
|
|
"action": {
|
|
"path": "/etc/bashrc",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": 420,
|
|
"buf": "\n# Nix\nif [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then\n . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'\nfi\n# End Nix\n\n \n",
|
|
"position": "Beginning"
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/etc/bash.bashrc",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": 420,
|
|
"buf": "\n# Nix\nif [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then\n . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'\nfi\n# End Nix\n\n \n",
|
|
"position": "Beginning"
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"path": "/etc/zshrc",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": 420,
|
|
"buf": "\n# Nix\nif [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then\n . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'\nfi\n# End Nix\n\n \n",
|
|
"position": "Beginning"
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
]
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"place_nix_configuration": {
|
|
"action": {
|
|
"create_directory": {
|
|
"action": {
|
|
"path": "/etc/nix",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"create_or_merge_nix_config": {
|
|
"action": {
|
|
"path": "/etc/nix/nix.conf",
|
|
"pending_nix_config": {
|
|
"settings": {
|
|
"extra-nix-path": "nixpkgs=flake:nixpkgs",
|
|
"auto-allocate-uids": "true",
|
|
"auto-optimise-store": "true",
|
|
"build-users-group": "nixbld",
|
|
"bash-prompt-prefix": "(nix:$name)\\040",
|
|
"experimental-features": "nix-command flakes auto-allocate-uids"
|
|
}
|
|
}
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "configure_init_service",
|
|
"init": "Launchd",
|
|
"start_daemon": true,
|
|
"ssl_cert_file": null
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "remove_directory",
|
|
"path": "/nix/temp-install-dir"
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
],
|
|
"planner": {
|
|
"planner": "macos",
|
|
"settings": {
|
|
"modify_profile": true,
|
|
"nix_build_group_name": "nixbld",
|
|
"nix_build_group_id": 30000,
|
|
"nix_build_user_count": 32,
|
|
"nix_build_user_prefix": "_nixbld",
|
|
"nix_build_user_id_base": 300,
|
|
"nix_package_url": {
|
|
"Url": "https://releases.nixos.org/nix/nix-2.17.0/nix-2.17.0-x86_64-darwin.tar.xz"
|
|
},
|
|
"proxy": null,
|
|
"ssl_cert_file": null,
|
|
"extra_conf": [],
|
|
"force": false,
|
|
"enable_flakes": true
|
|
},
|
|
"encrypt": null,
|
|
"case_sensitive": false,
|
|
"volume_label": "Nix Store",
|
|
"root_disk": "disk3"
|
|
},
|
|
"diagnostic_data": {
|
|
"version": "0.17.1",
|
|
"planner": "macos",
|
|
"configured_settings": [],
|
|
"os_name": "unknown",
|
|
"os_version": "unknown",
|
|
"triple": "aarch64-apple-darwin",
|
|
"is_ci": false,
|
|
"ssl_cert_file": null,
|
|
"failure_chain": null
|
|
}
|
|
}
|