NixOS modules: Difference between revisions

imported>Asymmetric
imported>Petabyteboy
Changed types.string to types.str since type string is deprecated
Line 116: Line 116:
     enable = mkEnableOption "hello service";
     enable = mkEnableOption "hello service";
     greeter = mkOption {
     greeter = mkOption {
       type = types.string;
       type = types.str;
       default = "world";
       default = "world";
     };
     };