mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
autovt@.service really has to be a symlink
This commit is contained in:
parent
576eaa16b8
commit
e1984f029d
|
@ -63,7 +63,11 @@ in {
|
|||
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;
|
||||
|
||||
|
|
|
@ -424,7 +424,7 @@ in
|
|||
};
|
||||
};
|
||||
config = {
|
||||
unit = makeUnit name config;
|
||||
unit = mkDefault (makeUnit name config);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue