diff options
-rw-r--r-- | home/modules/programs/nixpkgs/default.nix | 4 | ||||
-rw-r--r-- | nixos/modules/nix.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/home/modules/programs/nixpkgs/default.nix b/home/modules/programs/nixpkgs/default.nix index e20923f..3220844 100644 --- a/home/modules/programs/nixpkgs/default.nix +++ b/home/modules/programs/nixpkgs/default.nix @@ -7,7 +7,7 @@ in { options.nixpkgs.allowedUnfree = lib.mkOption { - type = lib.types.listOf lib.types.string; + type = lib.types.listOf lib.types.str; default = [ ]; description = '' Allows for unfree packages by their name. @@ -15,7 +15,7 @@ in }; options.nixpkgs.allowedInsecure = lib.mkOption { - type = lib.types.listOf lib.types.string; + type = lib.types.listOf lib.types.str; default = [ ]; description = '' Allows for insercure packages by their name. diff --git a/nixos/modules/nix.nix b/nixos/modules/nix.nix index 1f61d45..8396739 100644 --- a/nixos/modules/nix.nix +++ b/nixos/modules/nix.nix @@ -14,7 +14,7 @@ in }; allowedUnfree = lib.mkOption { - type = lib.types.listOf lib.types.string; + type = lib.types.listOf lib.types.str; default = [ ]; description = '' Allows for unfree packages by their name. |