0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

autovt@.service really has to be a symlink

This commit is contained in:
Eelco Dolstra 2014-03-13 00:18:17 +01:00
parent 576eaa16b8
commit e1984f029d
2 changed files with 6 additions and 2 deletions

View file

@ -63,7 +63,11 @@ in {
X-RestartIfChanged=false X-RestartIfChanged=false
''; '';
systemd.services."autovt@".baseUnit = "${config.systemd.units."kmsconvt@.service".unit}/kmsconvt@.service"; systemd.units."autovt@.service".unit = pkgs.runCommand "unit" { }
''
mkdir -p $out
ln -s ${config.systemd.units."kmsconvt@.service".unit}/kmsconvt@.service $out/autovt@.service
'';
systemd.services.systemd-vconsole-setup.restartIfChanged = false; systemd.services.systemd-vconsole-setup.restartIfChanged = false;

View file

@ -424,7 +424,7 @@ in
}; };
}; };
config = { config = {
unit = makeUnit name config; unit = mkDefault (makeUnit name config);
}; };
}; };
}; };