feat: move MOMO to cloud.oracle.com

This commit is contained in:
Jacob Bachmann 2025-12-04 23:44:46 +01:00
parent 7dab99bd6d
commit 2ae9fa7b88
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
18 changed files with 52 additions and 68 deletions

View file

@ -70,12 +70,7 @@
}
{
domain = "momo.dryb.org";
answer = "188.245.216.128";
enabled = true;
}
{
domain = "momo.dryb.org";
answer = "2a01:4f8:1c1e:8abc::1";
answer = "144.24.175.22";
enabled = true;
}
{

View file

@ -24,6 +24,8 @@
services.logind.settings.Login.HandleLidSwitch = "ignore";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
users.groups.media = { };
systemd.tmpfiles.rules = [ "d /var/lib/media 2770 root media" ];
}

View file

@ -7,13 +7,6 @@
../../modules
];
bchmnn = {
network = {
resolved.enable = true;
networkd.enable = true;
};
};
services.openssh = {
settings = {
PasswordAuthentication = false;

View file

@ -44,25 +44,15 @@
};
root = {
name = "ROOT";
end = "-8G";
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
plainSwap = {
size = "100%";
content = {
type = "swap";
discardPolicy = "both";
};
};
};
};
};
};
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}

View file

@ -1,22 +1,27 @@
{ ... }:
{ lib, ... }:
{
networking = {
hostName = "MOMO";
interfaces.enp1s0 = {
ipv6.addresses = [
defaultGateway = "10.0.0.1";
nameservers = [
"9.9.9.9"
"149.112.112.112"
"2620:fe::fe"
"2620:fe::9"
];
interfaces.enp0s6 = {
ipv4.addresses = [
{
address = "2a01:4f8:1c1e:8abc::1";
prefixLength = 64;
address = "10.0.0.183";
prefixLength = 24;
}
];
};
defaultGateway6 = {
address = "fe80::1";
interface = "enp1s0";
interface = "enp0s6";
};
nameservers = [
"2a01:4ff:ff00::add:1"
"2a01:4ff:ff00::add:2"
];
};
networking.useDHCP = lib.mkDefault true;
}

View file

@ -30,7 +30,6 @@
# stuff
nixd
nixfmt-rfc-style
inputs.agenix.packages.x86_64-linux.default
nix-output-monitor
nvd
];