11 Sep 2021 |
@aynish:sealight.xyz | hello fellow nix nerds, ive been using nixOS for a year or so now, and getting into flakes. switched over to hlissners dotfiles, but wanted to replicate my own config, so im in the process of switching to using devos, nice to meet yall ππ½ | 15:45:53 |
| @yusdacra:nixos.dev changed their profile picture. | 16:32:35 |
David Arnold (blaggacao) | Hi aynish! Welcome! Make sure to regard digga as your tool and devos as your template. | 22:31:29 |
13 Sep 2021 |
| Maksim joined the room. | 08:36:01 |
Maksim | Hi there :-) I'm really curious in exploring digga and devos but hence the amount of abstractions I don't know where to start. Currently I'm using nix to manage my hm config in a wsl context and share the config with a nixos installation on a server, but as it's really brittle (e.G. I have to symlink my home.nix each time I update the config) I'd like to create something more consistent. | 08:39:14 |
Maksim | what it is this flk vs the digga tool? | 08:39:40 |
@aynish:sealight.xyz | flk is just a wrapper around nixos-rebuild (iirc) and digga is a standard api for handling flakes. since you'll be combining new derivations (one you create) with ones you consume (that others created) digga makes it easy / standard to only add the former to your outputs, so you're not messing up downstream flakes | 10:53:11 |
David Arnold (blaggacao) | Please also note that flk has been superseded by divnix/bud . And alltogether recently fluidattacks/makes popped up the screen, which is fishing structurally in a similar pond ar bud (just not specifically made to interact with a system configuration). | 13:50:31 |
David Arnold (blaggacao) | * Please also note that `flk` has been superseded by `divnix/bud`. And alltogether recently `fluidattacks/makes` popped up the screen, which is fishing structurally in a similar pond as `bud`, just not specifically made to interact with a system configuration. | 13:51:09 |
David Arnold (blaggacao) | * Please also note that `flk` has been superseded by `divnix/bud`. And alltogether recently `fluidattacks/makes` popped up the screen, which is fishing structurally in a similar pond as `bud`, namely a task runner with a CLI store-front, just not specifically made to interact with a system configuration. | 13:51:48 |
15 Sep 2021 |
@yusdacra:nixos.dev | Is makes as modular as `bud`? What I love about `bud` is that you can create commands for it using anything you want and share it easily. Maybe `makes` could be used together with `bud`? | 06:50:10 |
David Arnold (blaggacao) | To me it looks like makes is a generalized version of bud . Makes is a devops task runner, bud is a devos task runner. | 13:03:37 |
David Arnold (blaggacao) | * To me it looks like `makes` is a generalized version of `bud`. Makes is a devops task runner, bud is a devos task runner. | 13:03:49 |
David Arnold (blaggacao) | Maybe it's ok if they remain siblings. π | 13:04:25 |
@gytis-ivaskevicius:matrix.org | I think we should build a single generalized approach which would be a "task runner" and could be used as alternative to bud and makes | 13:31:28 |
@gytis-ivaskevicius:matrix.org | π | 13:31:30 |
David Arnold (blaggacao) | Indeed! I would tend to say that would be makes , though. I'm just exploring it these days, but it seems relatively generalizable. For example, I was musing about a scheduler / orchestrator interface, so that "tasks" can ultimately include "production workloads" on one hand or "pipeline jobs" on the other, such as CI jobs, ML jobs or ETL jobs. | 13:35:05 |
| @infinidoge:matrix.org joined the room. | 15:47:10 |
@infinidoge:matrix.org | Hello! Have been trying to get into using DevOS for a little while now, however recently I've run into problems with things apparently not being found.
Currently, I'm having an issue where it seems like any command building something (bud build, bud vm, etc.) give an error saying that reboundBud was undefined. (Specifically, in /nix/store/xxzcdd9xcfi7sapi1hwjjx8mxb2b00x2-source/nixosModule.nix ) Being unable to build a vm for testing, or even an ISO for installing, has prevented me from moving forward. Is there any known way to address this as a problem? (For clarity, I am currently running on an Arch Linux machine with Nix installed.)
Aside from that, I'm also having issues where when starting nix develop , agenix and nvfetcher-bin were undefined. I worked around this by commenting them out from shell/devos.nix , however since I haven't needed to use them so far that is less pressing. (This problem occurs both on my Arch Linux machine and my NixOS machine.)
I've tried to dig around and find why these all aren't defined, but I have gotten nowhere in my search so far. I can provide any system information as needed.
| 15:52:34 |
@infinidoge:matrix.org | I think I might have actually fixed the problem, and man do I feel stupid. I changed the channel I used from nixos to latest , however in doing that I excluded the overlays containing the stuff that I need, which I think ended up causing those errors. | 17:43:14 |
Pacman99 | It still seems like there is a bug. You shouldn't have to use a specific channel with bud. Or maybe your nixos channel was just too far behind for bud. | 17:54:30 |
@infinidoge:matrix.org | Nah it was entirely my fault. I set nixos.hostDefaults.channelName = "latest" , and the latest input/channel in the flake didn't have the overlays | 17:59:16 |
@infinidoge:matrix.org | I changed that before I realized "I can just change nixos to unstable", but I forgot to change it back, which ended up breaking things since the overlays were missing | 17:59:48 |
@teutat3s:pub.solar | devshell deps are rebuilding after reboots for me, even without me touching the lock file - do you have an idea what could be the reason? Iβd like to have the build outputs cached, but it seems they are lost upon reboot. gc? π€¨ | 19:50:44 |
@teutat3s:pub.solar | I tried adding the βdelete-older-than 14d option to gc, will see if that helps | 19:52:30 |
16 Sep 2021 |
ultranix | any reason why nix build for a rust package in devos would produce anything? any way to get something more verbose? | 18:55:12 |
ultranix | i'm using nvfetcher | 18:55:16 |
ultranix | trying to use lib.fakeSha256 for CargoSha256 | 18:58:08 |
| @zrsk:matrix.org joined the room. | 21:30:43 |
17 Sep 2021 |
@timdeh:matrix.org | teutat3s: it looks like we are still using the use flake directive in .envrc. Are you using direnv to enter the shell? If so, one explanation could be that you don't have nix-direnv properly available and so it's falling back to the old use nix directive which does not add the shell as a gc root and so is frequently garbage collected | 00:38:04 |