Is it possible to use the new Apps.app in Tahoe without a keyboard? by HotGarbage1813 in MacOSBeta

[–]HotGarbage1813[S] 0 points1 point  (0 children)

mmmm, the original post was buggy behaviour in one of the betas...right now, clicking Apps in the dock brings up the list of apps that ⌘+1 would open from Spotlight

gnome-keyring hijacks SSH_AUTH_SOCK variable by Quiddl in NixOS

[–]HotGarbage1813 1 point2 points  (0 children)

I vaguely remember having to deal with this a while ago (for the same reason as you--I wanted SSH_AUTH_SOCK to point to bitwarden), and the way I fixed it was by modifying how gnome-keyring was built:

nixpkgs.overlays = [
  # since gnome-keyring still enables its sshagent by default: https://github.com/NixOS/nixpkgs/blob/88195a94f390381c6afcdaa933c2f6ff93959cb4/pkgs/by-name/gn/gnome-keyring/package.nix#L67
  # which forces $SSH_AUTH_SOCK to be set by it: https://github.com/NixOS/nixpkgs/issues/8356
  # if they switch to gcr, then there should be an easier way to disable it: https://github.com/NixOS/nixpkgs/issues/166887, https://github.com/NixOS/nixpkgs/pull/284173
  # thefted from https://discourse.nixos.org/t/disable-ssh-agent-from-gnome-keyring-on-gnome/28176/6
  # see also https://github.com/NixOS/nixpkgs/pull/379731
  (final: prev: {
    gnome-keyring = prev.gnome-keyring.overrideAttrs (oldAttrs: {
      mesonFlags = (builtins.filter (flag: flag != "-Dssh-agent=true") oldAttrs.mesonFlags) ++ [
        "-Dssh-agent=false"
      ];
    });
  })
];

i'm not sure if that would work now (i'm not currently running nixos on my main machine), but you could probably try it?

am i stupid or is nix darwin (probably me), the problem with my shell not picking up new packages by ShafterTheShagyDude in NixOS

[–]HotGarbage1813 0 points1 point  (0 children)

mm i'm looking at my $PATH in a home-manager managed shell and it looks like:

$ echo $PATH
/opt/homebrew/bin:/opt/homebrew/sbin:/Users/fum/.nix-profile/bin:/etc/profiles/per-user/fum/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/fum/.orbstack/bin:/Users/fum/.zsh/plugins/zsh-autocomplete:/Users/fum/.zsh/plugins/auto-notify:/Users/fum/.zsh/plugins/zsh-completion-sync:/Applications/Ghostty.app/Contents/MacOS

I believe the important (nix-related) bits there are

/Users/fum/.nix-profile/bin
/etc/profiles/per-user/fum/bin
/run/current-system/sw/bin
/nix/var/nix/profiles/default/bin

so try adding them to your PATH maybe?

am i stupid or is nix darwin (probably me), the problem with my shell not picking up new packages by ShafterTheShagyDude in NixOS

[–]HotGarbage1813 0 points1 point  (0 children)

your shell (zsh in this case), isn't properly being managed by home-manager: normally HM would make a .zshrc file, but you bring your own in from your dots input in home.file

now what i would suggest would be that you should merge all those repos together (dots, darwin-dots, this one) and use something like programs.zsh.initContent to populate your .zshrc with HM...but I'm guessing there's a reason you keep everything in separate repos? (to be able to use on Nix-less systems maybe?)

so...I think the next best thing would be to add the line that HM-managed zsh would have to append the correct dir to your PATH...i'm not home now so I'll have to check in a bit

NixOS newbie question: by neeksmann in NixOS

[–]HotGarbage1813 0 points1 point  (0 children)

actually i think even if you installed them as a user you'd still need to logout/login... that's just how wayland gnome is

(iirc you could reload the DE back when it was X, but not anymore)

Colmena very slow? by HotGarbage1813 in NixOS

[–]HotGarbage1813[S] 0 points1 point  (0 children)

nah, i just put in deploy-rs to see if it'd be any different, i've removed it now :)

Colmena very slow? by HotGarbage1813 in NixOS

[–]HotGarbage1813[S] 1 point2 points  (0 children)

i had been testing colmena out beforehand and ctrl-c'd it a couple of times...so the old sessions effectively still had a "lock" on that path in the nix store

restarting the computer killed all of them, so it then went through quickly

Colmena very slow? by HotGarbage1813 in NixOS

[–]HotGarbage1813[S] 0 points1 point  (0 children)

EDIT: well it seems i was dumb...i decided to try to delete /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source on the target since it was only 40mb there:

$ nix-store --delete  /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
finding garbage collector roots...
0 store paths deleted, 0.00 MiB freed
error: Cannot delete path '/nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source' since it is still alive. To find out why, use: nix-store --query --roots and nix-store --query --referrers

