nixos/appstream: remove `with lib;`

Changed files
+3 -5
nixos
modules
config
+3 -5
nixos/modules/config/appstream.nix
···
{ config, lib, ... }:
-
-
with lib;
{
options = {
-
appstream.enable = mkOption {
-
type = types.bool;
+
appstream.enable = lib.mkOption {
+
type = lib.types.bool;
default = true;
description = ''
Whether to install files to support the
···
};
};
-
config = mkIf config.appstream.enable {
+
config = lib.mkIf config.appstream.enable {
environment.pathsToLink = [
# per component metadata
"/share/metainfo"