nixos-systems/modules/system/cloud-init.nix
Eli Ribble fe4d33cf03 Make do-agent, cloud-init, and fish opt-in via config
I just like having lists that show what's going on, and light redundancy
doesn't bother me.
2025-07-17 17:09:11 +00:00

13 lines
277 B
Nix

{ config, lib, pkgs, configFiles, ... }:
with lib;
{
options.myModules.cloud-init.enable = mkEnableOption "custom cloud-init configuration";
config = mkIf config.myModules.cloud-init.enable {
services.cloud-init = {
enable = true;
network.enable = true;
};
};
}