| 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 |
Chinchilla Washington |  Download image.png | 14:01:28 |
Chinchilla Washington | In reply to @raphi:tapesoftware.net 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. Ah ha, thank you! | 14:01:36 |
Chinchilla Washington | In reply to @cw:kernelpanic.cafe now that there's no more filenames to cycle through, it just pretends it's not there This is actually from when I trued to just drop it in the nix store | 14:02:20 |
Chinchilla Washington | fml | 14:02:23 |
Chinchilla Washington | but why on would it try to build the old versions that have nothing to do with my current source code? | 14:02:47 |
Chinchilla Washington | In reply to @raphi:tapesoftware.net 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. Updated and it still shows pre, hmm. That's for fighting another day though, I just need luks to auto-unlock before I leave town. My roomate can't be assed to type in a long unlock password every time I need to reboot, lol | 14:07:33 |
raphi | it will always show pre-git | 14:07:49 |