Skip to content

Commit 8b79976

Browse files
authored
ci-tools/host-runner: add user lingering (#2495)
Signed-off-by: leongross <leon.gross@9elements.com>
1 parent e53d7a8 commit 8b79976

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ci-tools/host-runner/configuration.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ in
108108
isNormalUser = true;
109109
hashedPassword = lib.strings.trim (builtins.readFile ./secrets/${user}-pass);
110110
extraGroups = [ "wheel" "networkmanager" ];
111+
112+
# The fpga ci runner services are defined as systemd user services.
113+
# These services are first started when the user is logged in.
114+
# To start them on boot, enable lingering (loginctl enable-linger).
115+
linger = true;
116+
111117
# Add your SSH public key here to gain SSH access to the host runner.
112118
# Remove keys you do not trust
113119
openssh.authorizedKeys.keys = [

0 commit comments

Comments
 (0)