Revert accidental commit
This commit is contained in:
parent
d33fd9a1f8
commit
23947c26a8
|
@ -2,18 +2,6 @@
|
||||||
|
|
||||||
with pkgs.lib;
|
with pkgs.lib;
|
||||||
|
|
||||||
let
|
|
||||||
|
|
||||||
issueFile = pkgs.writeText "issue" ''
|
|
||||||
|
|
||||||
[1;32m${config.services.mingetty.greetingLine}[0m
|
|
||||||
xyzzy6
|
|
||||||
${config.services.mingetty.helpLine}
|
|
||||||
|
|
||||||
'';
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
|
@ -91,7 +79,7 @@ in
|
||||||
[Service]
|
[Service]
|
||||||
Environment=TERM=linux
|
Environment=TERM=linux
|
||||||
Environment=LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive
|
Environment=LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive
|
||||||
ExecStart=@${pkgs.utillinux}/sbin/agetty agetty --noclear -f ${issueFile} --login-program ${pkgs.shadow}/bin/login %I 38400
|
ExecStart=@${pkgs.utillinux}/sbin/agetty agetty --noclear --login-program ${pkgs.shadow}/bin/login %I 38400
|
||||||
Type=idle
|
Type=idle
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=0
|
RestartSec=0
|
||||||
|
@ -143,7 +131,12 @@ in
|
||||||
|
|
||||||
environment.etc = singleton
|
environment.etc = singleton
|
||||||
{ # Friendly greeting on the virtual consoles.
|
{ # Friendly greeting on the virtual consoles.
|
||||||
source = issueFile;
|
source = pkgs.writeText "issue" ''
|
||||||
|
|
||||||
|
[1;32m${config.services.mingetty.greetingLine}[0m
|
||||||
|
${config.services.mingetty.helpLine}
|
||||||
|
|
||||||
|
'';
|
||||||
target = "issue";
|
target = "issue";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue