| 29 Jan 2023 |
| Find me at aleksana:qaq.li joined the room. | 05:14:31 |
[0x4A6F] | In reply to @phaer:matrix.org Yes Do you have an example invocation that you might share? | 14:39:09 |
phaer | In reply to @0x4a6f:matrix.org Do you have an example invocation that you might share? Not really in a public repo, i am afraid. But https://gist.github.com/phaer/0168da5d7ceae254d0cdd63c78119fe8 should contain the relevant code and might help? Theres a flake defining my colmena nodes (and reading some options from a toml file for that) and a disk layout for a single encrypted zfs disk. There's also the shell script i use for nixos-remote. server type and secret handling might need adaption. | 14:58:36 |
phaer | Let me know if there are any questions about it :) | 14:59:30 |
| redhood joined the room. | 22:50:07 |
| 8 Feb 2023 |
| @zachel:fairydust.space joined the room. | 18:48:27 |
| 10 Feb 2023 |
| hexagony joined the room. | 02:05:08 |
| 12 Feb 2023 |
| emily joined the room. | 15:06:06 |
| thomaslepoix joined the room. | 21:34:44 |
| 13 Feb 2023 |
Chinchilla Washington | Why would my systems still be built as 22.11-pre when my nixpkgs is 22.11 release? | 13:44:22 |
Chinchilla Washington | In flake inputs:
nixpkgs = {
url = "github:NixOS/nixpkgs/release-22.11";
};
in colmena:
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
specialArgs = inputs;
};
cherry = {
imports = [
./hosts/cherry.nix
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
];
deployment.targetHost = "192.168.1.19";
};
| 13:45:27 |
Chinchilla Washington | another odd thing, it seems to build stale versions of whatever my source is. For example:
# Setup keyfile
boot.initrd.secrets = {
"/luks.bin" = "/luks.bin";
};
# Enable grub cryptodisk
boot.loader.grub.enableCryptodisk=true;
boot.initrd.luks.devices."luks-uuid-here".keyFile = "/luks.bin";
but it errors with:
[ERROR] stderr) updating GRUB 2 menu...
[ERROR] stderr) cp: cannot stat '/cryptokeyfile.bin': No such file or directory
[ERROR] stderr) failed to create initrd secrets: No such file or directory
| 13:46:56 |
Chinchilla Washington | cryptokeyfile.bin was the last filename. If I update my source code, the error will switch to luks.bin and fail. | 13:49:49 |
Chinchilla Washington |  Download image.png | 13:50:05 |
Chinchilla Washington |  Download image.png | 13:50:21 |
Chinchilla Washington |  Download image.png | 13:50:35 |
Chinchilla Washington | I'm going absolutely mental | 13:50:37 |
Chinchilla Washington | but if I just change the file to match... It goes to some older version. | 13:54:47 |
Chinchilla Washington |  Download image.png | 13:55:04 |
Chinchilla Washington |  Download image.png | 13:55:24 |
Chinchilla Washington | ^ without the underscore is 3-4 revisions ago during my troubleshooting. So it's not just a delay. | 13:56:27 |
Chinchilla Washington |  Download image.png | 13:57:15 |
Chinchilla Washington |  Download image.png | 13:57:27 |
Chinchilla Washington |  Download image.png | 13:59:07 |
Chinchilla Washington |  Download image.png | 14:00:28 |
Chinchilla Washington | Even further back | 14:00:32 |
Chinchilla Washington | and guess fucking what | 14:00:37 |
Chinchilla Washington |  Download image.png | 14:01:01 |
raphi | In reply to @cw:kernelpanic.cafe Why would my systems still be built as 22.11-pre when my nixpkgs is 22.11 release? that's fine, the "pre-git" suffix is just the default if nixpkgs can't figure out its own version also you should use the "nixos-22.11" branch instead of the "release-22.11" branch. the release-* branches are the active development branches, and are untested. the nixos-* branches require tests to pass. | 14:01:02 |
Chinchilla Washington | now that there's no more filenames to cycle through, it just pretends it's not there | 14:01:27 |