Compare commits
No commits in common. "c694c6ae4cc94cf2981560a73a3b7f19f784423e" and "308206d1cc981bbdb25d5bbd5fd080a02f4a14cc" have entirely different histories.
c694c6ae4c
...
308206d1cc
2
nix/configuration/flake.lock
generated
2
nix/configuration/flake.lock
generated
@ -327,7 +327,7 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-5DWw7GnwVZ98HUp/UUJcyUmmy9Bh/mcQB8MQQ0t3ZRo=",
|
"narHash": "sha256-TFks1dvPwAXKQeePh9jmxj06ZfXArH1pN9yXVQWeL6w=",
|
||||||
"path": "flakes/zsh-histdb",
|
"path": "flakes/zsh-histdb",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
@ -21,16 +21,9 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "sha256-vtG1poaRVbfb/wKPChk1WpPgDq+7udLqLfYfLqap4Vg=";
|
sha256 = "sha256-vtG1poaRVbfb/wKPChk1WpPgDq+7udLqLfYfLqap4Vg=";
|
||||||
};
|
};
|
||||||
buildInputs = [ sqlite ];
|
buildInputs = [ sqlite ];
|
||||||
phases = [
|
phases = [ "installPhase" ];
|
||||||
"installPhase"
|
|
||||||
];
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
|
||||||
mkdir -p $out/share/zsh/plugins/zsh-histdb
|
mkdir -p $out/share/zsh/plugins/zsh-histdb
|
||||||
cp -r $src/histdb-* $src/*.zsh $src/db_migrations $out/share/zsh/plugins/zsh-histdb/
|
cp -r $src/histdb-* $src/*.zsh $src/db_migrations $out/share/zsh/plugins/zsh-histdb/
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
postInstall = ''
|
|
||||||
substituteInPlace $out/share/zsh/plugins/zsh-histdb/sqlite-history.zsh $out/share/zsh/plugins/zsh-histdb/histdb-merge $out/share/zsh/plugins/zsh-histdb/histdb-migrate --replace-fail "sqlite3" "${sqlite}/bin/sqlite3"
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
@ -41,8 +41,7 @@ in
|
|||||||
mpv
|
mpv
|
||||||
evince
|
evince
|
||||||
gimp
|
gimp
|
||||||
# So far I prefer imv over swayimg because imv supports the 'p' hotkey to print the currently-viewed file to stdout (useful for pipelines) and afaik doesn't support the exec:// protocol which seems like a massive risk.
|
imv # TODO: Maybe replace with https://github.com/artemsen/swayimg because imv is looking for a new maintainer
|
||||||
imv
|
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
(lib.mkIf (config.me.graphicsCardType == "amd" || config.me.graphicsCardType == "intel") {
|
(lib.mkIf (config.me.graphicsCardType == "amd" || config.me.graphicsCardType == "intel") {
|
||||||
|
@ -64,6 +64,7 @@ in
|
|||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
zsh
|
zsh
|
||||||
|
sqlite # TODO: can this be pulled into zsh-histdb automatically?
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.talexander.shell = pkgs.zsh;
|
users.users.talexander.shell = pkgs.zsh;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user