2024-01-23 11:51:13 -06:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
2024-01-23 15:50:42 -06:00
|
|
|
config,
|
|
|
|
lib,
|
2024-01-23 11:51:13 -06:00
|
|
|
...
|
2024-01-23 19:13:42 -06:00
|
|
|
}: let
|
2024-01-23 15:50:42 -06:00
|
|
|
inherit (lib) mkIf;
|
|
|
|
cfg = config.programs.hyprland;
|
2024-01-23 19:13:42 -06:00
|
|
|
in {
|
2024-01-23 15:50:42 -06:00
|
|
|
config = mkIf cfg.enable {
|
2024-01-23 19:13:42 -06:00
|
|
|
security.pam.services.swaylock = {};
|
2024-02-02 16:38:56 -06:00
|
|
|
# programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.default;
|
2024-01-23 19:13:42 -06:00
|
|
|
# Optional, hint electron apps to use wayland:
|
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
2024-01-24 10:45:54 -06:00
|
|
|
|
2024-01-23 19:13:42 -06:00
|
|
|
environment.systemPackages = with pkgs; [
|
2024-01-24 10:45:54 -06:00
|
|
|
wlr-randr
|
|
|
|
kanshi
|
|
|
|
|
2024-01-23 19:13:42 -06:00
|
|
|
swaylock
|
|
|
|
brightnessctl
|
2024-01-26 00:10:03 -06:00
|
|
|
udiskie
|
2024-01-23 15:50:42 -06:00
|
|
|
|
2024-01-23 19:13:42 -06:00
|
|
|
# notifications
|
|
|
|
libnotify
|
|
|
|
dunst
|
2024-01-23 11:51:13 -06:00
|
|
|
|
2024-01-23 19:13:42 -06:00
|
|
|
# screenshots
|
2024-02-05 09:18:09 -06:00
|
|
|
grimblast
|
2024-01-23 11:51:13 -06:00
|
|
|
|
2024-01-23 19:13:42 -06:00
|
|
|
eww-wayland
|
|
|
|
rofi-wayland
|
|
|
|
hyprpaper
|
2024-01-23 15:50:42 -06:00
|
|
|
|
2024-01-23 19:13:42 -06:00
|
|
|
catppuccin-cursors.mochaDark
|
|
|
|
pavucontrol
|
|
|
|
];
|
2024-02-02 16:38:56 -06:00
|
|
|
nixpkgs.overlays = [
|
2024-02-05 09:18:09 -06:00
|
|
|
inputs.hyprland-contrib.overlays.default
|
2024-02-02 16:38:56 -06:00
|
|
|
inputs.nixpkgs-wayland.overlay
|
|
|
|
inputs.hyprland.overlays.default
|
|
|
|
];
|
2024-01-23 19:13:42 -06:00
|
|
|
};
|
2024-01-23 11:51:13 -06:00
|
|
|
}
|