oizys/modules/desktop/window-managers/hyprland.nix

63 lines
1.3 KiB
Nix
Raw Normal View History

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,
lib,
2024-01-23 11:51:13 -06:00
...
}:
# let
# lock = pkgs.writeShellApplication {
# name = "lock";
# runtimeInputs = with pkgs; [swaylock];
# text = ''
# swaylock -c 1e1e2e
# '';
# };
2024-04-28 09:06:15 -05:00
let inherit (lib) enabled;
2024-03-21 11:04:01 -05:00
in
mkOizysModule config "hyprland" {
programs.hyprland = enabled // {
package = inputs.hyprland.packages.${pkgs.system}.default;
};
2024-01-23 19:13:42 -06:00
security.pam.services.swaylock = {};
# 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
brightnessctl
2024-01-26 00:10:03 -06:00
udiskie
2024-02-29 16:12:23 -06:00
eww
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-02-20 13:11:57 -06:00
# utils
2024-02-05 09:18:09 -06:00
grimblast
2024-03-24 14:26:30 -05:00
ksnip
2024-02-20 13:11:57 -06:00
wl-clipboard
2024-01-23 19:13:42 -06:00
rofi-wayland
pavucontrol
2024-02-06 14:58:05 -06:00
2024-02-20 13:11:57 -06:00
catppuccin-cursors.mochaDark
2024-03-24 14:26:30 -05:00
#hypr ecosystem
hyprlock
hypridle
2024-02-27 11:45:07 -06:00
swww
2024-01-23 19:13:42 -06:00
];
2024-02-06 14:58:05 -06:00
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
# when this was active I was forced to recompile VirtualBox myself, which would just fail to compile...
# Must have been one of the other non-hyprland packages modified in the overlay
# inputs.hyprland.overlays.default
2024-02-02 16:38:56 -06:00
];
2024-03-21 10:53:27 -05:00
}