Error while rebuilding system

I tried to download dwm on my system, but when i ran sudo nixos-rebuild switch --flake ~/nixos-dotfiles#nixos, this error appeared:

building the system configuration…
error:
… while calling the ‘derivationStrict’ builtin
at «nix-internal»/derivation-internal.nix:37:12:
36|
37|   strict = derivationStrict drvAttrs;
|            ^
38|

   … while evaluating derivation 'nixos-system-nixos-26.05.20260611.a037402'
     whose name attribute is located at «github:NixOS/nixpkgs/a0374025a863d007d98e3297f6aa46cc3141c2f0?narHash=sha256-9mUW6gNwoN2SWc/l0fW4svPNOulXLl8ijqKyeSOGgJE%3D»/pkgs/stdenv/generic/make-derivation.nix:647:11

   … while evaluating attribute 'buildCommand' of derivation 'nixos-system-nixos-26.05.20260611.a037402'
     at «github:NixOS/nixpkgs/a0374025a863d007d98e3297f6aa46cc3141c2f0?narHash=sha256-9mUW6gNwoN2SWc/l0fW4svPNOulXLl8ijqKyeSOGgJE%3D»/nixos/modules/system/activation/top-level.nix:63:7:
       62|       allowSubstitutes = false;
       63|       buildCommand = systemBuilder;
         |       ^
       64|

   … while evaluating the option `environment.etc.dbus-1.source':

   (stack trace truncated; use '--show-trace' to show the full, detailed trace)

   error: path '/nix/store/3hf6795cbk8n2mxihhvp8np423bvgy31-source/.config/dwm' does not exist

Command ‘nix --extra-experimental-features ‘nix-command flakes’ build --print-out-paths ‘/home/snece/nixos-dotfiles#nixosConfigurations.“nixos”.config.system.build.toplevel’ --no-link’ returned non-zero exit status 1.

can anyone help, please?

Did you forget to add a path to your git repo? (.config/dwm?)

And share your code. Remember, we are debugging code here, errors without code are often useless.

Yeah. I already solved it, it was supposed to be ./config/dwm, but i wrote .config/dwm. Man im so stupid.

Also, noted. Thanks!