modules/maintenance: init
This commit is contained in:
parent
0f744ff071
commit
282aaa6604
2 changed files with 17 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
15
modules/maintenance/default.nix
Normal file
15
modules/maintenance/default.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue