diff options
author | sefidel <contact@sefidel.net> | 2023-08-11 17:06:37 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-11 17:06:37 +0900 |
commit | 8e61efe2e63343be7b0002b394a1115490aaeb50 (patch) | |
tree | 226345c53d891d9c29b289ba3926a717093b6da1 | |
parent | b11648c397585720e7077e1a5ca37e0f071b6c3b (diff) | |
download | nixrc-8e61efe2e63343be7b0002b394a1115490aaeb50.tar.gz nixrc-8e61efe2e63343be7b0002b394a1115490aaeb50.zip |
chore: types.string -> types.str
-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. |