All checks were successful
Check meta / check_meta (pull_request) Successful in 16s
Check workflows / check_workflows (pull_request) Successful in 17s
Check meta / check_dns (pull_request) Successful in 20s
Build all the nodes / ap01 (pull_request) Successful in 33s
Build all the nodes / netcore02 (pull_request) Successful in 34s
Run pre-commit on all files / pre-commit (push) Successful in 39s
Build the shell / build-shell (pull_request) Successful in 49s
Build all the nodes / hypervisor01 (pull_request) Successful in 1m31s
Build all the nodes / rescue01 (pull_request) Successful in 1m40s
Build all the nodes / web02 (pull_request) Successful in 1m41s
Build all the nodes / storage01 (pull_request) Successful in 2m4s
Build all the nodes / geo01 (pull_request) Successful in 2m7s
Build all the nodes / geo02 (pull_request) Successful in 2m12s
Build all the nodes / bridge01 (pull_request) Successful in 2m17s
Build all the nodes / build01 (pull_request) Successful in 2m19s
Build all the nodes / hypervisor02 (pull_request) Successful in 2m19s
Build all the nodes / tower01 (pull_request) Successful in 2m18s
Build all the nodes / hypervisor03 (pull_request) Successful in 2m26s
Build all the nodes / compute01 (pull_request) Successful in 2m40s
Build all the nodes / vault01 (pull_request) Successful in 2m27s
Build all the nodes / web03 (pull_request) Successful in 2m10s
Build all the nodes / web01 (pull_request) Successful in 2m50s
Run pre-commit on all files / pre-commit (pull_request) Successful in 24s
17 lines
497 B
Nix
17 lines
497 B
Nix
# SPDX-FileCopyrightText: 2024 Ryan Lahfa <ryan.lahfa@dgnum.eu>
|
|
#
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
{ config, ... }:
|
|
let
|
|
svc = config.system.service;
|
|
in
|
|
{
|
|
# SSH keys are handled by the access control module.
|
|
dgn-access-control.enable = true;
|
|
users.root = {
|
|
# TODO: Change this well-known password
|
|
passwd = "$6$Z2MiaMXkpUJRPl2/$fxVE3iD/n208CISM2F6OnWj0Qq0QG2tTQqLCjU80PFJJGIwNLLyOp6SeYH3dH20OvJX1loZRETrThZfIPw.rb/";
|
|
};
|
|
services.sshd = svc.ssh.build { allowRoot = true; };
|
|
}
|