Apply customization for School Edition
This commit is contained in:
@@ -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 |
@@ -5,7 +5,6 @@
|
||||
defaultGroups:
|
||||
- users
|
||||
- networkmanager
|
||||
- wheel
|
||||
setRootPassword: false
|
||||
doAutologin: true
|
||||
user:
|
||||
|
||||
@@ -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:
|
||||
|
||||
16
packages/lightbulb-installer-plymouth/default.nix
Normal file
16
packages/lightbulb-installer-plymouth/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{stdenv}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "lightbulb-installer-plymouth";
|
||||
version = "0.0.1";
|
||||
|
||||
src = ./src;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
sed -i 's:\(^ImageDir=\)/usr:\1'"$out"':' lightbulb-installer.plymouth
|
||||
sed -i 's:\(^ScriptFile=\)/usr:\1'"$out"':' lightbulb-installer.plymouth
|
||||
mkdir -p $out/share/plymouth/themes/lightbulb-installer
|
||||
cp * $out/share/plymouth/themes/lightbulb-installer
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
[Plymouth Theme]
|
||||
Name=Lightbulb Installer
|
||||
Description=A theme that displays the Lightbulb Installer logo
|
||||
ModuleName=script
|
||||
|
||||
[script]
|
||||
ImageDir=/usr/share/plymouth/themes/lightbulb-installer
|
||||
ScriptFile=/usr/share/plymouth/themes/lightbulb-installer/lightbulb-installer.script
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,8 @@
|
||||
image = Image("lightbulb-installer.png");
|
||||
|
||||
pos_x = Window.GetWidth()/2 - image.GetWidth()/2;
|
||||
pos_y = Window.GetHeight()/2 - image.GetHeight()/2;
|
||||
|
||||
sprite = Sprite(image);
|
||||
sprite.SetX(pos_x);
|
||||
sprite.SetY(pos_y);
|
||||
16
packages/lightbulb-plymouth/default.nix
Normal file
16
packages/lightbulb-plymouth/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{stdenv}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "lightbulb-plymouth";
|
||||
version = "0.0.1";
|
||||
|
||||
src = ./src;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
sed -i 's:\(^ImageDir=\)/usr:\1'"$out"':' lightbulb.plymouth
|
||||
sed -i 's:\(^ScriptFile=\)/usr:\1'"$out"':' lightbulb.plymouth
|
||||
mkdir -p $out/share/plymouth/themes/lightbulb
|
||||
cp * $out/share/plymouth/themes/lightbulb
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
8
packages/lightbulb-plymouth/src/lightbulb.plymouth
Normal file
8
packages/lightbulb-plymouth/src/lightbulb.plymouth
Normal file
@@ -0,0 +1,8 @@
|
||||
[Plymouth Theme]
|
||||
Name=Lightbulb
|
||||
Description=A theme that displays the Lightbulb
|
||||
ModuleName=script
|
||||
|
||||
[script]
|
||||
ImageDir=/usr/share/plymouth/themes/lightbulb
|
||||
ScriptFile=/usr/share/plymouth/themes/lightbulb/lightbulb.script
|
||||
BIN
packages/lightbulb-plymouth/src/lightbulb.png
Normal file
BIN
packages/lightbulb-plymouth/src/lightbulb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
8
packages/lightbulb-plymouth/src/lightbulb.script
Normal file
8
packages/lightbulb-plymouth/src/lightbulb.script
Normal file
@@ -0,0 +1,8 @@
|
||||
image = Image("lightbulb.png");
|
||||
|
||||
pos_x = Window.GetWidth()/2 - image.GetWidth()/2;
|
||||
pos_y = Window.GetHeight()/2 - image.GetHeight()/2;
|
||||
|
||||
sprite = Sprite(image);
|
||||
sprite.SetX(pos_x);
|
||||
sprite.SetY(pos_y);
|
||||
Reference in New Issue
Block a user