git.iko.soy/typeable/nixpkgs
on master help sign in
murmur service: welcome -> welcometext
e330807Wei-Ming Yang
nixos/modules/rename.nix+3
@@ -139,6 +139,9 @@ with lib;
139 # fontconfig-ultimate
139 # fontconfig-ultimate
140 (mkRenamedOptionModule [ "fonts" "fontconfig" "ultimate" "rendering" ] [ "fonts" "fontconfig" "ultimate" "preset" ])
140 (mkRenamedOptionModule [ "fonts" "fontconfig" "ultimate" "rendering" ] [ "fonts" "fontconfig" "ultimate" "preset" ])
141
141
142+ # murmur
143+ (mkRenamedOptionModule [ "services" "murmur" "welcome" ] [ "services" "murmur" "welcometext" ])
144+
142 # Options that are obsolete and have no replacement.
145 # Options that are obsolete and have no replacement.
143 (mkRemovedOptionModule [ "boot" "initrd" "luks" "enable" ] "")
146 (mkRemovedOptionModule [ "boot" "initrd" "luks" "enable" ] "")
144 (mkRemovedOptionModule [ "programs" "bash" "enable" ] "")
147 (mkRemovedOptionModule [ "programs" "bash" "enable" ] "")
nixos/modules/services/networking/murmur.nix+2−2
@@ -15,7 +15,7 @@ let
15 logfile=/var/log/murmur/murmurd.log
15 logfile=/var/log/murmur/murmurd.log
16 pidfile=${cfg.pidfile}
16 pidfile=${cfg.pidfile}
17
17
18− welcome="${cfg.welcome}"
18+ welcometext="${cfg.welcometext}"
19 port=${toString cfg.port}
19 port=${toString cfg.port}
20
20
21 ${if cfg.hostName == "" then "" else "host="+cfg.hostName}
21 ${if cfg.hostName == "" then "" else "host="+cfg.hostName}
@@ -84,7 +84,7 @@ in
84 description = "Path to PID file for Murmur daemon.";
84 description = "Path to PID file for Murmur daemon.";
85 };
85 };
86
86
87− welcome = mkOption {
87+ welcometext = mkOption {
88 type = types.str;
88 type = types.str;
89 default = "";
89 default = "";
90 description = "Welcome message for connected clients.";
90 description = "Welcome message for connected clients.";