nixos/modules/nixos/management.nix
2024-05-14 09:29:16 -05:00

22 lines
378 B
Nix

{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
cockpit
];
services.cockpit = {
enable = true;
port = 9090;
settings = {
WebService = {
AllowUnencrypted = true;
};
};
};
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "without-password";
}