From 64921c426d87fb211afb677a7271a817b544a81a Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 22 Oct 2024 02:59:04 -0400 Subject: [PATCH] nix: replace string with str --- nix/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index 3b0ae26..48d9fb4 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -2,7 +2,7 @@ let inherit (lib) mkEnableOption mkOption mkIf; - inherit (lib.types) port string bool; + inherit (lib.types) port str bool; package = pkgs.callPackage ./package.nix { }; @@ -19,7 +19,7 @@ in }; username = mkOption { - type = string; + type = str; default = "user"; description = "The user to run sakaya under."; };