14 Aug 2021 |
@timdeh:matrix.org | I mean, you obviously have the computation on the nickel side to do whatever you like to generate those static values as well. If someone were to reimplement the nix module system in nickel, it would be a lot more ergonomic to generate an entire config, and then simply import the final result from the json | 03:07:55 |
@timdeh:matrix.org | And the nix module system could probably do with some strict contracts anyway. Could help improve the design. We certainly would have to maintain the bolted on type system there | 03:08:37 |
@timdeh:matrix.org | * And the nix module system could probably do with some strict contracts anyway. Could help improve the design. We certainly wouldn't have to maintain the bolted on type system there | 03:08:51 |
@gtrunsec:matrix.org | kraftnix: this PR for disable the allProfilesTest https://github.com/GTrunSec/digga/commit/ed16f26086809e7cc6019661ff702119f5135a01 | 07:33:19 |
@gtrunsec:matrix.org | * kraftnix: this rev for disable the allProfilesTest https://github.com/GTrunSec/digga/commit/ed16f26086809e7cc6019661ff702119f5135a01 | 07:33:39 |
@gtrunsec:matrix.org | * kraftnix: this rev for disable the allProfilesTest https://github.com/GTrunSec/digga/commit/2a14c3ed08401884b795bb9f46f365e2bd7eb988 | 07:39:14 |
@gtrunsec:matrix.org | * kraftnix: this rev for disable the allProfilesTest,or filterHost by ["host-1"host-2"] which one is better? https://github.com/GTrunSec/digga/commit/2a14c3ed08401884b795bb9f46f365e2bd7eb988 | 08:33:42 |
David Arnold (blaggacao) | A friend pointed me to https://github.com/nix-community/disko | 13:27:32 |
David Arnold (blaggacao) | (a declarative wrapper around parted/mkfs) | 13:27:51 |
David Arnold (blaggacao) | would be nice to explore how that could be connected with https://github.com/serokell/deploy-rs/issues/123 | 13:29:08 |
David Arnold (blaggacao) | (a --part-script flag for deploy-rs ) | 13:30:09 |
d4hines | I wrote the following flake to run a simple JS script: https://github.com/d4hines/beth/blob/4f3bbdd8d627061b8b9ddd8e8593b8512c8fa7bd/scripts/complice/flake.nix
Is there a shebang I can add to the file ./complice.js such that I can invoke it directly from my normal home environment? There are guides for using nix-shell commands but none for nix develop that I can find.
| 17:59:23 |
@kraftnix:matrix.org | In reply to @blaggacao:matrix.org A friend pointed me to https://github.com/nix-community/disko i essentially have scripts for this for zfs/btrfs (which aren't currently supported 🤔, so may be worth contributing). one problem i see for install automation (unless your deploy-rs PR handles this for install) is if you are using luks and/or zfs you need some hashes for your new host (hostId for zfs, uuid for luks devices), i tend to just let this be auto-generated by nixos-generate-config but it's been a barrier for me in terms of further automation. | 21:18:03 |
15 Aug 2021 |
| yusdacra changed their profile picture. | 03:21:20 |
@gtrunsec:matrix.org | kraftnix: how about https://github.com/GTrunSec/digga/commit/11108bebc9422f4fae342c638b111719fa2e806a | 04:10:15 |
@kraftnix:matrix.org | gtrunsec: perfect 👌, good global disable + selective host filter | 15:10:22 |
ultranix | kraftnix: i figured out something strange with the home-manager emacs stuff, i think its a bug in rakeLeaves | 15:12:24 |
ultranix | as long as the directory users/profiles/emacs/ isnt referred to in the home suites, you wont get the error
error: The option `home-manager.users.tgunnoe.inputs' does not exist. Definition values:
- In `/nix/store/q36vh61yrcnnw2d49hi6357d03i02r3a-source/users/tgunnoe': { }
| 15:14:04 |
ultranix | so just renaming the directory and referring to new directory in the suites works | 15:14:37 |
ultranix | and i looked for conflicts around the rest of my repo, but there are no other emacs objects | 15:14:59 |
ultranix | so 😕 | 15:15:15 |
@kraftnix:matrix.org | ultranix: hmm that is interesting, I just played around a bit more with your config and I can also make the above error disappear just by changing emacs -> profiles.emacs in your user suites (without renaming any files) | 15:25:48 |
ultranix | well, there's another directory with emacs in profiles/emacs/ it doesnt have much | 15:27:56 |
ultranix | but in any case i removed that | 15:28:01 |
ultranix | so does the NUR work with DevOS? | 15:40:10 |
@kraftnix:matrix.org | yes, i'm currently using it with firefox extensions at least | 15:40:34 |
ultranix | hmm, can you show me how you use it? | 15:42:20 |
ultranix | for example, i use to do it like this https://github.com/tgunnoe/nix-machines/blob/tgunnoe/users/tgunnoe/default.nix#L38 | 15:48:42 |
@kraftnix:matrix.org | I don't use any nur modules, only packages so it's much simpler, I noticed you are using an rycee module, I am trying to figure out how to import that now | 15:48:43 |
ultranix | on an older version of devos | 15:49:06 |