nixcfg/hosts/petalburg/home.nix
Aly Raffauf 3d432dffdf
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
home/sway: consolidate secondary modules
2024-07-21 21:32:06 -04:00

38 lines
921 B
Nix

{
lib,
pkgs,
self,
...
}: {
home-manager.sharedModules = [
{
wayland.windowManager.hyprland.settings = {
bind = [
",xf86launch4,exec,${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}"
",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"''];
input = {
tablet.output = "eDP-1";
touchdevice.output = "eDP-1";
};
};
ar.home.desktop.sway.enable = true;
ar.home.desktop.hyprland = {
laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];
tabletMode = {
enable = true;
tabletSwitches = ["Lenovo Yoga Tablet Mode Control switch"];
};
};
}
];
}