2024-01-23 11:51:13 -06:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
2024-01-23 15:50:42 -06:00
|
|
|
config,
|
2024-03-21 15:59:10 -05:00
|
|
|
mkOizysModule,
|
2024-04-28 09:12:56 -05:00
|
|
|
enabled,
|
2024-01-23 11:51:13 -06:00
|
|
|
...
|
2024-04-28 09:12:56 -05:00
|
|
|
}:
|
2024-04-26 09:23:28 -05:00
|
|
|
# let
|
|
|
|
# lock = pkgs.writeShellApplication {
|
|
|
|
# name = "lock";
|
|
|
|
# runtimeInputs = with pkgs; [swaylock];
|
|
|
|
# text = ''
|
|
|
|
# swaylock -c 1e1e2e
|
|
|
|
# '';
|
|
|
|
# };
|
2024-04-28 09:12:56 -05:00
|
|
|
mkOizysModule config "hyprland" {
|
2024-05-06 14:32:00 -05:00
|
|
|
programs.hyprland = enabled // {
|
|
|
|
package = inputs.hyprland.packages.${pkgs.system}.default;
|
|
|
|
};
|
|
|
|
security.pam.services.swaylock = { };
|
2024-04-28 09:12:56 -05:00
|
|
|
# Optional, hint electron apps to use wayland:
|
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
wlr-randr
|
|
|
|
kanshi
|
|
|
|
|
|
|
|
brightnessctl
|
|
|
|
udiskie
|
|
|
|
eww
|
|
|
|
|
|
|
|
# notifications
|
|
|
|
libnotify
|
|
|
|
dunst
|
|
|
|
|
|
|
|
# utils
|
|
|
|
grimblast
|
|
|
|
ksnip
|
|
|
|
wl-clipboard
|
|
|
|
rofi-wayland
|
|
|
|
pavucontrol
|
|
|
|
|
|
|
|
catppuccin-cursors.mochaDark
|
|
|
|
|
|
|
|
#hypr ecosystem
|
|
|
|
hyprlock
|
|
|
|
hypridle
|
|
|
|
|
|
|
|
swww
|
|
|
|
];
|
|
|
|
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
inputs.hyprland-contrib.overlays.default
|
2024-05-14 14:18:07 -05:00
|
|
|
inputs.nixpkgs-wayland.overlay
|
2024-05-06 14:32:00 -05:00
|
|
|
|
2024-05-15 14:43:48 -05:00
|
|
|
# inputs.hyprland.overlays.default
|
2024-04-28 09:12:56 -05:00
|
|
|
];
|
|
|
|
}
|