nixcfg/hosts/petalburg/home.nix
2024-07-10 10:04:32 -04:00

24 lines
603 B
Nix

{
config,
lib,
pkgs,
self,
...
}: {
home-manager = {
sharedModules = [
{
wayland.windowManager.hyprland.extraConfig = ''
# Extra bindings for petalburg.
bind = , xf86launch4, exec, ${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}
bind = , xf86launch2, exec, ${lib.getExe pkgs.playerctl} play-pause
exec-once = ${lib.getExe self.inputs.iio-hyprland.packages.${pkgs.system}.default} "desc:Samsung Display Corp. 0x4152"
'';
ar.home.desktop.hyprland.tabletMode.enable = true;
}
];
};
}