depot/modules/maintenance/default.nix

21 lines
413 B
Nix
Raw Normal View History

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