nixcfg/hosts/petalburg/home.nix
Aly Raffauf 945fbdcc39
restructure flake (#14)
* initial commit

* simplify output structure

* don't pull wallpaper from flake, use fetchGit

* swap nixvim for neovim

* fetch wallpaper correctly

* move nixvim to aly home config
2024-07-09 19:17:53 -04:00

24 lines
612 B
Nix

{
config,
lib,
pkgs,
self,
...
}: {
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;
}
];
};
}