chore: refactor

This commit is contained in:
♥ Minnie ♥ 2025-03-06 16:12:43 +08:00
parent 1787d206c2
commit 0f6f431cd4
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 7 additions and 4 deletions

View file

@ -53,7 +53,6 @@
path+=('/home/sajenim/.repositories/sysadmin.sh/bin')
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
export _JAVA_AWT_WM_NONREPARENTING=1
export PATH
PROMPT='%F{blue}%n@%m %F{cyan}%~ %F{red} %f';
'';

View file

@ -7,9 +7,13 @@
# You can change versions, add patches, set compilation flags, anything really.
# https://nixos.wiki/wiki/Overlays
modifications = final: prev: {
# example = prev.example.overrideAttrs (oldAttrs: rec {
# ...
# });
logisim-evolution = prev.logisim-evolution.overrideAttrs (oldAttrs: {
postInstall =
(oldAttrs.postInstall or "")
+ ''
wrapProgram $out/bin/logisim-evolution --set _JAVA_AWT_WM_NONREPARENTING 1
'';
});
};
# When applied, the unstable nixpkgs set (declared in the flake inputs) will