add ontos

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-04-15 11:07:21 -04:00
parent 7863907253
commit 815a45f6b5
6 changed files with 67 additions and 1 deletions

View File

@ -74,6 +74,7 @@
nixosConfigurations = {
# avalon
chrysalis = mkSystem [ ./hosts/chrysalis ./hardware/location/YOW ];
logos = mkSystem [
./hosts/logos
./hardware/alrest
@ -81,6 +82,13 @@
waifud.nixosModules.x86_64-linux.waifud-runner
];
ontos = mkSystem [
./hosts/ontos
./hardware/alrest
./hardware/location/YOW
waifud.nixosModules.x86_64-linux.waifud-runner
];
# cloud
firgu = mkSystem [ ./hosts/firgu ];
@ -124,6 +132,18 @@
};
};
deploy.nodes.ontos = {
hostname = "192.168.2.34";
sshUser = "root";
fastConnection = true;
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.ontos;
};
};
# deploy.nodes.hugo = {
# hostname = "10.77.129.6";
# sshUser = "root";

View File

@ -1,7 +1,8 @@
{ config, pkgs, ... }:
{
imports = [ ./hardware-configuration.nix ./zfs.nix ./zrepl.nix ];
imports =
[ ./monitoring.nix ./hardware-configuration.nix ./zfs.nix ./zrepl.nix ];
within.users.enableSystem = true;

View File

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
let metadata = pkgs.callPackage ../../../ops/metadata/peers.nix { };
in {
services.prometheus = {
exporters = {
node = {
enable = true;
enabledCollectors = [ "systemd" ];
};
wireguard = {
enable = true;
};
};
};
}

View File

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
users.motd = builtins.readFile ./motd;
services.tailscale.port = 15429;
networking.hostName = "ontos";
networking.hostId = "07602ecc";
#within.backups.repo = "57196@usw-s007.rsync.net:ontos";
}

10
hosts/ontos/default.nix Executable file
View File

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
users.motd = builtins.readFile ./motd;
services.tailscale.port = 15429;
networking.hostName = "ontos";
networking.hostId = "07602ecc";
within.backups.repo = "57196@usw-s007.rsync.net:ontos";
}

9
hosts/ontos/motd Normal file
View File

@ -0,0 +1,9 @@
 █████
███████
███████
█████
█████
█████
█████
"I am Monado. I was here at the beginning. And I will proclaim the end."