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

@@ -30,7 +30,7 @@ in {
(modulesPath + "/profiles/installation-device.nix")
];
system.nixos.distroName = "deskOS 1";
system.nixos.distroName = "deskOS 1 - School Edition";
# FIXME(m): Disable squashfs compression during development
# isoImage.squashfsCompression = null;
@@ -43,8 +43,8 @@ in {
loader.timeout = lib.mkForce 0;
plymouth = {
enable = true;
theme = "desk-os-installer";
themePackages = [(pkgs.callPackage ../../packages/desk-os-installer-plymouth {})];
theme = "lightbulb-installer";
themePackages = [ (pkgs.callPackage ../../packages/lightbulb-installer-plymouth {}) ];
};
# NOTE(m): Enable kernel modules that improve wifi support on
# Macbooks during installation.
@@ -125,6 +125,8 @@ in {
gnomeExtensions.no-overview
];
i18n.defaultLocale = "nl_NL.UTF-8";
# Support choosing from any locale
i18n.supportedLocales = ["all"];
@@ -147,9 +149,9 @@ in {
sleep-inactive-ac-type='nothing'
sleep-inactive-battery-type='nothing'
[org.gnome.desktop.background]
picture-uri='file://${pkgs.gnome.gnome-backgrounds}/share/backgrounds/gnome/geometrics-l.jxl'
picture-uri='file://${../../assets/school-wallpaper.jpg}'
[org.gnome.desktop.screensaver]
picture-uri='file://${pkgs.gnome.gnome-backgrounds}/share/backgrounds/gnome/geometrics-l.jxl'
picture-uri='file://${../../assets/school-wallpaper.jpg}'
'';
extraGSettingsOverridePackages = [pkgs.gnome.gnome-settings-daemon];