Apply customization for School Edition

This commit is contained in:
Michael Smith
2024-09-11 10:39:48 +02:00
parent c08e57de0d
commit 8e3c2c64ee
17 changed files with 95 additions and 47 deletions

View File

@@ -9,21 +9,21 @@ windowExpanding: fullscreen
windowPlacement: center
sidebar: none
strings:
productName: deskOS
shortProductName: deskOS
productName: deskOS - School Edition
shortProductName: deskOS - School Edition
version: 1
shortVersion: 1
versionedName: deskOS 1
shortVersionedName: deskOS 1
bootloaderEntryName: deskOS
versionedName: deskOS 1 - School Edition
shortVersionedName: deskOS 1 - School Edition
bootloaderEntryName: deskOS - School Edition
productUrl: https://nixup.io
supportUrl: https://nixup.io
knownIssuesUrl: https://github.com/nixup-io/desk-os/issues
releaseNotesUrl: https://nixup.io
donateUrl: https://nixup.io
images:
productIcon: "desk-os-logo.png"
productLogo: "desk-os-logo.png"
productIcon: "desk-os-logo-school.png"
productLogo: "desk-os-logo-school.png"
style:
SidebarBackground: "#292F34"
SidebarText: "#FFFFFF"

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

View File

@@ -5,7 +5,6 @@
defaultGroups:
- users
- networkmanager
- wheel
setRootPassword: false
doAutologin: true
user:

View File

@@ -56,7 +56,7 @@ flake = f"""
inputs = {{
nixpkgs.url = "github:nixup-io/nixpkgs-desk-os/stable";
desk-os = {{
url = "github:nixup-io/desk-os";
url = "github:nixup-io/desk-os/school-edition";
inputs.nixpkgs.follows = "nixpkgs";
}};
}};
@@ -168,7 +168,7 @@ configuration_tail = """
"""
def pretty_name():
return _("Installing deskOS (this can take a while depending on your Internet speed)...")
return _("Installing deskOS - School Edition (this can take a while depending on your Internet speed)...")
status = pretty_name()
@@ -243,7 +243,7 @@ def run():
if (gs.value("username") is not None):
fullname = gs.value("fullname")
groups = ["networkmanager", "wheel"]
groups = ["networkmanager"]
catenate(variables, "username", gs.value("username"))
catenate(variables, "fullname", fullname)
@@ -295,7 +295,7 @@ def run():
libcalamares.utils.host_env_process_output(
["cp", "/dev/stdin", flakeFile], None, flake)
status = _("Installing deskOS (this can take a while depending on your Internet speed)...")
status = _("Installing deskOS - School Edition (this can take a while depending on your Internet speed)...")
# Install
try: