Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-04-15 11:20:52 -04:00
parent dcc5c2f918
commit b6842ac55e
2 changed files with 21 additions and 31 deletions

View File

@ -75,6 +75,13 @@
# avalon
chrysalis = mkSystem [ ./hosts/chrysalis ./hardware/location/YOW ];
kos-mos = mkSystem [
./hosts/kos-mos
./hardware/alrest
./hardware/location/YOW
waifud.nixosModules.x86_64-linux.waifud-runner
];
logos = mkSystem [
./hosts/logos
./hardware/alrest
@ -132,6 +139,18 @@
};
};
deploy.nodes.kos-mos = {
hostname = "192.168.2.32";
sshUser = "root";
fastConnection = true;
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.kos-mos;
};
};
deploy.nodes.ontos = {
hostname = "192.168.2.34";
sshUser = "root";

View File

@ -3,39 +3,10 @@
{
imports = [ ./maisem.nix ];
services.corerad = {
enable = true;
settings = {
interfaces = [
{
name = "virbr0";
advertise = false;
prefix = [{ prefix = "fd69:420:e621:278a::/64"; }];
}
{
name = "enp2s0";
advertise = true;
prefix = [{ prefix = "fd69:420:e621::/64"; }];
}
];
debug = {
address = "[::]:38177";
prometheus = true;
};
};
};
users.motd = builtins.readFile ./motd;
environment.systemPackages = with pkgs; [ nodejs-14_x ];
services.tailscale.port = 15428;
# networking.interfaces."virbr0".ipv6.addresses = [{
# address = "fda2:d982:1da2:278a::";
# prefixLength = 64;
# }];
networking.interfaces."enp2s0".ipv6.addresses = [{
address = "fd69:420:e621::fe34:97ff:fe0d:1ecd";
prefixLength = 64;
}];
networking.hostName = "kos-mos";
networking.hostId = "472479d4";
}