parent
7863907253
commit
815a45f6b5
20
flake.nix
20
flake.nix
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
}
|
|
@ -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";
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
[0m [1;31m█████[0m
|
||||
[1;31m███████[0m
|
||||
[1;31m███████[0m
|
||||
[1;31m█████[0m
|
||||
[1;31m█████[0m
|
||||
[1;31m█████[0m
|
||||
[1;31m█████[0m
|
||||
[1;31m"I am Monado. I was here at the beginning. And I will proclaim the end."[0m
|
||||
|
Loading…
Reference in New Issue