modules/maintenance: init

This commit is contained in:
Max Headroom 2022-04-01 19:21:44 +02:00
parent 0f744ff071
commit 282aaa6604
2 changed files with 17 additions and 0 deletions

View file

@ -10,6 +10,7 @@ let
hydra = import ./hydra;
hyprspace = import ./hyprspace;
ipfs = import ./ipfs;
maintenance = import ./maintenance;
nix-builder = import ./nix-builder;
nix-config = import ./nix-config;
nix-config-server = import ./nix-config/server.nix;
@ -26,6 +27,7 @@ in rec {
base = [
autopatch
enterprise
maintenance
];
networking = [

View file

@ -0,0 +1,15 @@
{
systemd.targets.maintenance = {
unitConfig.AllowIsolate = true;
wants = [
"basic.target"
"getty.target"
"network.target"
"network-online.target"
"sshd.service"
"fail2ban.service"
"hyprspace.service"
"dbus.service"
];
};
}