This question is related to the Garuda NixOS module. I use it on NixOS, but I was told I could post support questions here despite not being on Garuda (Disabling home-manager (#1) · Issues · Garuda Linux 🦅 / Garuda Nix Subsystem · GitLab).
If you’d like to have something to replace garuda-inxi, just let me know.
I noticed I have quite a few duplicate packages in my current system generation, both due to alsa configs.
E.g. libcanberra:
$ nix why-depends /run/current-system/ /nix/store/zkwfjmrrcgpfhy
px74nx40frarnvgq42-libcanberra-0.30
/nix/store/5cmrdj3y2wbxc486vhhqyh2kljkgk8w8-nixos-system-t14g5-colin-garuda-nix-subsystem-24.11.20241105.4aa3656
└───/nix/store/qfm11lbhnf5nmy7baivm2v18bpi1angr-etc
└───/nix/store/c6axv00bspwamjs19nnswgg0lz3cdnvs-etc-alsa-conf.d-49-pipewire-modules.conf
└───/nix/store/p5z3l1rmgc3spc1qi2hzfhp0x4xsj6zs-pipewire-1.2.5
└───/nix/store/zkwfjmrrcgpfhypx74nx40frarnvgq42-libcanberra-0.30
$ nix why-depends /run/current-system/ /nix/store/hz2bzns6ck07xb
jl58182q4wzs7y9ayc-libcanberra-0.30
/nix/store/5cmrdj3y2wbxc486vhhqyh2kljkgk8w8-nixos-system-t14g5-colin-garuda-nix-subsystem-24.11.20241105.4aa3656
└───/nix/store/qfm11lbhnf5nmy7baivm2v18bpi1angr-etc
└───/nix/store/nknka9rgif83wdqhi7xj8s1m3r2ykj5l-pipewire-1.2.5
└───/nix/store/hz2bzns6ck07xbjl58182q4wzs7y9ayc-libcanberra-0.30
And libcrackpot:
$ nix why-depends /run/current-system/ /nix/store/r9a2brg6cq6dyd
zcfx2mdrc5m2ij0nc4-cracklib-2.10.0
/nix/store/5cmrdj3y2wbxc486vhhqyh2kljkgk8w8-nixos-system-t14g5-colin-garuda-nix-subsystem-24.11.20241105.4aa3656
└───/nix/store/7bvzsk07az1d9hnpy9d5cpvnizbzmdcd-systemd-256.7
└───/nix/store/022w6aj3lcffpcn3mjzl40sf8p80vzif-libpwquality-1.4.5-lib
└───/nix/store/r9a2brg6cq6dydzcfx2mdrc5m2ij0nc4-cracklib-2.10.0
$ nix why-depends /run/current-system/ /nix/store/xpr2v6b5qlkiwz
r2xdiddgsw4fca1qa4-cracklib-2.10.0
/nix/store/5cmrdj3y2wbxc486vhhqyh2kljkgk8w8-nixos-system-t14g5-colin-garuda-nix-subsystem-24.11.20241105.4aa3656
└───/nix/store/qfm11lbhnf5nmy7baivm2v18bpi1angr-etc
└───/nix/store/c6axv00bspwamjs19nnswgg0lz3cdnvs-etc-alsa-conf.d-49-pipewire-modules.conf
└───/nix/store/p5z3l1rmgc3spc1qi2hzfhp0x4xsj6zs-pipewire-1.2.5
└───/nix/store/x9qy9clbn7cxbx26bfj39rfhh2y5lpx3-libcamera-0.3.2
└───/nix/store/dp4y47xsk15vwyhvxh47hyg5xxxqax51-systemd-256.7
└───/nix/store/gzm0yjqfpg7360xdaphw90qghnmh0qkk-libpwquality-1.4.5-lib
└───/nix/store/xpr2v6b5qlkiwzr2xdiddgsw4fca1qa4-cracklib-2.10.0
I have restarted since switching to this generation and I don’t have anything audio related in my configuration.nix.
This is not causing issues at the moment, but it probably should not happen. I’m quite new to NixOS, so general tips on finding out why I need those paths would be appreciated.
Thanks!