diff --git a/home/config/nil/desktop.nix b/home/config/nil/desktop.nix index cc6d65e..7d5db99 100644 --- a/home/config/nil/desktop.nix +++ b/home/config/nil/desktop.nix @@ -50,7 +50,7 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) { inkscape jellyfin-mpv-shim keepassxc - libreoffice + libreoffice-fresh obsidian restic signal-desktop diff --git a/overlay/no-x.nix b/overlay/no-x.nix index 808017a..d188a6b 100644 --- a/overlay/no-x.nix +++ b/overlay/no-x.nix @@ -108,11 +108,14 @@ in genAttrs [ ++ [ (mesonBool "tests" false) ]; }); + libreoffice-fresh = prev.libreoffice-fresh.override { + unwrapped = prev.libreoffice-fresh.unwrapped.overrideAttrs (prevAttrs: { + configureFlags = prevAttrs.configureFlags or [ ] + ++ [ "--without-x" ]; + }); + }; - libreoffice-unwrapped = prev.libreoffice-unwrapped.overrideAttrs (prevAttrs: { - configureFlags = prevAttrs.configureFlags or [ ] - ++ [ "--without-x" ]; - }); + libreoffice-fresh-unwrapped = final.libreoffice-fresh.unwrapped; libsForQt5 = prev.libsForQt5.overrideScope (final: prev: { inherit (final') qt5;