| 6 Nov 2022 |
David Arnold (blaggacao) | * Zhaofeng Li: I think there is an opportunity (soonish) to incorporate disko into your install.sh:
https://github.com/divnix/hive/blob/73b486d8d2b5545c6b0bb250324f060afeed6448/comb/lina2358/hardwareProfiles.nix#L4-L6
The crate and/or mount script can be currently run with:
nix run github:blaggacao/disko/modules --no-write-lock-file -- -f github:divnix/hive?ref=green/lina comb/lina2358/hardwareProfiles/lavinox/disko-config.nix -m [mount|create]
Just wanted to report on the current status, fysa. Upstream is working on the module branch and things should stabilize soon and look nicer 😃
| 08:55:58 |
David Arnold (blaggacao) | * Zhaofeng Li: I think there is an opportunity (soonish) to incorporate disko into your install.sh:
https://github.com/divnix/hive/blob/73b486d8d2b5545c6b0bb250324f060afeed6448/comb/lina2358/hardwareProfiles.nix#L4-L6
The create and/or mount script can be currently run with:
nix run github:blaggacao/disko/modules --no-write-lock-file -- -f github:divnix/hive?ref=green/lina comb/lina2358/hardwareProfiles/lavinox/disko-config.nix -m [mount|create]
Just wanted to report on the current status, fysa. Upstream is working on the module branch and things should stabilize soon and look nicer 😃
| 08:56:13 |
| mel (they/them) joined the room. | 17:29:01 |
| 7 Nov 2022 |
David Arnold (blaggacao) | Resume (from my adventure):
- ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
- Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies
nixos-generator CLI fwiw)
- Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
- Which prototypes
disko's new NixOS module and CLI (still very WIP)
| 02:02:53 |
David Arnold (blaggacao) | * Resume (from my adventure):
-
ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
-
Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies nixos-generator CLI fwiw)
-
Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
-
Which prototypes disko's new NixOS module and CLI (still very WIP)
-
Colmena & Nixos & Home Manager things are "harvested" for compatibility onto the top level flake -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/flake.nix#L80-L105
| 02:04:01 |
David Arnold (blaggacao) | * Resume (from my adventure):
- ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
- Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies
nixos-generator CLI fwiw)
- Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
- Which prototypes
disko's new NixOS module and CLI (still very WIP)
- Colmena & Nixos & Home Manager things are "harvested" for (tooling) compatibility onto the top level flake -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/flake.nix#L80-L105
| 02:04:18 |
David Arnold (blaggacao) | * Resume (from my adventure):
- ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
- Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies
nixos-generator CLI fwiw)
- Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
- Which prototypes
disko's new NixOS module and CLI (still very WIP)
- Colmena & Nixos & Home Manager things are "harvested" for (tooling) compatibility onto the top level flake -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/flake.nix#L80-L105
- Otherwise initially deployed with -> https://gist.github.com/zhaofengli/e986fa7688d6c16872b86c6ae6215c9b (until it booted into the graphical iface)
| 02:05:45 |
David Arnold (blaggacao) | * Resume (from my adventure):
- ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
- Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies
nixos-generator CLI fwiw)
- Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
- Which prototypes
disko's new NixOS module and CLI (still very WIP)
- Colmena & Nixos & Home Manager things are "harvested" for (tooling) compatibility onto the top level flake -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/flake.nix#L80-L105
- Otherwise initially deployed with -> https://gist.github.com/zhaofengli/e986fa7688d6c16872b86c6ae6215c9b (until it booted into the graphical iface on its own)
| 02:05:57 |
David Arnold (blaggacao) | * Resume (from my adventure):
- ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
- Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies
nixos-generator CLI fwiw)
- Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
- Which prototypes
disko's new NixOS module and CLI (still very WIP, both: upstream and adaption)
- Colmena & Nixos & Home Manager things are "harvested" for (tooling) compatibility onto the top level flake -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/flake.nix#L80-L105
- Otherwise initially deployed with -> https://gist.github.com/zhaofengli/e986fa7688d6c16872b86c6ae6215c9b (until it booted into the graphical iface on its own)
| 02:06:49 |
David Arnold (blaggacao) | * Resume (from my adventure):
- ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
- Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies
nixos-generator CLI fwiw)
- Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
- Which prototypes
disko's new NixOS module and CLI (still very WIP, both: upstream and adaption)
- Colmena & Nixos & Home Manager things are "harvested" for (tooling) compatibility onto the top level flake (whereby they are filtered for their "actual" system and all others are discarded) -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/flake.nix#L80-L105
- Otherwise initially deployed with -> https://gist.github.com/zhaofengli/e986fa7688d6c16872b86c6ae6215c9b (until it booted into the graphical iface on its own)
| 02:07:29 |
David Arnold (blaggacao) | * Resume (from my adventure):
- ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
- Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies
nixos-generator CLI fwiw)
- Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
- Which prototypes
disko's new NixOS module and CLI (still very WIP, both: upstream and adaption)
- Colmena & Nixos & Home Manager things are "harvested" for (tooling) compatibility onto the top level flake (whereby they are filtered for their "actual" system and all others are discarded) -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/flake.nix#L80-L105
- Otherwise initially deployed with -> https://gist.github.com/zhaofengli/e986fa7688d6c16872b86c6ae6215c9b (until it booted into the graphical iface on its own)
- https://crates.io/crates/writedisk is written in
rust and could be made cheaply a sub-command of colmena (to cover the complete deployment cycle ootb)
| 02:09:18 |
David Arnold (blaggacao) | * Resume (from my adventure):
- ColmenaConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/colmenaConfigurations.nix
- Imports NixosConfig -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/nixosConfigurations.nix (satifies
nixos-generator CLI fwiw)
- Imports HardwareProfile -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/comb/lina2358/hardwareProfiles.nix
- Which prototypes
disko's new NixOS module and CLI (still very WIP, both: upstream and adaption)
- Colmena & Nixos & Home Manager things are "harvested" for (tooling) compatibility onto the top level flake (whereby they are filtered for their "actual" system and all others are discarded) -> https://github.com/divnix/hive/blob/7b307ca811bd743c6cc435ca19c94e5ecfc98e91/flake.nix#L80-L105
- Otherwise initially deployed with -> https://gist.github.com/zhaofengli/e986fa7688d6c16872b86c6ae6215c9b (until it booted into the graphical iface on its own)
- https://crates.io/crates/writedisk is written in
rust and could be made cheaply a sub-command of colmena (to cover the complete deployment cycle ootb: incl. flashing the USB)
| 02:10:01 |
| 10 Nov 2022 |
mel (they/them) | Hi, I'm trying to convert a set of configs in a flake that all use lib.nixosSystem. I'd like to do them one by one, and keep outputs.nixosConfigurations as is for a bit.
Is it possible to use the result of nixosSystem with colmena? | 16:05:40 |
Zhaofeng Li | In reply to @plg:matrix.org Hi, I'm trying to convert a set of configs in a flake that all use lib.nixosSystem. I'd like to do them one by one, and keep outputs.nixosConfigurations as is for a bit.
Is it possible to use the result of nixosSystem with colmena? There's an adapter in https://github.com/zhaofengli/colmena/issues/60 | 20:02:21 |
mel (they/them) | Thanks, somehow missed that! | 20:07:31 |
| 12 Nov 2022 |
aanderse | am i missing some easy way to get output from colmena exec? might be nice if there were a --json flag that returns the output from each machine after being run... or some sort of way to get output easily | 18:33:14 |
Zhaofeng Li | Currently there's no clean way. You could use -v and strip out the prefixes but the output format isn't considered stable. I agree that a --json output (either streaming or one JSON at the end) would be a nice thing to have. | 21:46:16 |
| 16 Nov 2022 |
@yuka:yuka.dev | there were multiple efforts to support non-NixOS targets | 16:23:31 |
@yuka:yuka.dev | I would really support it if the actual deployment commands/logic for NixOS and non-NixOS was just part of a NixOS module system thing | 16:23:57 |
@yuka:yuka.dev | So that the cli is a dumb task runner | 16:24:04 |
@yuka:yuka.dev | basically a parallel version of nix run .#nixosConfigurations.xyz.config.system.build.deployScript | 16:24:27 |
@yuka:yuka.dev | And nix-darwin or nixos containers or completely custom targets can set this deployScript option in their nixos module system to override what happens on a deployment | 16:24:56 |
@yuka:yuka.dev | * basically a parallel version of nix run .#nixosConfigurations.xyz.config.system.build.deployScript | 16:25:07 |
| @omlet:matrix.org joined the room. | 20:34:25 |
| 17 Nov 2022 |
| shapr joined the room. | 22:14:10 |
| 20 Nov 2022 |
| Chinchilla Washington joined the room. | 04:41:30 |
Chinchilla Washington | Colmena is throwing this error message when I try to deploy a flake:
[ERROR] stderr) Failed assertions:
[ERROR] stderr) - The ‘fileSystems’ option does not specify your root file system.
[ERROR] stderr) - You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
But the root filesystem is specified. I tried setting it directly in the colmena block like git shows and it's still complaining
| 04:51:24 |
Chinchilla Washington | just switching my flake directly works fine | 04:52:29 |
Chinchilla Washington | Any ideas? | 04:52:32 |
Zhaofeng Li | What does the config look like? | 05:34:10 |