Skip to content

Commit

Permalink
jovian-install-iso: init
Browse files Browse the repository at this point in the history
OLED users can't get network on the default installer, so build our own,
slightly Deck flavored one.
  • Loading branch information
K900 committed Aug 29, 2024
1 parent 0ce5684 commit 405a367
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,6 @@ rec {

decky-loader = final.callPackage ./pkgs/decky-loader/stable.nix { };
decky-loader-prerelease = final.callPackage ./pkgs/decky-loader/prerelease.nix { };

jovian-install-iso = (final.nixos ./support/install-iso/configuration.nix).config.system.build.isoImage;
}
31 changes: 31 additions & 0 deletions support/install-iso/configuration.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib, modulesPath, pkgs, ... }:

{
imports = [
# we don't want to pull in Calamares, as it's not Jovian-aware
(modulesPath + "/installer/cd-dvd/installation-cd-graphical-base.nix")
../../modules
];

config = {
services.desktopManager.plasma6.enable = true;

# Automatically login as nixos.
services.displayManager = {
sddm.enable = true;
autoLogin = {
enable = true;
user = "nixos";
};
};

environment.systemPackages = [
# FIXME: using Qt5 builds of Maliit as upstream has not ported to Qt6 yet
pkgs.maliit-framework
pkgs.maliit-keyboard
];

jovian.devices.steamdeck.enable = true;
hardware.pulseaudio.enable = lib.mkForce false;
};
}

0 comments on commit 405a367

Please sign in to comment.