diff --git a/nix/hm.nix b/nix/hm.nix index 26901e3..6a81ef3 100644 --- a/nix/hm.nix +++ b/nix/hm.nix @@ -26,7 +26,7 @@ in config = { plugins = mkOption { - type = with types; nullOr (listOf package); + type = with types; listOf package; default = null; description = mdDoc '' List of plugins to use, represented as a list of packages. @@ -46,7 +46,7 @@ in config = let fetchedPlugins = - if cfg.config.plugins == null + if cfg.config.plugins == [ ] then [ ] else builtins.map