diff options
author | Felix Buehler | 2024-08-27 20:42:50 +0200 |
---|---|---|
committer | Felix Buehler | 2024-08-29 23:48:09 +0200 |
commit | 56adb6a6b233c9b1de0022586da1c88226e3b10a (patch) | |
tree | 1f8b1555b440aaaaa5ebc8f8406f71dc93078ac8 /nixos/modules/config | |
parent | 1da2c432542927b7f013ded954d620e364b70287 (diff) |
nixos/xdg.menus: remove `with lib;`
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/xdg/menus.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/nixos/modules/config/xdg/menus.nix b/nixos/modules/config/xdg/menus.nix index 8510c2db654e..a71a46dd36cc 100644 --- a/nixos/modules/config/xdg/menus.nix +++ b/nixos/modules/config/xdg/menus.nix @@ -1,14 +1,12 @@ { config, lib, ... }: - -with lib; { meta = { - maintainers = teams.freedesktop.members; + maintainers = lib.teams.freedesktop.members; }; options = { - xdg.menus.enable = mkOption { - type = types.bool; + xdg.menus.enable = lib.mkOption { + type = lib.types.bool; default = true; description = '' Whether to install files to support the @@ -17,7 +15,7 @@ with lib; }; }; - config = mkIf config.xdg.menus.enable { + config = lib.mkIf config.xdg.menus.enable { environment.pathsToLink = [ "/share/applications" "/share/desktop-directories" |