!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

353 Members
111 Servers

Load older messages


SenderMessageTime
30 Jun 2022
@fufexan:matrix.orgfufexanI can also use your repo in my dotfiles to configure the board and then deploy it?08:22:46
@fufexan:matrix.orgfufexan * can I also use your repo in my dotfiles to configure the board and then deploy it?08:22:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howNot sure what you mean by that 08:23:04
@fufexan:matrix.orgfufexanuh, use whatever nixpkgs + overlays you have for the board08:23:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIt's better just to use the flake as is, it's not very re-usable if you want to import it into your own flake 08:23:28
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how I could make functions like mkVisionFive ./configuration.nix which would be very re-usable 08:23:59
@fufexan:matrix.orgfufexanthat would be nice08:24:24
@dramforever:matrix.orgdramforever there could be a visionfive.nix module that adds things like config.system.build.flashBootloader 08:24:44
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howWe'll start to compete with yocto big time if someone made libraries of functions to make boards work like that :P08:24:44
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @dramforever:matrix.org
there could be a visionfive.nix module that adds things like config.system.build.flashBootloader
And that could be added to the linux_visionfive pr right?
08:25:34
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI suppose I'll work on that, and add it to nixpkgs when done 08:25:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howbut that requires merging https://github.com/NixOS/nixpkgs/pull/16882608:26:01
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI would really rather see it merged now, since it works so well 08:26:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI could make the argument that it should be merged now, so that work like this can be done on top of this PR, but what do you think?08:26:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf we don't merge it, it just gets stale, and work cannot be done. The PR works fine.08:27:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf it were merged now, I'd work on adding wifi, and then the flashBootloader script, in my own PR.08:27:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIt is a real question whether stuff like this is best placed in nixpkgs itself, or in a flake these days though.08:29:36
@qyliss:fairydust.spaceAlyssa RossI think at least some of it belongs in nixos-hardware08:30:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how It means that the visionfive would be unique in having that flashBootloader script, which handles a lot for the user 08:30:40
@dramforever:matrix.orgdramforeverI think it brings in a bit too much random stuff. There's a master version of OpenSBI, a fork of U-Boot by NickCao, StarFive's entire fork of Linux08:31:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howthat'll settle though, so it won't be a problem08:31:26
@dramforever:matrix.orgdramforeverI think it's best to just start working on stuff in a flake08:31:52
@fufexan:matrix.orgfufexanthe kernel is fine in nixpkgs imo, as that's where people expect to find kernels08:32:37
@fufexan:matrix.orgfufexanbut the rest could be developed in a flake08:32:44
@fufexan:matrix.orgfufexanit's much easier to move fast in a flake than in nixpkgs08:32:55
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howvendor kernels being in nixpkgs does sound weird though if you think about it08:33:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.hownixos-hardware wants to be a collection of nix code that you import to circumvent hardware quirks08:33:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howrequiring a vendor kernel (custom kernel supplied by weirdos that continue to make the ecosystem more broken) is a hardware quirk08:33:47
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howso it would make sense to start polluting nixos-hardware, rather than nixpkgs, with that stuff 08:34:25
@dramforever:matrix.orgdramforeverI'm not sure how StarFive feels about upstreaming random stuff. They already upstreamed their GPIO/clock/reset drivers to mainline, but it seems that they updated it in their fork and added more stuff08:34:31

Show newer messages


Back to Room ListRoom Version: 6