feat: use official ChatGPT on Wayland
This commit is contained in:
@@ -25,11 +25,6 @@
|
||||
custom.hyprland.cursorSize = 32;
|
||||
custom.hyprland.gdkScale = 1;
|
||||
|
||||
# ChatGPT's XWayland window needs an explicit device scale as well.
|
||||
xdg.configFile."codex-desktop/electron-flags.conf".text = ''
|
||||
--force-device-scale-factor=1
|
||||
'';
|
||||
|
||||
# Fingerprint unlock for hyprlock — arrakis is the only host with a reader
|
||||
# (fprintd is enabled system-side in hosts/arrakis). hyprlock talks to fprintd
|
||||
# over D-Bus directly (not via PAM), running in parallel with password input:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
@@ -9,7 +8,7 @@ let
|
||||
claude-desktop = pkgs.callPackage ../../../pkgs/claude-desktop/package.nix {
|
||||
inherit (config.custom.aiApps) deviceScaleFactor;
|
||||
};
|
||||
codex-cli = inputs.codex-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
chatgpt = pkgs.callPackage ../../../pkgs/chatgpt/package.nix { };
|
||||
t3-code = pkgs.callPackage ../../../pkgs/t3-code/package.nix {
|
||||
inherit (config.custom.aiApps) deviceScaleFactor;
|
||||
};
|
||||
@@ -19,16 +18,10 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ inputs.codex-desktop-linux.homeManagerModules.default ];
|
||||
|
||||
home.packages = lib.optionals pkgs.stdenv.hostPlatform.isx86_64 [
|
||||
claude-desktop
|
||||
chatgpt
|
||||
t3-code
|
||||
openwhispr
|
||||
];
|
||||
|
||||
programs.codexDesktopLinux = {
|
||||
enable = true;
|
||||
cliPackage = codex-cli;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user