nixcfg/hosts/petalburg/home.nix

24 lines
612 B
Nix
Raw Normal View History

2024-03-28 19:52:15 -04:00
{
2024-04-07 22:16:33 -04:00
config,
lib,
pkgs,
self,
2024-04-07 22:16:33 -04:00
...
}: {
2024-05-21 22:28:52 -04:00
home-manager = {
sharedModules = [
{
wayland.windowManager.hyprland.extraConfig = ''
# Extra bindings for petalburg.
bind = , xf86launch4, exec, ${lib.getExe self.inputs.nixhw.packages.${pkgs.system}.power-profile-adjuster}
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;
2024-05-21 22:28:52 -04:00
}
];
2024-03-28 19:52:15 -04:00
};
}