about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix Buehler2024-08-27 20:42:50 +0200
committerFelix Buehler2024-08-29 23:48:09 +0200
commit1da2c432542927b7f013ded954d620e364b70287 (patch)
tree14d4cbcd178ea28cc6fe6439cfbc445c9bf5ab7d
parent7f5a38f10004ff44b494fc433835e0563c5c1172 (diff)
nixos/xdg.icons: remove `with lib;`
-rw-r--r--nixos/modules/config/xdg/icons.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/nixos/modules/config/xdg/icons.nix b/nixos/modules/config/xdg/icons.nix
index 3f198101d306..9e2b3c2e46e0 100644
--- a/nixos/modules/config/xdg/icons.nix
+++ b/nixos/modules/config/xdg/icons.nix
@@ -1,14 +1,12 @@
 { config, lib, pkgs, ... }:
-
-with lib;
 {
   meta = {
-    maintainers = teams.freedesktop.members;
+    maintainers = lib.teams.freedesktop.members;
   };
 
   options = {
-    xdg.icons.enable = mkOption {
-      type = types.bool;
+    xdg.icons.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.icons.enable {
+  config = lib.mkIf config.xdg.icons.enable {
     environment.pathsToLink = [
       "/share/icons"
       "/share/pixmaps"