69 lines
1.4 KiB
Nix
69 lines
1.4 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.skyg.nixos.desktop.hyprland;
|
|
in
|
|
{
|
|
options = {
|
|
skyg.nixos.desktop.hyprland = {
|
|
enabled = mkEnableOption
|
|
"Hyprland";
|
|
};
|
|
};
|
|
config = mkIf cfg.enabled {
|
|
programs.hyprland = { enable = true; };
|
|
environment.sessionVariables = { NIXOS_OZONE_WL = "1"; };
|
|
programs.waybar.enable = false;
|
|
environment.systemPackages = with pkgs; [
|
|
# common utilities
|
|
busybox
|
|
scdoc
|
|
mpv
|
|
gcc
|
|
xdg-desktop-portal
|
|
# sound
|
|
pavucontrol
|
|
# notification daemon
|
|
dunst
|
|
libnotify
|
|
# hyprland
|
|
lxqt.lxqt-policykit
|
|
xdg-desktop-portal-gtk
|
|
xdg-desktop-portal-hyprland
|
|
hyprlock
|
|
hypridle
|
|
hyprpaper
|
|
# color picker
|
|
hyprpicker
|
|
# nwg-shell
|
|
nwg-dock
|
|
nwg-dock-hyprland
|
|
nwg-launchers
|
|
nwg-displays
|
|
nwg-drawer
|
|
nwg-panel
|
|
gopsuinfo
|
|
nwg-look
|
|
nwg-menu
|
|
nwg-bar
|
|
# screenshots
|
|
swappy
|
|
hyprshot
|
|
# networking
|
|
networkmanagerapplet
|
|
meson
|
|
wl-clipboard
|
|
wlroots
|
|
cliphist
|
|
xdg-desktop-portal-wlr
|
|
# app launchers
|
|
rofi-wayland
|
|
wofi
|
|
];
|
|
services.mpd.enable = true;
|
|
services.pipewire.wireplumber.enable = true;
|
|
users.users.${config.skyg.user.name}.extraGroups = [ "input" ];
|
|
};
|
|
}
|