Stockholm NixOS meetup group | 51 Members | |
| Monthly meetups in Stockholm, Sweden around Nix releated topics(nixos.org) | 15 Servers |
| Sender | Message | Time |
|---|---|---|
| 25 Apr 2024 | ||
| * Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!
| 10:30:46 | |
| * Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!
| 10:31:27 | |
| * Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!
| 10:31:50 | |
| * Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!
| 10:32:09 | |
| It looks incomplete, no args decl and stuff. Post on gist, and open your Nix repo! | 11:23:28 | |
| Yeah as always it was a pleasure to meet, and thanks playgrounders for hosting. Definitely an uplift in atmosphere although the participation was a bit lower. https://github.com/lillecarl/nixos here's my Nix mess if anyone is curious! | 11:28:48 | |
In reply to @lillecarl:matrix.orgthanks, I was actually looking for it! | 11:47:10 | |
| LilleCarl (Salsa9): not sure what you mean, it's literally supposed to be a template base to add stuff like that | 11:50:57 | |
| I was looking on my phone, element cut out part of the text | 11:51:14 | |
| What's the purpose of the setattr and getattr for namespace? Looks a bit overcomplicated for my eyes | 11:54:36 | |
| I've got some questions for everyone:
Mine's still packaging things that doesn't quite fit the "norm". (https://github.com/dawsers/hyprscroller comes to mind right now). | 12:09:57 | |
| * I've got some questions for everyone:
Mine's still packaging things that doesn't quite fit the "norm". (https://github.com/dawsers/hyprscroller comes to mind right now). | 12:09:57 | |
| * I've got some questions for everyone:
Mine's still packaging things that doesn't quite fit the "norm". (https://github.com/dawsers/hyprscroller comes to mind right now). | 12:10:13 | |
| Oh nice! I packed that one recently too! | 12:10:58 | |
| * I've got some questions for everyone:
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 | |
| I used the nixpkgs function to create Hyprland plugins | 12:11:21 | |
| https://github.com/NixOS/nixpkgs/blob/572af610f6151fd41c212f897c71f7056e3fb518/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix#L8 | 12:12:34 | |
In reply to @erinvanderveen:matrix.orgThanks 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 | |
| I went exactly the same route niri -> hyprscroller | 12:13:14 | |
In reply to @erinvanderveen:matrix.org* 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 | |
| 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 | |
| Redacted or Malformed Event | 13:31:40 | |
In reply to @lillecarl:matrix.org 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 | |
| Aah, so the intention is creation options that align with the file path? | 14:10:15 | |
| 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 | |
In reply to @lillecarl:matrix.orgNo 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 | |
| Erin: Could you share your hyprscroller derivation? 😸 | 16:07:59 | |
| 16:10:13 | |
| dank je wel | 16:13:28 | |
| Hehe, I was doing the right thing. I'm ofc overdoing it a bit stupidly with this module: https://gist.github.com/Lillecarl/5ce2ce445dc67889f3eca9b225b99a6a The issue was i yanked and pasted the fetchfromgithub function, forgot to clear the sha256 so I was pulling hyprland source instead of hyprscroller | 16:38:05 | |