| 25 Apr 2024 |
lillecarl | * I've got some questions for everyone:
- What's your biggest painpoints using NixOS &/ home-manager today?
- What package update solution are you using to update your own derivations?
Mine's still packaging things that doesn't quite fit the "norm". (https://github.com/dawsers/hyprscroller comes to mind right now).
| 12:11:01 |
Erin | I used the nixpkgs function to create Hyprland plugins | 12:11:21 |
Erin | https://github.com/NixOS/nixpkgs/blob/572af610f6151fd41c212f897c71f7056e3fb518/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix#L8 | 12:12:34 |
lillecarl | In reply to @erinvanderveen:matrix.org I used the nixpkgs function to create Hyprland plugins Thanks for the tip, I'll give it a shot. I've tried niri and really liked how to manage things with it, but the surrounding tooling isn't quite there yet 😄 | 12:12:37 |
Erin | I went exactly the same route niri -> hyprscroller | 12:13:14 |
lillecarl | In reply to @erinvanderveen:matrix.org I used the nixpkgs function to create Hyprland plugins * Thanks for the tip, I'll give it a shot. I've tried niri and really liked how to manage windows with it, but the surrounding tooling isn't quite there yet 😄 | 12:13:22 |
lillecarl | Erin: I must admit, since you talked about Silvan arguing against flakes I've noticed some warts here and there in the UX/DX too. My opinion is still "It gives more good than headache" 😁 | 12:33:09 |
lillecarl | Redacted or Malformed Event | 13:31:40 |
maedas | In reply to @lillecarl:matrix.org What's the purpose of the setattr and getattr for namespace? Looks a bit overcomplicated for my eyes writing it that adds the module to a namespace of your choice (replace namespace) , so you dont have to add it manually in every module. Looking into it we realised there might be more readable ways to set it, but for now it works.
The way we get the filename doesnt though. Ill get an update on the final result
| 14:08:35 |
lillecarl | Aah, so the intention is creation options that align with the file path? | 14:10:15 |
lillecarl | if you wanna use __curPos, stick this in the args attrs:
{ __curPos ? __curPos }
if you use the nil LSP, it doesn't know about __curPos so we kinda have to trick it 😄 | 14:14:47 |
Claes | In reply to @lillecarl:matrix.org
I've got some questions for everyone:
- What's your biggest painpoints using NixOS &/ home-manager today?
- What package update solution are you using to update your own derivations?
Mine's still packaging things that doesn't quite fit the "norm". (https://github.com/dawsers/hyprscroller comes to mind right now).
No pain point that comes to mind but I am not especially advanced in my Nix usage. I need to learn more about packaging of other software. I have done that only a handful of times. | 16:03:01 |