aigis:support touch bar

This commit is contained in:
Kate 2024-11-16 15:05:39 -07:00
parent b4fdb58550
commit e792555c7d

View file

@ -47,6 +47,22 @@
};
};
systemd.services.display-manager = {
after = [ "touchbar.service" ];
requires = [ "touchbar.service" ];
};
# Provide touch bar support.
systemd.services.touchbar = {
before = [ "display-manager.service" ];
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.tiny-dfr}/bin/tiny-dfr";
};
};
# Be able to run x64 binaries, because they're everywhere.
boot.binfmt.emulatedSystems = [
"x86_64-linux"