Compare commits
No commits in common. "16f7a8fc81d0b1df4eacb51f21b46e382653c780" and "2df96c6888f2365afa51372fbeea86d5306e6319" have entirely different histories.
16f7a8fc81
...
2df96c6888
4 changed files with 2 additions and 68 deletions
|
@ -1,4 +1,4 @@
|
||||||
#cloud-config
|
#cloud-config
|
||||||
|
|
||||||
runcmd:
|
runcmd:
|
||||||
- curl https://git.cherrykitten.dev/sammy/nixos-infect/raw/branch/sammy/nixos-infect | PROVIDER=hetznercloud NIX_CHANNEL=nixos-23.11 bash 2>&1 | tee /tmp/infect.log
|
- curl https://git.cherrykitten.dev/sammy/nixos-infect/raw/branch/sammy/nixos-infect | PROVIDER=hetznercloud NIX_CHANNEL=nixos-24.05 bash 2>&1 | tee /tmp/infect.log
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
{ lib, config, ... }: {
|
|
||||||
imports = [ ../../profiles/hcloud ];
|
|
||||||
|
|
||||||
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
|
|
||||||
cherrykitten.backups.enable = true;
|
|
||||||
cherrykitten.network = {
|
|
||||||
public_IPv4 = "116.203.116.228";
|
|
||||||
public_IPv6 = "2a01:4f8:1c1b:5db9::1";
|
|
||||||
internal_IPv4 = "10.69.0.2";
|
|
||||||
internal_IPv6 = "fe80::8400:ff:fe8e:e0a0";
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
nameservers = [
|
|
||||||
"2a01:4ff:ff00::add:2"
|
|
||||||
"2a01:4ff:ff00::add:1"
|
|
||||||
"185.12.64.2"
|
|
||||||
];
|
|
||||||
defaultGateway = "172.31.1.1";
|
|
||||||
defaultGateway6 = {
|
|
||||||
address = "fe80::1";
|
|
||||||
interface = "eth0";
|
|
||||||
};
|
|
||||||
dhcpcd.enable = false;
|
|
||||||
usePredictableInterfaceNames = lib.mkForce false;
|
|
||||||
interfaces = {
|
|
||||||
eth0 = {
|
|
||||||
ipv4.addresses = [
|
|
||||||
{ address = config.cherrykitten.network.public_IPv4; prefixLength = 32; }
|
|
||||||
];
|
|
||||||
ipv6.addresses = [
|
|
||||||
{ address = config.cherrykitten.network.public_IPv6; prefixLength = 64; }
|
|
||||||
];
|
|
||||||
ipv4.routes = [{ address = "172.31.1.1"; prefixLength = 32; }];
|
|
||||||
ipv6.routes = [{ address = "fe80::1"; prefixLength = 128; }];
|
|
||||||
};
|
|
||||||
ens10 = {
|
|
||||||
ipv4.addresses = [
|
|
||||||
{ address = config.cherrykitten.network.internal_IPv4; prefixLength = 32; }
|
|
||||||
];
|
|
||||||
ipv6.addresses = [
|
|
||||||
{ address = config.cherrykitten.network.internal_IPv6; prefixLength = 64; }
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
ATTR{address}=="96:00:03:60:ec:55", NAME="eth0"
|
|
||||||
ATTR{address}=="86:00:00:8e:e0:a0", NAME="ens10"
|
|
||||||
'';
|
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 30c69cc70b5f1a94604e98bbf6b6aecab2b7cfc5
|
Subproject commit 9f826561fd578f38aded0962cfcfea70155c8536
|
|
@ -39,19 +39,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"serval" = {
|
|
||||||
host = "serval";
|
|
||||||
hostname = "2a01:4f8:1c1b:5db9::1";
|
|
||||||
identityFile = "~/.ssh/yubikey.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
remoteForwards = [
|
|
||||||
{
|
|
||||||
bind.address = "/run/user/1000/gnupg/S.gpg-agent";
|
|
||||||
host.address = "/run/user/1000/gnupg/S.gpg-agent.extra";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
"chat.cherrykitten.dev" = {
|
"chat.cherrykitten.dev" = {
|
||||||
host = "chat.cherrykitten.dev chat";
|
host = "chat.cherrykitten.dev chat";
|
||||||
hostname = "chat.cherrykitten.dev";
|
hostname = "chat.cherrykitten.dev";
|
||||||
|
|
Loading…
Reference in a new issue