DevOS | 34 Members | |
| Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga | 10 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Aug 2021 | ||
| I just updated nix to master since I recently merged a version bump and it's working on my system. Even with nix-dram applied | 19:41:34 | |
| hmm | 19:41:49 | |
| i think i can build the system fine | 19:42:19 | |
| its just the devshell | 19:42:23 | |
In reply to @d4hines:matrix.orgI empathically understand the impetus. However, if you ask me, it might be easier the other way round.. 🙂 | 19:44:06 | |
In reply to @ultranix:matrix.org if you are using master, you should have some suites under
where the above pulls in a suite I have called | 19:44:36 | |
In reply to @yusdacra:nixos.devyeah, it's just used in the shell because of the follows bug. Hopefully they merge that PR soonish so we can remove the patches all together | 19:45:51 | |
In reply to @ultranix:matrix.orgyou might also have a complementary look at: https://github.com/divnix/digga/tree/main/examples -- they are very minimal. | 19:46:35 | |
| i was not aware digga had that section, nice | 19:48:06 | |
| thanks. some of the examples had removed home-manager.users.<user> from the users/<user>/default.nix and replaced it with just the username. so its confusing | 19:48:07 | |
In reply to @d4hines:matrix.orgflakes only have a weak schema. some attrs are better known than others. any attribute is fine. none has magic semantics beyond a bit of cli ux sugar | 19:48:25 | |
In reply to @ultranix:matrix.orgyeah first I was looking in digga/devos for an example like how I manage my own users, and found the default root/nixos users don't do it like I do | 19:48:52 | |
In reply to @blaggacao:matrix.orgyes but this is only true for the outputs schema. An unexpected attribute in the top-level will result in an evaluation error | 19:49:21 | |
In reply to @yusdacra:nixos.devIs that the follows patch? -- let me know.. | 19:49:40 | |
| i prefer managing users in their own files rather than within the flake itself, which seems to be the opposite of the examples now, however digga/devos doesn't care so :) each to their own | 19:49:48 | |
| I'm still hitting the same error. Any idea what i'm doing wrong? https://github.com/d4hines/beth/blob/master/flake.nix#L10-L17 | 19:50:07 | |
In reply to @kraftnix:matrix.orgso do you know what these lines are for then? https://github.com/divnix/devos/blob/main/flake.nix#L137-L140 | 19:50:09 | |
In reply to @blaggacao:matrix.orgYeah it should be the follows patch | 19:50:17 | |
In reply to @blaggacao:matrix.orgI believe it is, I just reviewed the PR and it now has conflicts. Ideally we need someone to rebase the PR and then pull the fresh patch. | 19:50:26 | |
In reply to @blaggacao:matrix.orgIs there a minimal example you can link me to? | 19:50:27 | |
In reply to @blaggacao:matrix.org* Is there a minimal example you can link me to? More minimal than devos 😅 | 19:50:40 | |
In reply to @blaggacao:matrix.org* I believe it is, I just reviewed the PR and it now has conflicts. Ideally we need someone to rebase the PR and then pull the fresh patch. (or better yet, merge it 😓) | 19:51:11 | |
In reply to @ultranix:matrix.orgi believe that is if you want to manage your users within flake.nix. i do not use this myself, someone else may be able to provide better insight, it might have something to do with portable home-manager as well | 19:51:14 | |
In reply to @timdeh:matrix.orgit depends, on recent versions you consume that module via overlays: https://github.com/divnix/devos/blob/5b89e53e7a39c603bed327023c953d0b30433ec2/flake.nix#L76 | 19:51:36 | |
In reply to @d4hines:matrix.orgMaybe this is what I'm looking for: https://github.com/divnix/digga/tree/main/examples/hmOnly | 19:51:51 | |
| oh wait, nevermind | 19:52:02 | |
i got the error from running nixos-rebuild boot | 19:52:15 | |
In reply to @d4hines:matrix.orgthis might be of your liking: https://github.com/divnix/digga/tree/main/examples/hmOnly | 19:52:17 | |
| 😅 | 19:52:20 | |
| David Arnold (blaggacao): how would I apply the overlay in the hmOnly example? | 19:53:49 | |