19 lines
401 B
Nix
19 lines
401 B
Nix
{ lib, ... }:
|
|
{
|
|
clan.networking.targetHost = "__CLAN_TARGET_ADDRESS__";
|
|
system.stateVersion = lib.version;
|
|
clan.virtualisation.graphics = false;
|
|
|
|
networking.useDHCP = false;
|
|
|
|
systemd.services.shutdown-after-boot = {
|
|
enable = true;
|
|
wantedBy = [ "multi-user.target" ];
|
|
after = [ "multi-user.target" ];
|
|
script = ''
|
|
#!/usr/bin/env bash
|
|
shutdown -h now
|
|
'';
|
|
};
|
|
}
|