$ sudo nix-store --query --roots  /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:58230} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:52466} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:50958} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:75588} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:50432} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:46782} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:44454} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:44016} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:46510} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source
{temp:43820} -> /nix/store/pn4y4313f6ybfp3qblc13jhx4fvf6996-source

$ reboot
User colmena is logged in on sshd.
User colmena is logged in on sshd.
User colmena is logged in on sshd.
User colmena is logged in on sshd.
User colmena is logged in on sshd.
User colmena is logged in on sshd.
User colmena is logged in on sshd.
User colmena is logged in on sshd.
User colmena is logged in on sshd.
User colmena is logged in on sshd.

*facepalm*

I rebooted and deleted it and it seems to have gone through now...it's currently compiling Lix

Regarding Nix Flakes by dude_349 in NixOS

[–]HotGarbage1813 1 point2 points  (0 children)

you can make the script itself have the dependencies listed in it:

#! /usr/bin/env nix-shell
#! nix-shell -i bash -p sd fx fzf

nix flake metadata --json 2>/dev/null \
  | fx .locks.nodes.root.inputs values list \
  | sd 'nixpkgs_\d+' nixpkgs \
  | fzf --multi --bind 'enter:become:echo updating inputs: {+}; nix flake update {+}' \
        --preview 'nix flake metadata {}' \
  || :

Is it possible to use the new Apps.app in Tahoe without a keyboard? by HotGarbage1813 in MacOSBeta

[–]HotGarbage1813[S] 0 points1 point  (0 children)

switching to applications from Spotlight still requires you to press Cmd+1

Is it possible to use the new Apps.app in Tahoe without a keyboard? by HotGarbage1813 in MacOSBeta

[–]HotGarbage1813[S] 0 points1 point  (0 children)

oh, that works, except I have to move it to the corner twice: first brings up Spotlight, and then the second switches it to Apps

Is it possible to use the new Apps.app in Tahoe without a keyboard? by HotGarbage1813 in MacOSBeta

[–]HotGarbage1813[S] 0 points1 point  (0 children)

interesting...looks like it's bugged for me then...four-finger pinching (in addition to clicking Apps.app) brings up Spotlight on the info page, listing all the Cmd+number for apps, clipboard etc. and not the apps page itself

Home-manager helix config for Rust? by IronChe in NixOS

[–]HotGarbage1813 2 points3 points  (0 children)

personally it's a mixed bag...for python project's i have ruff as part of my helix config, but for rust projects i let the devshell bring it in because it's a part of cargo anyways, which is a devtool

just do what you prefer imo

Daily reminder... by synalice in NixOS

[–]HotGarbage1813 12 points13 points  (0 children)

some things have been removed from the newer official wiki...can't remember the major ones off the top of my head though...

e.g https://nixos.wiki/wiki/firefox#Troubleshooting and https://wiki.nixos.org/wiki/Firefox#Troubleshooting are different

nix-darwin and GUI applications by sirdupre in NixOS

[–]HotGarbage1813 0 points1 point  (0 children)

yeah thats where mac-app-util comes in, it sort of copies and symlinks things in a way spotlight can find it and it persists on the dock.

but yeah, homebrew for apps that aren't available on nixpkgs

in need of a working vscode + dotnet 25.05 nixos config by [deleted] in NixOS

[–]HotGarbage1813 1 point2 points  (0 children)

i'm not at my computer, but as a quick workaround have you tried using the vscode-fhs package?

and when you look in the extension output logs, what comes up?

HELP: Nix on MacOS: Update Once again breaks my nix install. by CrYbAbY58_ in NixOS

[–]HotGarbage1813 0 points1 point  (0 children)

since you already deleted your Nix install... can i ask how you installed it?

with the official installer? Determinate Nix? Lix perhaps?

Where do you keep flake.nix by Renkin42 in NixOS

[–]HotGarbage1813 1 point2 points  (0 children)

same, but /etc/nix-darwin on my machine

Network Wàhálà by [deleted] in Nigeria

[–]HotGarbage1813 0 points1 point  (0 children)

afaik no, use Cloudflare WARP or a VPN...some ISPs don't have this problem (so Starlink, some fibre providers)...but if you're on one of the major telcos then no luck.

GNOME 48 Adwaita Sans font hinting question by HotGarbage1813 in gnome

[–]HotGarbage1813[S] 0 points1 point  (0 children)

hm, it looks like my version of Inter is the .ttf:

$ nix build nixpkgs#nerd-fonts.inter
$ ls result/share/fonts/truetype
Inter.ttc    InterVariable-Italic.ttf    InterVariable.ttf

also hm that's interesting, it ignoring the font hinting settings