Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-10-17 18:41:10 +01:00
parent 77edba5162
commit ab042e03aa
8 changed files with 34 additions and 60 deletions

View File

@@ -133,7 +133,7 @@
programs.zsh.loginExtra = lib.mkAfter ''
if [ -z "$WAYLAND_DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
hyprland &> /tmp/hyprland.log
Hyprland &> /tmp/hyprland.log
fi
'';

View File

@@ -9,14 +9,6 @@
...
}:
{
nixpkgs.overlays = [
(final: prev: {
qalculate-gtk = prev.qalculate-gtk.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [ ] ++ [ ./skip-save-prefs.patch ];
});
})
];
environment.persistence."/cache"."${home}/.config/qalculate/qalculate-gtk.history" = { };
home-manager.users.${user} = {

View File

@@ -1,12 +0,0 @@
diff --git a/src/callbacks.cc b/src/callbacks.cc
index 14ab38a..5f73451 100644
--- a/src/callbacks.cc
+++ b/src/callbacks.cc
@@ -23405,6 +23405,7 @@ bool save_history(bool allow_cancel) {
*/
bool save_preferences(bool mode, bool allow_cancel) {
+ return true;
FILE *file = NULL;
string homedir = getLocalDir();