depot/modules/maintenance/default.nix

20 lines
413 B
Nix

{ inputs, pkgs, ... }:
{
environment.systemPackages = [
inputs.nixos-command.packages.${pkgs.system}.nixos-command
];
systemd.targets.maintenance = {
unitConfig.AllowIsolate = true;
wants = [
"basic.target"
"getty.target"
"network.target"
"network-online.target"
"sshd.service"
"fail2ban.service"
"hyprspace.service"
"dbus.service"
];
};
}