Update notes.sh and q.sh
This commit is contained in:
parent
0e36aae721
commit
bd87765fc4
4 changed files with 24 additions and 13 deletions
|
@ -129,6 +129,7 @@ in {
|
|||
wayland
|
||||
xdg-utils
|
||||
glib
|
||||
bc
|
||||
dracula-theme
|
||||
adwaita-icon-theme
|
||||
swaylock
|
||||
|
@ -220,6 +221,9 @@ in {
|
|||
networkmanagerapplet
|
||||
|
||||
qpwgraph
|
||||
|
||||
bat
|
||||
chafa
|
||||
];
|
||||
|
||||
services.blueman.enable = true;
|
||||
|
@ -473,6 +477,13 @@ in {
|
|||
|
||||
};
|
||||
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
theme = "ansi";
|
||||
};
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
bashrcExtra = ''
|
||||
|
@ -485,7 +496,7 @@ in {
|
|||
shellAliases = {
|
||||
nn = "notes.sh -n";
|
||||
ne =
|
||||
''notes.sh -l | fzf --tac --with-nth="2..-1" | xargs -o notes.sh -e'';
|
||||
''notes.sh -l | fzf --tac --with-nth="2..-1" --preview "notes.sh -p {}" --print-query --bind 'alt-enter:print-query' | xargs -o -d "\n" -n 2 notes.sh -f'';
|
||||
vim = "emacs -nw --no-splash";
|
||||
|
||||
};
|
||||
|
|
16
flake.lock
16
flake.lock
|
@ -140,16 +140,16 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1696170164,
|
||||
"narHash": "sha256-ew+zhK/okYJdOdl3yWcRzi0NHfVbnXzS+EjlOf8vN6k=",
|
||||
"lastModified": 1731919109,
|
||||
"narHash": "sha256-v2PcqyIHui4Nb5lZHs46CltQAJ8f+FjQR27L2fbNzS4=",
|
||||
"owner": "~knazarov",
|
||||
"repo": "notes.sh",
|
||||
"rev": "342615a128cf96f1d6cb69a9c09e408d9ff0ab11",
|
||||
"repo": "notes2.sh",
|
||||
"rev": "76038af8020ba4e5c4bf285fb75a127bfe335923",
|
||||
"type": "sourcehut"
|
||||
},
|
||||
"original": {
|
||||
"owner": "~knazarov",
|
||||
"repo": "notes.sh",
|
||||
"repo": "notes2.sh",
|
||||
"type": "sourcehut"
|
||||
}
|
||||
},
|
||||
|
@ -160,11 +160,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1730676982,
|
||||
"narHash": "sha256-U3CN8+gSAUl5WVHZl5PxgXufIJ3VzoqngL5NgYbQ0S4=",
|
||||
"lastModified": 1732088708,
|
||||
"narHash": "sha256-OPoY+eqXhMAxk49cMQiADK5xx1gEXA5XSWIaK1htVrI=",
|
||||
"owner": "~knazarov",
|
||||
"repo": "q.sh",
|
||||
"rev": "cc9cf1f36067bb5e5d1acbb5d9b8b2dbea6e7100",
|
||||
"rev": "0ebd7c228cf34a0f60789a2a957bba0dca8e2773",
|
||||
"type": "sourcehut"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
sops-nix.inputs.nixpkgs-stable.follows = "nixpkgs-stable";
|
||||
q-sh.url = "sourcehut:~knazarov/q.sh";
|
||||
q-sh.inputs.nixpkgs.follows = "nixpkgs";
|
||||
notes-sh.url = "sourcehut:~knazarov/notes.sh";
|
||||
notes-sh.url = "sourcehut:~knazarov/notes2.sh";
|
||||
notes-sh.inputs.nixpkgs.follows = "nixpkgs";
|
||||
knazarovcom.url = "sourcehut:~knazarov/knazarov.com";
|
||||
knazarovcom.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nil_cli";
|
||||
version = "2024.11.06";
|
||||
version = "2024.11.20";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/NilFoundation/nil_cli/releases/download/2024.10.15/nil-linux-x64.zip";
|
||||
sha256 = "sha256-KAPvRDo++q2g6vWPOrJcksVyBjEoNznjQlKGweD6rVg=";
|
||||
url = "https://github.com/NilFoundation/nil_cli/releases/download/2024.11.20/nil-linux-x64.zip";
|
||||
sha256 = "sha256-7WaUzsxe3u/0pu4cqvLvH7JESBpTixLu5GhBx0dLEsE=";
|
||||
};
|
||||
|
||||
phases = ["installPhase" "patchPhase"];
|
||||
|
|
Loading…
Reference in a new issue