fix ttyUSB0 things

This commit is contained in:
System administrator
2026-02-13 19:02:02 +01:00
parent c1ada2f94d
commit 036f0e1701

View File

@@ -14,6 +14,8 @@
(fp /base) (fp /base)
]; ];
boot.consoleLogLevel = 0;
sops.defaultSopsFile = fp /secrets/skrot/skrot.yaml; sops.defaultSopsFile = fp /secrets/skrot/skrot.yaml;
systemd.network.networks."enp2s0" = values.defaultNetworkConfig // { systemd.network.networks."enp2s0" = values.defaultNetworkConfig // {
@@ -51,5 +53,11 @@
}; };
}; };
systemd.services."serial-getty@ttyUSB0" = lib.mkIf (!config.virtualisation.isVmVariant) {
enable = true;
wantedBy = [ "getty.target" ]; # to start at boot
serviceConfig.Restart = "always"; # restart when session is closed
};
system.stateVersion = "25.11"; # Did you read the comment? Nah bro system.stateVersion = "25.11"; # Did you read the comment? Nah bro
} }