i’m trying to refactor configuration.nix so that laptop-only configs aren’t applied on other types of devices. the embedded version works, but when fprintd configs are moved into the [unique] set, i got this error:
Failed assertions:
- Setting xdg.portal.enable to true requires a portal implementation in xdg.portal.extraPortals such as xdg-desktop-portal-gtk or xdg-desktop-portal-kde.
can anyone explain what happened in such situation, and if there’s anyway for me to work around the error without having to specify xdg.portal.extraPortals? many thanks.
Additionally, optional settings based on hostname will quickly get unwieldy and difficult to track/debug.
I’d recommend having a separate “entry point” per host, and all hosts could use the files containing common config in their imports.