Now that “everything is working”, and I have my agnoster theme and all, the system started looking in the wrong place for my config files.
My config files are in ~/nixos
but when I open a terminal there, and use the pre-set alias for rebuilding, I get like this:
shmuel@nixos ~/nixos update
[sudo] password for shmuel:
warning: Nix search path entry '/etc/nixos/configuration.nix' does not exist, ignoring
error:
… while evaluating the attribute 'config'
at /nix/store/xqqx605vbpb48z074c3csa5nk7b9mxzh-nixos/nixos/lib/modules.nix:322:9:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/store/xqqx605vbpb48z074c3csa5nk7b9mxzh-nixos/nixos/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: file 'nixos-config' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
building Nix...
warning: Nix search path entry '/etc/nixos/configuration.nix' does not exist, ignoring
error:
… while evaluating the attribute 'config'
at /nix/store/xqqx605vbpb48z074c3csa5nk7b9mxzh-nixos/nixos/lib/modules.nix:322:9:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/store/xqqx605vbpb48z074c3csa5nk7b9mxzh-nixos/nixos/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: file 'nixos-config' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
building the system configuration...
warning: Nix search path entry '/etc/nixos/configuration.nix' does not exist, ignoring
error:
… while evaluating the attribute 'config.system.build.toplevel'
at /nix/store/xqqx605vbpb48z074c3csa5nk7b9mxzh-nixos/nixos/lib/modules.nix:322:9:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/store/xqqx605vbpb48z074c3csa5nk7b9mxzh-nixos/nixos/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: file 'nixos-config' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
if you maybe have any ideas, I will read them tomorrow morning…