Can not import module with relative path

I’m having trouble importing a module with a relative path in to my config. I get this error when building the config:

error: string './config/gnome/dconf.nix' doesn't represent an absolute path, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:255:89

The directory structure is as follows:

├── config
│   └── gnome
│       └── dconf.nix
├── configuration.nix
├── home.nix

configuration.nix imports home.nix:

imports = [

home.nix imports the home-manager module and ./config/gnome/dconf.nix:

imports = [

*I didn’t try an absolute path

Have you tried it without the quotes?

See: NixOS - NixOS 22.05 manual

Yea that was it, tbh I don’t know why I quoted it in the first place