mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 21:29:17 -05:00
Aly Raffauf
56957f2f15
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
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-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
63 lines
1.5 KiB
Nix
63 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
self,
|
|
...
|
|
}: {
|
|
home-manager = {
|
|
sharedModules = [
|
|
{
|
|
wayland.windowManager = {
|
|
hyprland.settings = {
|
|
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"''];
|
|
|
|
input = {
|
|
tablet.output = "eDP-1";
|
|
touchdevice.output = "eDP-1";
|
|
};
|
|
};
|
|
|
|
sway.config = {
|
|
input = {
|
|
"1386:21186:Wacom_HID_52C2_Finger" = {
|
|
map_to_output = "'Samsung Display Corp. 0x4152 Unknown'";
|
|
};
|
|
|
|
"1386:21186:Wacom_HID_52C2_Pen" = {
|
|
map_to_output = "'Samsung Display Corp. 0x4152 Unknown'";
|
|
};
|
|
};
|
|
|
|
keybindings = {
|
|
"XF86Launch2" = "exec ${lib.getExe pkgs.playerctl} play-pause";
|
|
};
|
|
|
|
output = {"Samsung Display Corp. 0x4152 Unknown".scale = "2.0";};
|
|
};
|
|
};
|
|
|
|
ar.home = {
|
|
desktop.hyprland = {
|
|
laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];
|
|
|
|
tabletMode = {
|
|
enable = true;
|
|
switches = ["Lenovo Yoga Tablet Mode Control switch"];
|
|
};
|
|
};
|
|
|
|
services.gammastep.enable = true;
|
|
};
|
|
}
|
|
];
|
|
|
|
users.aly = self.homeManagerModules.aly;
|
|
};
|
|
}
|