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
|
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…
x
Reference in New Issue
Block a user