Skip to content

Commit b11ba22

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/flakes' into flakes
2 parents 9306a76 + 6edac94 commit b11ba22

File tree

3 files changed

+74
-11
lines changed

3 files changed

+74
-11
lines changed

darwin/config.nix

Lines changed: 49 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,60 @@
11
{ pkgs, home-manager, ... }:
22
{
33
fonts = {
4-
packages = with pkgs;[ nerd-fonts.fira-code fira-code-symbols fira-math hack-font ];
4+
packages = with pkgs; [
5+
nerd-fonts.fira-code
6+
fira-code-symbols
7+
fira-math
8+
hack-font
9+
];
510
};
611

7-
environment.variables = { EDITOR = "nvim"; };
12+
environment.variables = {
13+
EDITOR = "nvim";
14+
};
815
system.stateVersion = 5;
916

10-
1117
programs.fish.enable = true;
1218
users.users.jrestivo.home = "/Users/jrestivo";
1319
users.users.jrestivo.shell = pkgs.fish;
1420

1521
environment.systemPackages = with pkgs; [
16-
ghc ripgrep tree
17-
tdf
22+
ghc
23+
moonlight-qt
24+
ripgrep
25+
tree
26+
# tdf
27+
gitoxide
28+
fselect
1829
pngpaste
1930
moreutils
20-
jq zoxide starship direnv fzf eza bat tldr neofetch bottom htop coreutils fd
21-
nix-top nixfmt entr fish syncthing /* colmena */ zellij /* colima */ zellij jless git-filter-repo lima zathura emacs /* agda */ docker awscli emacs /* neovide */ /* nyxt-3 */
31+
jq
32+
zoxide
33+
starship
34+
direnv
35+
fzf
36+
eza
37+
bat
38+
tldr
39+
neofetch
40+
bottom
41+
htop
42+
coreutils
43+
fd
44+
nix-top
45+
entr
46+
fish
47+
syncthing # colmena
48+
zellij # colima
49+
zellij
50+
jless
51+
git-filter-repo
52+
lima
53+
zathura
54+
emacs # agda
55+
docker
56+
awscli
57+
emacs # neovide nyxt-3
2258
atuin
2359
#(rWrapper.override{ packages = with rPackages; [ ggplot2 dplyr xts languageserver ]; })
2460
gh
@@ -31,7 +67,9 @@
3167
yazi
3268
corepack_latest
3369
nodejs_latest
34-
delta duf broot
70+
delta
71+
duf
72+
broot
3573
mosh
3674
dive
3775
nix-output-monitor
@@ -41,12 +79,13 @@
4179
john
4280
];
4381

44-
4582
nix.package = pkgs.nix;
4683
nix.extraOptions = "experimental-features = nix-command flakes pipe-operators";
4784

4885
# environment.systemPath = [ "/opt/homebrew/bin" ];
49-
environment.variables = { HOMEBREW_NO_ANALYTICS = "1"; };
86+
environment.variables = {
87+
HOMEBREW_NO_ANALYTICS = "1";
88+
};
5089
homebrew.onActivation.autoUpdate = true;
5190
homebrew.onActivation.cleanup = "zap";
5291
homebrew.global.brewfile = true;

flake.nix

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@
180180
rapidocr-onnxruntime = python-prev.rapidocr-onnxruntime.overridePythonAttrs (oldAttrs: {
181181
doCheck = false;
182182
});
183-
184183
# psycopg = python-prev.psycopg.overridePythonAttrs (oldAttrs: {
185184
# doCheck = false;
186185
# });
@@ -263,6 +262,30 @@
263262
nixpkgs.overlays = [
264263
(final: prev: {
265264
nvim = my-nvim.defaultPackage.aarch64-darwin;
265+
tdf = prev.tdf.overrideAttrs (
266+
finalAttrs: prevAttrs: {
267+
pname = "tdf";
268+
version = "custom";
269+
useFetchCargoVendor = true;
270+
src = prev.fetchFromGitHub {
271+
owner = "itsjunetime";
272+
repo = "tdf";
273+
fetchSubmodules = false;
274+
rev = "d01da40f13a29371d7a705f822597923dab1a9e7";
275+
hash = "sha256-a82m0d1cFi5EwnDrgeZQnsS5ScPdLo/D9NPFN27hvo4=";
276+
};
277+
nativeBuildInputs = [ final.rustPlatform.bindgenHook ];
278+
RUSTC_BOOTSTRAP = true;
279+
# cargoHash = lib.fakeHash;
280+
cargoDeps = final.rustPlatform.fetchCargoVendor {
281+
inherit (finalAttrs) src;
282+
name = "${finalAttrs.pname}-${finalAttrs.version}";
283+
hash = "sha256-DxD+Zu6e/YkbFP/R0kBHpuj7E9ZJ2aRpF01VQwMAfkU=";
284+
};
285+
286+
}
287+
);
288+
266289
})
267290
];
268291
}

home/config.fish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if test $os = "Darwin"
1010
# ssh-add ~/.ssh/id_rsa_old
1111
fish_add_path /run/current-system/sw/bin
1212
fish_add_path /opt/homebrew/bin
13+
fish_add_path /Users/jrestivo/dev/tdf/target/release/
1314
export EDITOR="/Users/jrestivo/dev/vimconfig/result/bin/nvim"
1415
else if test $os = "Linux"
1516
ssh-add ~/.ssh/id_rsa

0 commit comments

Comments
 (0)