nixcfg/hosts/petalburg/home.nix
Aly Raffauf b53a94c121
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
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-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
home/hyprland: rewrite in nix (#48)
* home/hyprland: move scripts to scripts.nix

* home/hyprland: rewirte config in nix

* home/hyprland: moved all easily possible variables to nix

* nix fmt

* home/hyprland: move everything except usbmaps to nix

* aly: move hyprland config to nix

* petalburg: move hyprland config to nix

* home/hyprland: move submap starters to nix

* home/hyprland: inherit window and layer rules from vars.nix

* nix fmt

* home/hyprland: moved all hyprland settings to vars.nix

* home/hyprland: add options for default workspaces and window manager binds

* home/hyprland: remove workspaces option

* home/hyprland: vars.nix -> settings.nix

* home/hyprland: nixify extraConfig

* home/hyprland: standardize hyprland argument calls

* home/hyprland: get rid of defaultApps
2024-07-19 13:59:48 -04:00

36 lines
877 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.hyprland = {
laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];
tabletMode = {
enable = true;
tabletSwitches = ["Lenovo Yoga Tablet Mode Control switch"];
};
};
}
];
}