refactor: use overlays where possible

This commit is contained in:
matt1432 2025-03-05 14:03:09 -05:00
parent 8ba117e22b
commit e44534648c
15 changed files with 33 additions and 40 deletions
modules/desktop/environment/home

View file

@ -12,7 +12,7 @@ self: {
in {
config = mkIf cfg.enable {
wayland.windowManager.hyprland = {
plugins = [self.inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo];
plugins = [pkgs.hyprlandPlugins.hyprexpo];
settings = {
plugin.hyprexpo = {

View file

@ -12,6 +12,7 @@ self: {
in {
config = mkIf (cfg.enable && cfg.isTouchscreen) {
wayland.windowManager.hyprland = {
# TODO: add overlays to upstream flake
plugins = [self.inputs.hyprgrass.packages.${pkgs.system}.default];
settings = {

View file

@ -1,13 +1,9 @@
self: {
{
lib,
osConfig,
pkgs,
...
}: let
inherit (self.inputs) nixpkgs-wayland;
waypkgs = nixpkgs-wayland.packages.${pkgs.system};
inherit (lib) mkIf;
cfg = osConfig.roles.desktop;
@ -17,13 +13,10 @@ in {
obs-studio = {
enable = true;
plugins = [
waypkgs.obs-wlrobs
pkgs.waylandPkgs.obs-wlrobs
pkgs.obs-studio-plugins.droidcam-obs
];
};
};
};
# For accurate stack trace
_file = ./obs.nix;
}