forked from lix-project/lix-installer
b0bdd3ddef
This reverts commit af06724a5e
.
418 lines
14 KiB
JSON
418 lines
14 KiB
JSON
{
|
|
"version": "0.12.1-unreleased",
|
|
"actions": [
|
|
{
|
|
"action": {
|
|
"action": "create_directory",
|
|
"path": "/home/nix",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": 493,
|
|
"is_mountpoint": true,
|
|
"force_prune_on_revert": true
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "create_file",
|
|
"path": "/etc/systemd/system/nix-directory.service",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": 420,
|
|
"buf": "[Unit]\nDescription=Create a `/nix` directory to be used for bind mounting\nPropagatesStopTo=nix-daemon.service\nPropagatesStopTo=nix.mount\nDefaultDependencies=no\nAfter=grub-recordfail.service\nAfter=steamos-finish-oobe-migration.service\n\n[Service]\nType=oneshot\nExecStart=steamos-readonly disable\nExecStart=mkdir -vp /nix\nExecStart=chmod -v 0755 /nix\nExecStart=chown -v root /nix\nExecStart=chgrp -v root /nix\nExecStart=steamos-readonly enable\nExecStop=steamos-readonly disable\nExecStop=rmdir /nix\nExecStop=steamos-readonly enable\nRemainAfterExit=true\n",
|
|
"force": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "create_file",
|
|
"path": "/etc/systemd/system/nix.mount",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": 420,
|
|
"buf": "[Unit]\nDescription=Mount `/home/nix` on `/nix`\nPropagatesStopTo=nix-daemon.service\nPropagatesStopTo=nix-directory.service\nAfter=nix-directory.service\nRequires=nix-directory.service\nConditionPathIsDirectory=/nix\nDefaultDependencies=no\nRequiredBy=nix-daemon.service\nRequiredBy=nix-daemon.socket\n\n[Mount]\nWhat=/home/nix\nWhere=/nix\nType=none\nDirectoryMode=0755\nOptions=bind\n",
|
|
"force": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "create_file",
|
|
"path": "/etc/systemd/system/ensure-symlinked-units-resolve.service",
|
|
"user": null,
|
|
"group": null,
|
|
"mode": 420,
|
|
"buf": "[Unit]\nDescription=Ensure Nix related units which are symlinked resolve\nAfter=nix.mount\nRequires=nix-directory.service\nRequires=nix.mount\nDefaultDependencies=no\n\n[Service]\nType=oneshot\nRemainAfterExit=yes\nExecStart=/usr/bin/systemctl daemon-reload\nExecStart=/usr/bin/systemctl restart --no-block nix-daemon.socket\n\n[Install]\nWantedBy=sysinit.target\n",
|
|
"force": false
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "start_systemd_unit",
|
|
"unit": "nix.mount",
|
|
"enable": false
|
|
},
|
|
"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-linux.tar.xz"
|
|
},
|
|
"dest": "/nix/temp-install-dir",
|
|
"proxy": null,
|
|
"ssl_cert_file": null
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
"delete_users": [],
|
|
"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": "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/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/profile.d/nix.sh",
|
|
"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": {
|
|
"auto-optimise-store": "true",
|
|
"bash-prompt-prefix": "(nix:$name)\\040",
|
|
"build-users-group": "nixbld",
|
|
"experimental-features": "nix-command flakes auto-allocate-uids",
|
|
"extra-nix-path": "nixpkgs=flake:nixpkgs",
|
|
"auto-allocate-uids": "true"
|
|
}
|
|
}
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "configure_init_service",
|
|
"init": "Systemd",
|
|
"start_daemon": true,
|
|
"ssl_cert_file": null
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "start_systemd_unit",
|
|
"unit": "ensure-symlinked-units-resolve.service",
|
|
"enable": true
|
|
},
|
|
"state": "Uncompleted"
|
|
},
|
|
{
|
|
"action": {
|
|
"action": "remove_directory",
|
|
"path": "/nix/temp-install-dir"
|
|
},
|
|
"state": "Uncompleted"
|
|
}
|
|
],
|
|
"planner": {
|
|
"planner": "steam-deck",
|
|
"persistence": "/home/nix",
|
|
"settings": {
|
|
"modify_profile": true,
|
|
"nix_build_group_name": "nixbld",
|
|
"nix_build_group_id": 30000,
|
|
"nix_build_user_count": 0,
|
|
"nix_build_user_prefix": "nixbld",
|
|
"nix_build_user_id_base": 30000,
|
|
"nix_package_url": {
|
|
"Url": "https://releases.nixos.org/nix/nix-2.17.0/nix-2.17.0-x86_64-linux.tar.xz"
|
|
},
|
|
"proxy": null,
|
|
"ssl_cert_file": null,
|
|
"extra_conf": [],
|
|
"force": false,
|
|
"diagnostic_endpoint": "https://install.determinate.systems/nix/diagnostic"
|
|
}
|
|
},
|
|
"diagnostic_data": {
|
|
"version": "0.12.1-unreleased",
|
|
"planner": "steam-deck",
|
|
"configured_settings": [],
|
|
"os_name": "Ubuntu",
|
|
"os_version": "22.04.2 LTS (Jammy Jellyfish)",
|
|
"triple": "x86_64-unknown-linux-musl",
|
|
"is_ci": false,
|
|
"endpoint": "https://install.determinate.systems/nix/diagnostic",
|
|
"ssl_cert_file": null,
|
|
"failure_chain": null
|
|
}
|
|
} |