From 8e61efe2e63343be7b0002b394a1115490aaeb50 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 11 Aug 2023 17:06:37 +0900 Subject: chore: types.string -> types.str --- home/modules/programs/nixpkgs/default.nix | 4 ++-- 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. -- cgit 1.4.1