mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-09-12 01:37:18 -05:00
43 lines
818 B
Nix
43 lines
818 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
cfg = config.programs.hyprland;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
security.pam.services.swaylock = {};
|
|
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.default;
|
|
# Optional, hint electron apps to use wayland:
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
wlr-randr
|
|
kanshi
|
|
|
|
swaylock
|
|
brightnessctl
|
|
|
|
# notifications
|
|
libnotify
|
|
dunst
|
|
|
|
# screenshots
|
|
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
|
|
grim
|
|
slurp
|
|
|
|
eww-wayland
|
|
rofi-wayland
|
|
hyprpaper
|
|
|
|
catppuccin-cursors.mochaDark
|
|
pavucontrol
|
|
];
|
|
nixpkgs.overlays = [inputs.nixpkgs-wayland.overlay];
|
|
};
|
|
}
|