mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 11:49:17 -05:00
24 lines
604 B
Nix
24 lines
604 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
home-manager = {
|
|
sharedModules = [
|
|
{
|
|
wayland.windowManager.hyprland.extraConfig = ''
|
|
# Extra bindings for petalburg.
|
|
bind = , xf86launch4, exec, ${lib.getExe inputs.nixhw.packages.${pkgs.system}.power-profile-adjuster}
|
|
bind = , xf86launch2, exec, ${lib.getExe pkgs.playerctl} play-pause
|
|
|
|
exec-once = ${lib.getExe inputs.iio-hyprland.packages.${pkgs.system}.default} "desc:Samsung Display Corp. 0x4152"
|
|
'';
|
|
|
|
ar.home.desktop.hyprland.tabletMode.enable = true;
|
|
}
|
|
];
|
|
};
|
|
}
|