refactor: simplify shared config contracts

This commit is contained in:
2026-04-22 04:41:09 +02:00
parent cf308a1371
commit a4af935e6e
14 changed files with 159 additions and 139 deletions
+2 -4
View File
@@ -56,15 +56,13 @@ in
}
) config.meta.host.displays;
inputProfiles = metaLib.mkInputProfiles config.meta.host.input;
terminal = metaLib.resolveUserTerminal {
terminal = metaLib.resolveRepoTerminal {
inherit pkgs;
user = config.meta.user;
};
in
{
assertions = metaLib.mkTerminalAssertions {
inherit terminal;
user = config.meta.user;
};
home.sessionVariables.NIXOS_OZONE_WL = "1";
@@ -154,7 +152,7 @@ in
};
binds =
if terminal.hasMainProgram then
if terminal.hasPackage then
import ./_bindings.nix {
inherit
browserCommand