NixOS modules: Difference between revisions
imported>Asymmetric m →Developing modules: syntax |
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. | type = types.str; | ||
default = "world"; | default = "world"; | ||
}; | }; |