kmscon: 9.3.4 -> 9.3.5, nixos/kmscon: spawn kmscon on tty1 only if the display manager is disabled (#513042)

This commit is contained in:
Ramses
2026-04-26 16:31:04 +00:00
committed by GitHub
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -156,7 +156,9 @@ in
# tty1 is special: logind does not spawn autovt@tty1, it expects a static
# pull-in via getty.target. With getty@ suppressed, we must replace it.
systemd.services."kmsconvt@tty1".wantedBy = [ "getty.target" ];
systemd.services."getty.target".wants = lib.mkIf (!config.services.displayManager.enable) [
"kmsconvt@tty1.service"
];
systemd.suppressedSystemUnits = [ "getty@.service" ];
+2 -2
View File
@@ -29,13 +29,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kmscon";
version = "9.3.4";
version = "9.3.5";
src = fetchFromGitHub {
owner = "kmscon";
repo = "kmscon";
tag = "v${finalAttrs.version}";
hash = "sha256-S6a/m2gfYOsacq4uq3d05WZPH1C8RQowmZM7f6On4ic=";
hash = "sha256-QBN1rSDmwVg7cgljhe6kVIg/xLoolmOPqS8JXZuQiXs=";
};
strictDeps = true;