Add cloud-init and digital ocean agent monitor
This should help with properly setting up IPv6 and with getting statistics about what the machine is doing.
This commit is contained in:
parent
ebb456c7cc
commit
93c0365a5f
3 changed files with 19 additions and 0 deletions
10
nixos-anywhere/modules/system/cloud-init.nix
Normal file
10
nixos-anywhere/modules/system/cloud-init.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, pkgs, configFiles, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
services.cloud-init = {
|
||||
enable = true;
|
||||
network.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./cloud-init.nix
|
||||
./do-agent.nix
|
||||
./fish.nix
|
||||
./tmux.nix
|
||||
];
|
||||
|
|
|
|||
7
nixos-anywhere/modules/system/do-agent.nix
Normal file
7
nixos-anywhere/modules/system/do-agent.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, pkgs, configFiles, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
services.do-agent.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue