re: elilla& struggle with NixOS thread: nix search
> - quite surprised to have no functional "nix search" or something. we are expected to use the website for everything? I don't like using websites I like command lines
heh, so:
for a package: `nix search nixpkgs hello` (requires flakes, slow by default), older `nix-env --help --query`, scroll to examples mgiht be faster in some ways
3rd-party nix-index (binary: nix-locate) is great:
```
ckie@cookiemonster ~ -> nix-locate bin/hello |& rg hello.out
haskellPackages.hello.out 839,624 x /nix/store/lwcn76793qmkzkch95shdscimwxc62h9-hello-1.0.0.2/bin/hello
hello.out 55,704 x /nix/store/mdi7lvrn2mx7rfzv3fdq3v5yw8swiks6-hello-2.12.1/bin/hello
```
> duplicating everything on ~/.config/sway/, but I can't figure out how to make "right control is super" in xkb options
`services.keyd`, should work everywhere since it's using the kernel uinput mechanism
> `gsettings set org.gnome.desktop.interface text-scaling-factor 1.5`
will do it for all GTK apps including firefox. (you need package `glib` to have gsettings.) can I put this in the nix conffiles somehow :thonking:
[with home-manager, yes](https://nix-community.github.io/home-manager/options.html#opt-dconf.settings) (and you can make HM a part of your NixOS config)
> also firefox says "Your browser is being managed by your organization", which made me chill a bit thinking I'm mixing work profiles or s/t but I guess it's just due to NixOS updates/root cert/something?
you [can configure firefox from nix](https://nixos.org/manual/nixpkgs/unstable/#build-wrapped-firefox-with-extensions-and-policies) and we set a few things by default apparently, [here](https://github.com/ckiee/nixpkgs/blob/6ff448e50d4ca115d50ed6145f575be2093ad30c/pkgs/applications/networking/browsers/firefox/wrapper.nix)