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:
parent
576eaa16b8
commit
e1984f029d
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -424,7 +424,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
unit = makeUnit name config;
|
unit = mkDefault (makeUnit name config);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue