modules/maintenance: provide nixos-command

This commit is contained in:
Max Headroom 2022-10-18 23:47:32 +02:00
parent 114006312c
commit 3a99af772f

View file

@ -1,4 +1,9 @@
{ inputs, pkgs, ... }:
{ {
environment.systemPackages = [
inputs.nixos-command.packages.${pkgs.system}.nixos-command
];
systemd.targets.maintenance = { systemd.targets.maintenance = {
unitConfig.AllowIsolate = true; unitConfig.AllowIsolate = true;
wants = [ wants = [