| 1 Dec 2021 |
@teutat3s:pub.solar | Gytis Ivaskevicius: Yeah | 11:40:53 |
@gytis-ivaskevicius:matrix.org | whats /nix/store/qcvnd2dsa5a3h4gq8x5x7hds6z85i4dw-source supposed to be? | 11:42:45 |
b12f | isn't it the source code for the nixos config? afaik nix copies the current repo to the store | 12:24:30 |
@teutat3s:pub.solar | yeah I think so too | 12:47:58 |
David Arnold (blaggacao) | It looks like it's fup's source. You'd have to fly trhough some nix commands, potentially nix store to figure out how to "heal" that broken state (it's likely broken, since I can't remember that we use that builtin which supposes a pre-existing store path existed). | 13:25:30 |
@teutat3s:pub.solar | David Arnold (blaggacao): maybe an important detail: I got to that state by following the commits from the recent digga cleanup PR https://github.com/divnix/digga/pull/115 | 13:27:49 |
David Arnold (blaggacao) | This looks rather random, though. | 13:28:35 |
David Arnold (blaggacao) | I've also had corrupted sqlight indices once in a while. | 13:29:06 |
@teutat3s:pub.solar | ❯ sudo nix-store --verify --check-contents --repair this might work | 14:10:00 |
@teutat3s:pub.solar | hehe, there you go
path '/nix/store/qcvnd2dsa5a3h4gq8x5x7hds6z85i4dw-source' disappeared, removing from database...
| 14:12:09 |
@teutat3s:pub.solar | magic disappearing happened and fixed 👍️ | 14:12:48 |
David Arnold (blaggacao) | So I guess, I fixed the boundary issues with subflake referencing the top level flake that made us revert path:../../ in the examples recently. | 23:12:34 |
David Arnold (blaggacao) | I now only need a strawman to submit the patch. | 23:12:45 |
ultranix | anyone know why I cant login with any passwords after restart? | 23:34:49 |
ultranix | seems to break something after i updated to nixos-unstable 22.05 and switch generations | 23:35:44 |
ultranix | but the agenix encrypted password works until i restart | 23:35:59 |
ultranix | i cant figure out the cause | 23:36:03 |
ultranix | to login again i have to switch back to a previous generation of 21.11 or whatever the old nixos-unstable was | 23:37:00 |
ultranix | using passwords as outlined in the secrets.md doc | 23:38:12 |
Pacman99 | Did you update agenix? I know there were some recent changes that may have broken things | 23:38:30 |
ultranix | i would have updated everything | 23:38:43 |
ultranix | yeah | 23:38:45 |
Pacman99 | So one thing, the location of secrets was switched to /run/agenix instead of /run/secrets | 23:39:26 |
ultranix | i saw that, yeah | 23:39:36 |
ultranix | but after apply to configuration, why would that even apply? what does it care for startup where the passwords are | 23:39:55 |
ultranix | maybe i dont understand agenix | 23:40:02 |
Pacman99 | Well if you set something like users.users.ultranix.passwordFile = "/run/secrets/password" that has to be updated | 23:41:14 |
ultranix | yeah i have exactly that | 23:43:36 |
ultranix | do you understand how that works? I didn't think passwordFile reads it outside of doing a system rebuild | 23:44:09 |
Pacman99 | I think /etc/shadow gets updated on activation, and the current generations activation script gets run on startup | 23:45:26 |