!UUqahLbShAYkkrXmKs:matrix.org

DevOS

32 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
1 Dec 2021
@Sweenu:matrix.orgBruno * I'm almost completely done, I just have one line provoking an infinite recursion error: services.resolved.enable = config.networking.networkmanager.dns == "systemd-resolved";
Any idea what could cause that?
10:41:42
@Sweenu:matrix.orgBrunoOh it's the opposite 😅 resolved has a ref to networkmanager10:46:29
@teutat3s:pub.solar@teutat3s:pub.solar

Does somebody have an idea what's going on here:

❯ sudo nixos-rebuild build --flake ".#mymachine" --show-trace
warning: Git tree '/home/teutat3s/CodeRoom/git.b12f.io/pub-solar/os' is dirty
building the system configuration...
warning: Git tree '/home/teutat3s/CodeRoom/git.b12f.io/pub-solar/os' is dirty
error: getting status of '/nix/store/qcvnd2dsa5a3h4gq8x5x7hds6z85i4dw-source': No such file or directory

       … while evaluating anonymous lambda

       at «string»:10:13:

            9|     builtins.mapAttrs
           10|       (key: node:
             |             ^
           11|         let

       … from call site

       … while evaluating anonymous lambda

       at «string»:23:25:

           22|           inputs = builtins.mapAttrs
           23|             (inputName: inputSpec: allNodes.${resolveInput inputSpec})
             |                         ^
           24|             (node.inputs or {});

       … from call site

       … while evaluating the attribute 'lib.mkFlake'

       at /nix/store/d3vlpgh54ackhc03fdcn9pqh5q3cgkcp-source/flake.nix:31:7:

           30|
           31|       lib = flake-utils.lib // {
             |       ^
           32|         inherit mkFlake exportModules exportOverlays exportPackages systemFlake modulesFromList;

       … while evaluating anonymous lambda

       at /nix/store/51mynq216xnq2xi8nkfgxfvrzngny12z-source/src/mkFlake/fup-adapter.nix:4:1:

            3|
            4| {
             | ^
            5|   # evaluated digga configuration

       … from call site

       at /nix/store/51mynq216xnq2xi8nkfgxfvrzngny12z-source/src/mkFlake/default.nix:21:11:

           20|
           21|   flake = fupAdapter' {
             |           ^
           22|     inherit (evaled) config;

       … while evaluating the attribute 'flake'

       at /nix/store/51mynq216xnq2xi8nkfgxfvrzngny12z-source/src/mkFlake/default.nix:21:3:

           20|
           21|   flake = fupAdapter' {
             |   ^
           22|     inherit (evaled) config;

       … while evaluating '__functor'

       at /nix/store/51mynq216xnq2xi8nkfgxfvrzngny12z-source/flake.nix:79:26:

           78|         {
           79|           __functor = _: args: (mkFlake' args).flake;
             |                          ^
           80|           options = args: (mkFlake' args).options;

       … from call site

       at /nix/store/hjla3dlwwq0xwvbgi1fq4jqvjjn9ljns-source/flake.nix:61:5:

           60|     } @ inputs:
           61|     digga.lib.mkFlake
             |     ^
           62|       {

       … while evaluating 'outputs'

       at /nix/store/hjla3dlwwq0xwvbgi1fq4jqvjjn9ljns-source/flake.nix:48:5:

           47|   outputs =
           48|     { self
             |     ^
           49|     , digga

       … from call site

       at «string»:45:21:

           44|
           45|           outputs = flake.outputs (inputs // { self = result; });
             |                     ^
           46|

       … while evaluating anonymous lambda

       at «string»:10:13:

            9|     builtins.mapAttrs
           10|       (key: node:
             |             ^
           11|         let

       … from call site

       … while evaluating anonymous lambda

       at «string»:2:23:

            1|
            2| lockFileStr: rootSrc: rootSubdir:
             |                       ^
            3|

       … from call site
11:16:35
@teutat3s:pub.solar@teutat3s:pub.solar Maybe there's a way to force-recreate that -source? nix develop shows the same error 11:17:27
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.org did you git add everything? 11:37:48
@teutat3s:pub.solar@teutat3s:pub.solar Gytis Ivaskevicius: Yeah 11:40:53
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.org whats /nix/store/qcvnd2dsa5a3h4gq8x5x7hds6z85i4dw-source supposed to be? 11:42:45
@b12f:pub.solarb12fisn't it the source code for the nixos config? afaik nix copies the current repo to the store12:24:30
@teutat3s:pub.solar@teutat3s:pub.solaryeah I think so too12:47:58
@blaggacao:matrix.orgDavid 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@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
@blaggacao:matrix.orgDavid Arnold (blaggacao)This looks rather random, though.13:28:35
@blaggacao:matrix.orgDavid Arnold (blaggacao)I've also had corrupted sqlight indices once in a while.13:29:06
@teutat3s:pub.solar@teutat3s:pub.solar ❯ sudo nix-store --verify --check-contents --repair this might work 14:10:00
@teutat3s:pub.solar@teutat3s:pub.solar

hehe, there you go

path '/nix/store/qcvnd2dsa5a3h4gq8x5x7hds6z85i4dw-source' disappeared, removing from database...
14:12:09
@teutat3s:pub.solar@teutat3s:pub.solarmagic disappearing happened and fixed 👍️14:12:48
@blaggacao:matrix.orgDavid 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
@blaggacao:matrix.orgDavid Arnold (blaggacao)I now only need a strawman to submit the patch.23:12:45
@ultranix:matrix.org@ultranix:matrix.organyone know why I cant login with any passwords after restart?23:34:49
@ultranix:matrix.org@ultranix:matrix.orgseems to break something after i updated to nixos-unstable 22.05 and switch generations23:35:44
@ultranix:matrix.org@ultranix:matrix.orgbut the agenix encrypted password works until i restart23:35:59
@ultranix:matrix.org@ultranix:matrix.orgi cant figure out the cause23:36:03
@ultranix:matrix.org@ultranix:matrix.orgto login again i have to switch back to a previous generation of 21.11 or whatever the old nixos-unstable was23:37:00
@ultranix:matrix.org@ultranix:matrix.orgusing passwords as outlined in the secrets.md doc23:38:12
@pachumicchu:myrdd.infoPacman99Did you update agenix? I know there were some recent changes that may have broken things23:38:30
@ultranix:matrix.org@ultranix:matrix.orgi would have updated everything23:38:43
@ultranix:matrix.org@ultranix:matrix.orgyeah23:38:45
@pachumicchu:myrdd.infoPacman99 So one thing, the location of secrets was switched to /run/agenix instead of /run/secrets 23:39:26
@ultranix:matrix.org@ultranix:matrix.orgi saw that, yeah23:39:36
@ultranix:matrix.org@ultranix:matrix.orgbut after apply to configuration, why would that even apply? what does it care for startup where the passwords are23:39:55

Show newer messages


Back to Room ListRoom Version: 6