Skip to content

Commit

Permalink
nix: remove null from plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Jun 3, 2024
1 parent 36c0206 commit 40c3884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -46,7 +46,7 @@ in
config =
let
fetchedPlugins =
if cfg.config.plugins == null
if cfg.config.plugins == [ ]
then [ ]
else
builtins.map
Expand Down

0 comments on commit 40c3884

Please sign in to comment.