From 85997a669248e57d9d556725973723f60c5dffbb Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sun, 12 Aug 2012 11:44:00 -0400 Subject: [PATCH] mingetty: Don't make restartIfChanged optional --- modules/services/ttys/mingetty.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/services/ttys/mingetty.nix b/modules/services/ttys/mingetty.nix index 23cdf861d16..ecc4fd4630e 100644 --- a/modules/services/ttys/mingetty.nix +++ b/modules/services/ttys/mingetty.nix @@ -46,14 +46,6 @@ with pkgs.lib; ''; }; - dontRestart = mkOption { - default = false; - description = '' - Don't restart mingetty processes as this will result in active - sessions to be logged out, for example on activation of the system's - configuration. - ''; - }; }; }; @@ -77,7 +69,7 @@ with pkgs.lib; exec = "mingetty --loginprog=${pkgs.shadow}/bin/login --noclear ${tty}"; - restartIfChanged = !config.services.mingetty.dontRestart; + restartIfChanged = false; environment.LOCALE_ARCHIVE = "/run/current-system/sw/lib/locale/locale-archive";