From 0fee90c4292fe722d731801485f7a3718177a71b Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sun, 29 Mar 2026 13:51:25 -0500 Subject: [PATCH] removed old result and updated common --- iso/common.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/iso/common.nix b/iso/common.nix index 24bada8..95ce769 100644 --- a/iso/common.nix +++ b/iso/common.nix @@ -3,8 +3,10 @@ let sovranSource = builtins.path { path = ../.; name = "sovran-systemsos"; }; + pythonEnv = pkgs.python3.withPackages (ps: [ ps.pygobject3 ]); + installerPy = pkgs.writeShellScriptBin "sovran-install" '' - exec ${pkgs.python3}/bin/python3 /etc/sovran/installer.py + exec ${pythonEnv}/bin/python3 /etc/sovran/installer.py ''; in { @@ -32,9 +34,15 @@ in nix-bitcoin.generateSecrets = true; + # Propagate typelib paths into the GNOME session so autostart apps see them + environment.sessionVariables = { + GI_TYPELIB_PATH = "/run/current-system/sw/lib/girepository-1.0"; + LD_LIBRARY_PATH = "/run/current-system/sw/lib"; + }; + environment.systemPackages = with pkgs; [ installerPy - python3Packages.pygobject3 + pythonEnv util-linux disko parted