You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
180 lines
6.9 KiB
JSON
180 lines
6.9 KiB
JSON
{
|
|
"log_file": "/etc/vanilla/first-setup.log",
|
|
"distro_name": "Vanilla OS",
|
|
"distro_logo": "io.github.vanilla-os.FirstSetup",
|
|
"pre_run": [
|
|
"sudo apx --sys update",
|
|
"sudo apx --sys install -f"
|
|
],
|
|
"post_run": [
|
|
"sudo apx --sys update",
|
|
"sudo apx --sys install -f"
|
|
],
|
|
"tour": {
|
|
"almost": {
|
|
"icon": "security-medium-symbolic",
|
|
"title": "On-Demand Immutability",
|
|
"description": "Vanilla OS features On-Demand Immutability, which blind your system against undesired modifications, being still fully accessible by you.",
|
|
"read_more_link": "https://documentation.vanillaos.org/docs/almost/"
|
|
},
|
|
"apx": {
|
|
"icon": "vanilla-container-terminal-symbolic",
|
|
"title": "Sub-System Ready To Go",
|
|
"description": "Vanilla OS comes with Apx, a new package manager which install the software in an integrated container to prevent host compromise.",
|
|
"read_more_link": "https://documentation.vanillaos.org/docs/apx/"
|
|
}
|
|
},
|
|
"steps": {
|
|
"welcome": {
|
|
"template": "welcome"
|
|
},
|
|
"theme": {
|
|
"template": "theme"
|
|
},
|
|
"packages": {
|
|
"template": "preferences",
|
|
"icon": "vanilla-package-symbolic",
|
|
"title": "Package Manager",
|
|
"description": "Choose one or more package managers to install",
|
|
"without_selection": {
|
|
"allowed": true,
|
|
"message": "You have chosen not to install any package manager, you will only be able to install packages using the package manager (apx).\n\nGNOME Software will be disabled since it is not compatible with the On-Demand Immutability.",
|
|
"title": "No package manager selected",
|
|
"final": [
|
|
{
|
|
"if": "warp::immutability",
|
|
"type": "command",
|
|
"commands": [
|
|
"sudo apx --sys remove -y gnome-software"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"preferences": [
|
|
{
|
|
"id": "flatpak",
|
|
"title": "Flatpak",
|
|
"subtitle": "Will also configure the Flathub repository.",
|
|
"default": true
|
|
},
|
|
{
|
|
"id": "snap",
|
|
"title": "Snap",
|
|
"subtitle": "Uses the Snapcraft repository. Default in Ubuntu."
|
|
},
|
|
{
|
|
"id": "appimage",
|
|
"title": "AppImage",
|
|
"subtitle": "Will install the necessary dependencies to run AppImages."
|
|
}
|
|
],
|
|
"final": [
|
|
{
|
|
"if": "flatpak",
|
|
"type": "command",
|
|
"commands": [
|
|
"sudo apx --sys install -y flatpak gnome-software-plugin-flatpak",
|
|
"flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo",
|
|
"gsettings set org.gnome.software packaging-format-preference '[\"flatpak\", \"snap\", \"deb\"]'"
|
|
]
|
|
},
|
|
{
|
|
"if": "snap",
|
|
"type": "command",
|
|
"commands": [
|
|
"sudo apx --sys install -y snapd",
|
|
"gsettings set org.gnome.software packaging-format-preference '[\"flatpak\", \"snap\", \"deb\"]'"
|
|
]
|
|
},
|
|
{
|
|
"if": "appimage",
|
|
"type": "command",
|
|
"commands": ["sudo apx --sys install -y fuse2 libfuse2"]
|
|
}
|
|
]
|
|
},
|
|
"nvidia": {
|
|
"template": "yes-no",
|
|
"display-conditions": [
|
|
"lspci | grep -i '.* nvidia .*'"
|
|
],
|
|
"icon": "video-display-symbolic",
|
|
"title": "NVIDIA® Drivers",
|
|
"description": "Choose whether to install proprietary NVIDIA drivers for better compatibility and performance.",
|
|
"buttons": {
|
|
"yes": "Yes, install",
|
|
"no": "Skip",
|
|
"info": {
|
|
"type": "text",
|
|
"title": "About Proprietary Drivers",
|
|
"text": "A proprietary driver has private code that neither Vanilla OS nor Ubuntu developers can review.\n\nSecurity and other updates are dependent on the driver vendor."
|
|
}
|
|
},
|
|
"final": [
|
|
{
|
|
"if": "nvidia",
|
|
"type": "command",
|
|
"commands": ["sudo _ubuntu-drivers install --recommended"]
|
|
}
|
|
]
|
|
},
|
|
"vm": {
|
|
"template": "yes-no",
|
|
"display-conditions": [
|
|
"grep 'hypervisor' /proc/cpuinfo"
|
|
],
|
|
"icon": "application-x-appliance-symbolic",
|
|
"title": "Open VM Tools",
|
|
"description": "Choose whether to install Open VM Tools for the virtual machine.",
|
|
"buttons": {
|
|
"yes": "Yes, install",
|
|
"no": "Skip",
|
|
"info": {
|
|
"type": "text",
|
|
"title": "About Open VM Tools",
|
|
"text": "Open VM Tools can be used in GNOME Boxes."
|
|
}
|
|
},
|
|
"final": [
|
|
{
|
|
"if": "vm",
|
|
"type": "command",
|
|
"commands": ["sudo apx --sys install -y open-vm-tools"]
|
|
}
|
|
]
|
|
},
|
|
"extra": {
|
|
"template": "preferences",
|
|
"icon": "vanilla-puzzle-piece-symbolic",
|
|
"title": "Extra Settings",
|
|
"description": "The following are optional settings, leave them as they are if you don't know what they do.",
|
|
"preferences": [
|
|
{
|
|
"id": "apport",
|
|
"title": "Apport",
|
|
"subtitle": "Apport is a crash reporting system that helps us improve the stability of the system."
|
|
}
|
|
],
|
|
"final": [
|
|
{
|
|
"if": "apport",
|
|
"type": "command",
|
|
"commands": [
|
|
"sudo apx --sys install -y apport",
|
|
"systemctl enable apport.service || true"
|
|
]
|
|
},
|
|
{
|
|
"if": "apport",
|
|
"condition": false,
|
|
"type": "command",
|
|
"commands": [
|
|
"sudo apx --sys remove -y apport",
|
|
"systemctl disable apport.service || true"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|