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-03-21 10:53:27 -05:00
|
|
|
inherit (lib) mkOizysModule;
|
2024-02-13 12:20:54 -06:00
|
|
|
lock = pkgs.writeShellApplication {
|
|
|
|
name = "lock";
|
|
|
|
runtimeInputs = with pkgs; [swaylock];
|
|
|
|
text = ''
|
2024-02-15 10:28:25 -06:00
|
|
|
swaylock -c 1e1e2e
|
2024-02-13 12:20:54 -06:00
|
|
|
'';
|
|
|
|
};
|
2024-03-21 10:53:27 -05:00
|
|
|
in mkOizysModule config "hyprland" {
|
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-02-20 13:11:57 -06:00
|
|
|
swayidle
|
2024-01-24 10:45:54 -06:00
|
|
|
wlr-randr
|
|
|
|
kanshi
|
|
|
|
|
2024-02-13 12:20:54 -06:00
|
|
|
lock
|
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-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
|
|
|
|
hyprpaper
|
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
|
|
|
|
inputs.hyprland.overlays.default
|
|
|
|
];
|
2024-03-21 10:53:27 -05:00
|
|
|
}
|