From 96ef1fe37f5162ca6efa4d692f7d4b6f78dd90d7 Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 27 Aug 2024 19:20:17 +0300 Subject: [PATCH] jovian-install-iso: init OLED users can't get network on the default installer, so build our own, slightly Deck flavored one. --- flake.lock | 6 +++--- overlay.nix | 2 ++ support/install-iso/configuration.nix | 13 +++++++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 support/install-iso/configuration.nix diff --git a/flake.lock b/flake.lock index 176985b2..b45d3006 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1723991338, - "narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=", + "lastModified": 1724479785, + "narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8a3354191c0d7144db9756a74755672387b702ba", + "rev": "d0e1602ddde669d5beb01aec49d71a51937ed7be", "type": "github" }, "original": { diff --git a/overlay.nix b/overlay.nix index 65181304..d263c7dd 100644 --- a/overlay.nix +++ b/overlay.nix @@ -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; } diff --git a/support/install-iso/configuration.nix b/support/install-iso/configuration.nix new file mode 100644 index 00000000..ed53fe08 --- /dev/null +++ b/support/install-iso/configuration.nix @@ -0,0 +1,13 @@ +{ lib, modulesPath, ... }: + +{ + imports = [ + (modulesPath + "/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix") + ../../modules + ]; + + config = { + jovian.devices.steamdeck.enable = true; + hardware.pulseaudio.enable = lib.mkForce false; + }; +}