30 lines
688 B
Nix
30 lines
688 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
../../shared/known-hosts.nix
|
|
../../shared/nix-daemon.nix
|
|
./apfs-cleanup.nix
|
|
./builder.nix
|
|
./network.nix
|
|
./packages.nix
|
|
./reboot.nix
|
|
./software-update.nix
|
|
./sops-nix.nix
|
|
./telegraf.nix
|
|
./users.nix
|
|
inputs.srvos.darwinModules.server
|
|
];
|
|
|
|
# https://github.com/NixOS/nix/issues/7273
|
|
nix.settings.auto-optimise-store = false;
|
|
|
|
environment.etc."ssh/sshd_config.d/darwin.conf".text = ''
|
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
|
'';
|
|
|
|
system.activationScripts.postActivation.text = ''
|
|
echo disabling spotlight indexing... >&2
|
|
mdutil -a -i off -d &> /dev/null
|
|
mdutil -a -E &> /dev/null
|
|
'';
|
|
}
|