disable wofi lazy

This commit is contained in:
Noa Aarts 2024-04-04 14:46:40 +02:00
parent c119b84c30
commit 8e1b6c4e75

View file

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, lib, ... }:
{ {
imports = imports =
@ -32,7 +32,7 @@
modules = { modules = {
hyprland.enable = true; hyprland.enable = true;
wofi.lazy = true; wofi.lazy = false;
}; };
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
@ -48,6 +48,8 @@
obs-studio obs-studio
wayvnc wayvnc
(lib.mkIf (!config.modules.wofi.lazy) steam-run)
btop btop
dconf dconf
@ -109,7 +111,7 @@
enable = true; enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ]; extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
}; };
mimeApps = { mimeApps = lib.mkIf config.modules.wofi.lazy {
enable = true; enable = true;
associations.added = { associations.added = {
"video/mp4" = [ "mpv.out.desktop" ]; "video/mp4" = [ "mpv.out.desktop" ];