| 8 Aug 2024 |
dazai | in the flake tutorial it has this
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
};
meaning i have to change my flake depending what machine i'm deploying on, does that make sense?
| 19:29:24 |
dantefromhell | In reply to @hanleym:matrix.org I haven't seen anything like --magic-rollback in deploy-rs, but I also don't think I've needed it. IIRC the boot counting feature was recently comitted to nixpkgs. I havent checked it in detail, but my understanding was that it allows you doing automated rollbacks (at least) if boot fail.
Not sure if that's what you had in mind? | 19:50:45 |
dantefromhell | In reply to @dazai:matrix.org
in the flake tutorial it has this
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
};
meaning i have to change my flake depending what machine i'm deploying on, does that make sense?
interestimg issue 🤔 I might have a similar one when I get my rpis...
Essentially you would need to figure out the architecture of the system colmena/nix is running on and use that in the import statement. | 19:56:29 |
dantefromhell | * interestimg issue 🤔
I might have a similar one when I get my rpis...
Essentially you would need to figure out the architecture of the system colmena/nix is running on and use that in the import statement.
me trying to rephrase the problem.for clarity... | 19:57:02 |
hanleym | builtins.currentSystem? | 19:58:03 |
dazai | hehe flakes don't have that | 19:58:25 |
dazai | https://github.com/NixOS/nix/issues/3843 | 19:58:37 |
dazai | thats why flake-utils exists, usually you just define your config inside of an "eachSystem" function and then it will define that config for each system, for example outputs.colmena.systems.x86_64.someSystem then if you tried to run colmena apply --on someSystem on an aarch64 it would complain about someSystem not being defined for the current architecture | 20:01:53 |
dazai | but it doesn't seem like colmena is set up for that | 20:02:07 |
| 9 Aug 2024 |
| @julienmalka:matrix.org left the room. | 10:47:30 |
| 13 Aug 2024 |
| Niklauz joined the room. | 21:55:04 |
| 15 Aug 2024 |
ser(ial) | how can i use imports = [ in host definition? | 02:41:06 |
ser(ial) | error says: error: infinite recursion encountered | 02:41:42 |
hanleym | I'm fairly sure I do this... Do you have a example you can share? | 14:09:56 |
hanleym | Is it possible the thing you are importing is indeed causing infinite recursion? | 14:10:16 |
| 16 Aug 2024 |
ser(ial) | i'm trying to import nix-bitcoin | 03:10:21 |
ser(ial) | | 03:18:08 |
ser(ial) | "${nix-bitcoin}/modules/modules.nix"
];```
| 03:18:16 |
ser(ial) | if it's wrong way in colmena, what is the correct one to manage nix-bitcoin with colmena? | 03:19:38 |
| 17 Aug 2024 |
| unwary joined the room. | 01:34:34 |
| tollb1 joined the room. | 13:22:38 |
| Unit 1721344 [polygon] (it/its, es/ihr) changed their profile picture. | 20:29:36 |
| 19 Aug 2024 |
| amidamaru changed their display name from turn-the-light-on to amidamaru. | 03:10:40 |
| 24 Aug 2024 |
| lychee joined the room. | 04:25:45 |
| 25 Aug 2024 |
| @moira:raccoon.college changed their profile picture. | 17:18:11 |
| 28 Aug 2024 |
| cafkafk joined the room. | 16:17:02 |
cafkafk | In reply to @zhaofeng:zhaofeng.li Not right now, but I’m considering adding others to help If I start reviewing stuff, will things get merged? I see some things I really want in the project, and this is not my first time maintaining a rust project (or a deployment tool, I'm currently a maintainer of morph as well). | 16:19:16 |
| 29 Aug 2024 |
Zhaofeng Li | In reply to @cafkafk:gitter.im If I start reviewing stuff, will things get merged? I see some things I really want in the project, and this is not my first time maintaining a rust project (or a deployment tool, I'm currently a maintainer of morph as well). Planning to do a PR sweep, what are you looking to be merged? | 03:37:19 |
cafkafk | I mean #222 seems very obvious (and the comment about flakelock bump), think it's also because I've grown too fond of morph health checks and upcoming pre checks, and I'd probably consider looking into adding those, also even #146 which may just look aesthetic but would be cool to have | 03:48:07 |
cafkafk | Also just being sure there's general maintenance on it, versions get bumped, dependencies don't rot, mostly because it would make it more viable for potential dayjob usage | 03:49:56 |