!UUqahLbShAYkkrXmKs:matrix.org

DevOS

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

Load older messages


SenderMessageTime
19 Oct 2021
@mars:jupiterbroadcasting.commars
In reply to @ultranix:matrix.org
how is deploy-rs set up to read home-manager.shared-modules

deploy-rs doesn't have to do anything; it's just deploying a NixOS host flake

digga uses fup's hostDefaults.modules to add home-manager to all the host flakes

16:54:23
@mars:jupiterbroadcasting.commars the part where it passes the modules arg to home-manager is in fup-adapter.nix 16:56:44
@mars:jupiterbroadcasting.commarsdid i miss anything? 17:00:11
@mars:jupiterbroadcasting.commars

what does setting

nixConfig.extra-experimental-features = "nix-command flakes ca-references";

at the top of flake.nix actually achieve? won't Nix not actually read the flake anyway, it those features are not enabled?

17:24:24
@ultranix:matrix.orgultranix adds hem to /etc/nix/nix.conf 17:28:20
@ultranix:matrix.orgultranix * adds them to /etc/nix/nix.conf 17:28:26
@ultranix:matrix.orgultranixflakes wont be enabled otherwise17:28:42
@mars:jupiterbroadcasting.commars I guess I'm just wondering why the top-level thing is being used instead of having that live down inside a NixOS module somewhere 17:30:40
@mars:jupiterbroadcasting.commarsif it's just a style thing, that's cool I'm just trying to learn from the template17:35:33
@ultranix:matrix.orgultranixi really liked nixus because it was 100% nix17:37:33
@mars:jupiterbroadcasting.commarsok, looks like most of the interesting stuff in digga might be in its importers18:37:42
@mars:jupiterbroadcasting.commarsI'm a little fuzzy on the distinction between internal, external, and in-house overlays as mentioned in the source comment next to importOverlays18:38:28
@mars:jupiterbroadcasting.commarslooks like there's something similar going on for hosts18:43:03
@mars:jupiterbroadcasting.commarsfeels weird that we're using import machinery in flake.nix right next to the thing fup gives us to avoid importing modules ourselves18:43:48
@mars:jupiterbroadcasting.commars
In reply to @mars:jupiterbroadcasting.com
ok, looks like most of the interesting stuff in digga might be in its importers
which, slightly surprisingly, are also exporters! hm
22:28:12
@mars:jupiterbroadcasting.commars

trying to get a feel for why devos is so eager to export

I partially get it and I partially don't

like how come devos users end up exporting an output lib?

is that just for historical reasons, because folks may be using the devos repo on github as a library in their flakes rather than as a template?

22:54:39
@mars:jupiterbroadcasting.commarsor is it just an example and it happens to give you devos' lib like just another example of the many kinds of outputs you might want your flake to have, and a lib for other flakes to use is one of them? 23:26:47
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @mars:jupiterbroadcasting.com
what's the point of the conceptual distinction between suites and profiles? don't profiles that import other profiles essentially retain all the same properties as other profiles?
Suites are host classes. It's probably most useful if you're managing a Univerity with DevOS. But behold, you can use a few suites for yourself, too, to get in the mood. Roughly, that's it.
23:53:54
@tomberek:matrix.orgtomberekSo it is an organizational distinction? No difference in the invariants? 23:55:04
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @mars:jupiterbroadcasting.com

what does setting

nixConfig.extra-experimental-features = "nix-command flakes ca-references";

at the top of flake.nix actually achieve? won't Nix not actually read the flake anyway, it those features are not enabled?

Obsolete declarativeness. 😆 You can call it a fetish.
23:55:18
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @ultranix:matrix.org
i really liked nixus because it was 100% nix
Deploy-rs has this long running watcher process on the target. Maybe nixus was nix + bash though?
23:56:51
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @mars:jupiterbroadcasting.com
I'm a little fuzzy on the distinction between internal, external, and in-house overlays as mentioned in the source comment next to importOverlays
internal overlays don't get exposed in outputs.overlays. a way to present a nice & tidy frontyard to your neoghbours...
23:58:11
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @mars:jupiterbroadcasting.com
feels weird that we're using import machinery in flake.nix right next to the thing fup gives us to avoid importing modules ourselves
Most all fup importers come out of our feathers. At some points, ecplicit importing might be a tid more declarative / explicit, without being verbose (hopefully)
23:59:29
20 Oct 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @mars:jupiterbroadcasting.com

trying to get a feel for why devos is so eager to export

I partially get it and I partially don't

like how come devos users end up exporting an output lib?

is that just for historical reasons, because folks may be using the devos repo on github as a library in their flakes rather than as a template?

Part of DevOS foundations is the sharing story, ehich is still underexploited. This is why exports are view through the glasses of your potential downstream re-users.
00:00:45
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @tomberek:matrix.org
So it is an organizational distinction? No difference in the invariants?
Not primarily, suites are just a good way to aggregate profiles flatly , eg. teacher / student. But the same can be done with profiles themselves. A flat profile space + one level of aggregation (that NOT also holds config) might help keep things a little bit tidier.
00:03:14
@mars:jupiterbroadcasting.commars
In reply to @blaggacao:matrix.org
internal overlays don't get exposed in outputs.overlays. a way to present a nice & tidy frontyard to your neoghbours...

oh!

non-exported might be a clearer name, if a clunkier one. hidden also makes sense to me in the same sense as hidden files on Unix: kept slightly out of your way for tidiness sake. but non-exported is probably still clearer

but I definitely see why one would not want to export every overlay you use in a channel

00:03:23
@mars:jupiterbroadcasting.commars
In reply to @blaggacao:matrix.org
Most all fup importers come out of our feathers. At some points, ecplicit importing might be a tid more declarative / explicit, without being verbose (hopefully)
to me, the desire to export a module or overlay isn't something that can be inferred just from the fact that it's declared in my repo rather than in an input source I do like that there's a convenient way to export all of the modules or whatever from a directory I think I need to use it for a while to develop a real opinion
00:23:55
@mars:jupiterbroadcasting.commars* to me, the desire to export a module or overlay isn't something that can be inferred just from the fact that it's declared in my repo rather than in an input source. I do like that there's a convenient way to export all of the modules or whatever from a directory. I think I need to use it for a while to develop a real opinion00:24:24
@blaggacao:matrix.orgDavid Arnold (blaggacao)Yeah, this is very arguable. The way everything is exported, though is very granular. But maybe we can come up with a better overall sharing model.00:26:30
@blaggacao:matrix.orgDavid Arnold (blaggacao) Granularity gives power to the downstream user and lift's requirements to "curate" upstream. It's one particular generational contract. 00:27:26

Show newer messages


Back to Room ListRoom Version: 6