| 16 Feb 2024 |
raitobezarius | you are not using those channels link anymore, are you? | 14:02:04 |
hexa | nope | 14:02:10 |
hexa | nuking | 14:02:12 |
raitobezarius | not convinced it should do anything though | 14:02:16 |
hexa | it doesn't, just good to keep things clean | 14:02:38 |
raitobezarius | ok | 14:03:54 |
raitobezarius | at this point, what I'd do is the following hexa | 14:04:00 |
raitobezarius | systemctl stop nix-daemon | 14:04:03 |
raitobezarius | systemctl mask nix-daemon | 14:04:05 |
hexa | so single user nix? | 14:04:14 |
raitobezarius | run your colmena in single user mode | 14:04:15 |
raitobezarius | In reply to @hexa:lossy.network so single user nix? yep | 14:04:21 |
hexa | https://nixos.org/manual/nix/stable/command-ref/env-common#env-NIX_REMOTE | 14:04:42 |
hexa | anyway, I think this is the difference between eval as root vs my user | 14:05:44 |
ajs124 | have you tried another non-root user? | 14:06:07 |
hexa | not yet | 14:06:22 |
hexa | user nobody can eval it | 14:09:42 |
raitobezarius | In reply to @hexa:lossy.network anyway, I think this is the difference between eval as root vs my user did it play a role? | 14:10:58 |
hexa | no | 14:12:14 |
hexa | NIX_REMOTE=daemon and NIX_REMOTE=/nix/store both work as root | 14:12:34 |
hexa | this is such great fun | 14:15:57 |
hexa | alright | 14:17:14 |
hexa | .config/nixpkgs/config.nix | 14:17:22 |
hexa | and allowAliases = false | 14:17:31 |
hexa | what vies | 14:17:39 |
hexa | * what gives | 14:17:41 |
hexa | anyway I think the error we were seeing was a red herring | 14:19:08 |
raitobezarius | ah fuck | 14:19:47 |
hexa | error:
… while evaluating attribute 'sso2.darmstadt.ccc.de'
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/lib/attrsets.nix:560:14:
559| value:
560| { inherit name value; };
| ^
561|
… while calling anonymous lambda
at /run/user/1000/colmena-assets-le334v/eval.nix:188:39:
187| toplevel = lib.mapAttrs (_: v: v.config.system.build.toplevel) nodes;
188| deploymentConfig = lib.mapAttrs (_: v: v.config.deployment) nodes;
| ^
189| deploymentConfigSelected = names: lib.filterAttrs (name: _: elem name names) deploymentConfig;
… while calling 'g'
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/lib/attrsets.nix:701:19:
700| g =
701| name: value:
| ^
702| if isAttrs value && cond value
… from call site
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/lib/attrsets.nix:704:20:
703| then recurse (path ++ [name]) value
704| else f (path ++ [name]) value;
| ^
705| in mapAttrs g;
… while calling anonymous lambda
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the option `_module.freeformType':
… while calling anonymous lambda
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/lib/modules.nix:538:19:
537| mergeModules' prefix modules
538| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
| ^
539|
… from call site
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/lib/modules.nix:538:73:
537| mergeModules' prefix modules
538| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
| ^
539|
… while calling 'pushDownProperties'
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/lib/modules.nix:874:24:
873| */
874| pushDownProperties = cfg:
| ^
875| if cfg._type or "" == "merge" then
… from call site
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/nixos/lib/eval-config.nix:50:8:
49| config = lib.mkMerge (
50| (optional (system != null) {
| ^
51| # Explicit `nixpkgs.system` or `nixpkgs.localSystem` should override
… while calling 'optional'
at /nix/store/k766s621xxdvsfxy46rjxfnb4bqb9glj-nixos-23.11-src/lib/lists.nix:359:20:
358| */
359| optional = cond: elem: if cond then [elem] else [];
| ^
360|
error: attribute 'system' missing
at /run/user/1000/colmena-assets-le334v/eval.nix:143:18:
142| };
143| in evalConfig {
| ^
144| inherit (npkgs) system;
Did you mean one of mystem, systemc, systemd, syntex or systemfd?
| 14:19:49 |
raitobezarius | i was so close with my .config/nix/ idea | 14:19:51 |