aigis:support touch bar
This commit is contained in:
parent
b4fdb58550
commit
e792555c7d
1 changed files with 16 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue