refactor: some nix code cleanups

This commit is contained in:
matt1432 2025-01-06 14:41:55 -05:00
parent df9a370408
commit 82c8cb4b1f
24 changed files with 392 additions and 715 deletions
modules/desktop/environment/home

View file

@ -6,7 +6,7 @@ self: {
}: let
inherit (self.scopedPackages.${pkgs.system}) mpvScripts;
inherit (lib) mkIf;
inherit (lib) attrValues mkIf;
cfg = osConfig.roles.desktop;
in {
@ -20,7 +20,7 @@ in {
enable = true;
# https://github.com/mpv-player/mpv/wiki/User-Scripts
scripts = builtins.attrValues {
scripts = attrValues {
inherit
(mpvScripts)
modernx