refactor: simplify shared config contracts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user