Follow

re: elilla& struggle with NixOS thread: nix search 

@elilla

> - 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](nix-community.github.io/home-m) (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](nixos.org/manual/nixpkgs/unsta) and we set a few things by default apparently, [here](github.com/ckiee/nixpkgs/blob/)

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.