!UUqahLbShAYkkrXmKs:matrix.org

DevOS

34 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
12 Aug 2021
@kraftnix:matrix.org@kraftnix:matrix.orgif you look at the source for bud you can see what the command does, it honestly makes me life 10x easier rather than having to type out boilerplate all the time, it aims to just wrap nix and provide good defaults for the devos project. it's also good to learn what the commands actually do under the hood tho, so I can appreciate that.22:45:18
@ultranix:matrix.orgultranixalright i'll give it a try then22:53:29
@ultranix:matrix.orgultranixi just try not to bloat my configuration with thing's i dont use, so i think i removed it and a few other things like darwin22:53:30
@ultranix:matrix.orgultranixi have hardly understood what's going on with the base devos configuration, but its definitely better since the digga abstraction22:54:48
@timdeh:matrix.org@timdeh:matrix.orgYeah, I kinda took the risk of exposing my (lack of) skills when I first release DevOS. The hope was that the community would make it better, and it seems to have worked so far 🤞22:56:22
@timdeh:matrix.org@timdeh:matrix.org * Yeah, I kinda took the risk of exposing my (lack of) skills when I first released DevOS. The hope was that the community would make it better, and it seems to have worked so far 🤞22:56:29
@timdeh:matrix.org@timdeh:matrix.org * Yeah, I kinda took the risk of exposing my (lack of) skills when I first released DevOS 😅. The hope was that the community would make it better, and it seems to have worked so far 🤞22:56:36
@ultranix:matrix.orgultranixi think a lot of my problems have been unable to quickly adapt to all of the changes, for example flakes and reading logs and derivations are so different there as well. its hard to keep up often22:59:45
@ultranix:matrix.orgultranix all of the changes within nix community 22:59:59
@ultranix:matrix.orgultranixso yeah, couldnt even find a stack trace that would help me with this error. that i've had for more than a month23:00:33
@timdeh:matrix.org@timdeh:matrix.orgYeah the nix debugging story is probably the worst thing about the language atm23:01:23
@timdeh:matrix.org@timdeh:matrix.orgI was thinking it might be worth creating a sort of linter with rnix-parser that looks for common error patterns itself, instead of relying on the confusing stack trace abilities of the evaluator23:02:03
@d4hines:matrix.org@d4hines:matrix.org
In reply to @ultranix:matrix.org
i just try not to bloat my configuration with thing's i dont use, so i think i removed it and a few other things like darwin
This is why I'm starting from scratch with a home-manager config. The DevOS config has a lot of really cool ideas, but it's got too much going on for me as a beginnner.
23:02:05
@ultranix:matrix.orgultranixi think yeah you do need some experience with nix to use DevOS, cant just spin it up with a first time NixOS or whatever23:04:19
@ultranix:matrix.orgultranixbut for nix itself, it would help a lot to move fully to flakes, and get rid of the old interface too23:05:50
@ultranix:matrix.orgultranixor at least have it under legacy interface or something23:06:20
@timdeh:matrix.org@timdeh:matrix.orgindeed, DevOS was more of an attempt at reifying a best practice for a Nix repository. It's hard to grasp a best practice when you barely understand the rules of the game 😅23:06:26
@ultranix:matrix.orgultranixnix subcommand flake to just be nix23:06:33
@timdeh:matrix.org@timdeh:matrix.orgdevos was essentially my 3 attempt in 3 years to bring some sanity to the structure of my Nix config23:06:46
@timdeh:matrix.org@timdeh:matrix.org * devos was essentially my 3rd attempt in 3 years to bring some sanity to the structure of my Nix config23:06:53
@timdeh:matrix.org@timdeh:matrix.organd I'm already thinking about what 2.0 will look like :D23:07:28
@ultranix:matrix.orgultranixyeah me similarly, first attempt at using flakes was finally nixflk23:07:32
@d4hines:matrix.org@d4hines:matrix.org
In reply to @timdeh:matrix.org
indeed, DevOS was more of an attempt at reifying a best practice for a Nix repository. It's hard to grasp a best practice when you barely understand the rules of the game 😅
I'm not sure about this. create-react-app seems like a counter-example. So does cargo for rust.
23:08:42
@timdeh:matrix.org@timdeh:matrix.orgtrue, but with nix we don't really have the toolage to make it quite so automatic23:09:12
@timdeh:matrix.org@timdeh:matrix.org although I've been looking at https://github.com/jonringer/nix-template as a potential to bridge this gap 23:09:36
@ultranix:matrix.orgultranixflakes kind of skipped over the RFC process, pushed through without finishing it. so its in no man's land and i hear there's still several unsolved issues23:09:49
@timdeh:matrix.org@timdeh:matrix.orgyeah, there's a bunch of stuff people aren't happy about, but the ironic piece is that the format hasn't changed since their release. So in practice, they are quite stable 😄23:10:34
@timdeh:matrix.org@timdeh:matrix.org I think the only breaking change was when epoch was removed, and I think that happened before Eelco even merged it to nixpkgs 23:11:47
@d4hines:matrix.org@d4hines:matrix.org
In reply to @timdeh:matrix.org
although I've been looking at https://github.com/jonringer/nix-template as a potential to bridge this gap

This seems less than ideal, Imperative shell commands to manage huge boilier plate seems worse than just having less boiler plate/relying on defaults.

The best looking interface into Nix I've seen so far is DevShell. TOML file where you list the packages you need. Amazing! When I figure out how to do overlays consistently, it's going to be awesome. But I have to decide how to do them - Niv or nvfetcher or manually or something else I haven't heard of what?

23:13:55
@d4hines:matrix.org@d4hines:matrix.org
In reply to @timdeh:matrix.org
although I've been looking at https://github.com/jonringer/nix-template as a potential to bridge this gap
*

This seems less than ideal, Imperative shell commands to manage huge boilier plate seems worse than just having less boiler plate/relying on defaults.

The best looking interface into Nix I've seen so far is DevShell. TOML file where you list the packages you need. Amazing! When I figure out how to do overlays consistently, it's going to be awesome. But I have to decide how to do them - Niv or nvfetcher or manually or something else I haven't heard or what?

23:14:06

Show newer messages


Back to Room ListRoom Version: 6