Compare commits
7 commits
513d5ad981
...
8b79e92442
Author | SHA1 | Date | |
---|---|---|---|
8b79e92442 | |||
0f6d55acbb | |||
4495a65881 | |||
b1b96df511 | |||
d9eda04704 | |||
5f8e3728ce | |||
63af113001 |
5 changed files with 128 additions and 108 deletions
42
flake.lock
42
flake.lock
|
@ -81,11 +81,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704072400,
|
||||
"narHash": "sha256-Es4zcFoCJ+Pa9TN46VoqgNlYznuhc6s50LRcDqQEATs=",
|
||||
"lastModified": 1704318910,
|
||||
"narHash": "sha256-wOIJwAsnZhM0NlFRwYJRgO4Lldh8j9viyzwQXtrbNtM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"rev": "59f915b45a38cb0ec0e97a713237877a06b43386",
|
||||
"rev": "aef9a509db64a081186af2dc185654d78dc8e344",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -105,11 +105,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704212238,
|
||||
"narHash": "sha256-/SqnUe8tLLUo93VEe0bveFMwo95n6ozBzPK7a1MycmI=",
|
||||
"lastModified": 1704530953,
|
||||
"narHash": "sha256-hfllh8Dd/XhbyxNensq2PAdnvJtPXJmxUQqWrKUdUCk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "e3fb072d0225fee400a7d0f8106dd555f950a6bd",
|
||||
"rev": "85ac1bf8543d2e179d7748f3788d58b06eacc758",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -340,11 +340,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704100519,
|
||||
"narHash": "sha256-SgZC3cxquvwTN07vrYYT9ZkfvuhS5Y1k1F4+AMsuflc=",
|
||||
"lastModified": 1704498488,
|
||||
"narHash": "sha256-yINKdShHrtjdiJhov+q0s3Y3B830ujRoSbHduUNyKag=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "6e91c5df192395753d8e6d55a0352109cb559790",
|
||||
"rev": "51e44a13acea71b36245e8bd8c7db53e0a3e61ee",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -467,11 +467,11 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1704228290,
|
||||
"narHash": "sha256-M3y1ADeFVdPTV/bJXvO5QHDYFujzpJNblkfIgECTxGc=",
|
||||
"lastModified": 1704458188,
|
||||
"narHash": "sha256-f6BYEuIqnbrs6J/9m1/1VdkJ6d63hO9kUC09kTPuOqE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "5bf829d72ccdc05be3343afd81bd922d5748ef4e",
|
||||
"rev": "172385318068519900a7d71c1024242fa6af75f0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -482,11 +482,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1703961334,
|
||||
"narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=",
|
||||
"lastModified": 1704194953,
|
||||
"narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9",
|
||||
"rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -516,11 +516,11 @@
|
|||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1703992652,
|
||||
"narHash": "sha256-C0o8AUyu8xYgJ36kOxJfXIroy9if/G6aJbNOpA5W0+M=",
|
||||
"lastModified": 1704295289,
|
||||
"narHash": "sha256-9WZDRfpMqCYL6g/HNWVvXF0hxdaAgwgIGeLYiOhmes8=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "32f63574c85fbc80e4ba1fbb932cde9619bad25e",
|
||||
"rev": "b0b2c5445c64191fd8d0b31f2b1a34e45a64547d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -676,11 +676,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704075545,
|
||||
"narHash": "sha256-L3zgOuVKhPjKsVLc3yTm2YJ6+BATyZBury7wnhyc8QU=",
|
||||
"lastModified": 1704507282,
|
||||
"narHash": "sha256-PDfS8fj40mm2QWpbd/aiocgwcI/WHzqLKERRJkoEvXU=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "a0df72e106322b67e9c6e591fe870380bd0da0d5",
|
||||
"rev": "a127cccf7943beae944953963ba118d643299c3b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -54,11 +54,19 @@ in
|
|||
};
|
||||
|
||||
"git.datarift.nl" = {
|
||||
hostname = "gitea.barn-beaver.ts.net";
|
||||
port = 2222;
|
||||
# hostname = "gitea.barn-beaver.ts.net";
|
||||
# port = 2222;
|
||||
hostname = "10.0.0.203";
|
||||
identityFile = personalKey;
|
||||
};
|
||||
|
||||
hass =
|
||||
{
|
||||
hostname = "10.0.0.254";
|
||||
user = "root";
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
};
|
||||
|
||||
horus-vpn = {
|
||||
hostname = "192.168.4.202";
|
||||
identityFile = horusKey;
|
||||
|
|
|
@ -40,6 +40,7 @@ inputs: {
|
|||
sshUser = "erwin";
|
||||
buildOn = "local";
|
||||
substituteOnTarget = true;
|
||||
tags = [ "metal" ];
|
||||
};
|
||||
};
|
||||
loki = {
|
||||
|
@ -61,6 +62,13 @@ inputs: {
|
|||
};
|
||||
odin = {
|
||||
config = import ./odin/configuration.nix inputs;
|
||||
deploy = {
|
||||
# host = "10.0.0.252";
|
||||
host = "odin.barn-beaver.ts.net";
|
||||
buildOn = "local";
|
||||
substituteOnTarget = true;
|
||||
tags = [ "metal" ];
|
||||
};
|
||||
};
|
||||
proxy = {
|
||||
config = import ./proxy/configuration.nix inputs;
|
||||
|
|
|
@ -199,107 +199,110 @@
|
|||
sudo.enable = false;
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
systemd = {
|
||||
|
||||
wait-online = {
|
||||
anyInterface = true;
|
||||
};
|
||||
network = {
|
||||
enable = true;
|
||||
|
||||
netdevs = {
|
||||
"10-wghorus" = {
|
||||
netdevConfig = {
|
||||
Kind = "wireguard";
|
||||
MTUBytes = "1420";
|
||||
Name = "wghorus";
|
||||
};
|
||||
|
||||
wireguardConfig = {
|
||||
PrivateKeyFile = config.sops.secrets.wireguard-horus-privkey.path;
|
||||
ListenPort = 51820;
|
||||
};
|
||||
|
||||
wireguardPeers = [
|
||||
{
|
||||
wireguardPeerConfig = {
|
||||
PublicKey = "6faxlUG8+F7uVrKk/OJqqy5k2+OzrhXc/cV6Zsfbl0c=";
|
||||
AllowedIPs = [ "192.168.4.0/23" "192.168.6.0/24" "192.168.7.0/24" "192.168.8.0/24" ];
|
||||
Endpoint = "212.45.34.195:51820";
|
||||
PersistentKeepalive = 25;
|
||||
};
|
||||
}
|
||||
];
|
||||
wait-online = {
|
||||
anyInterface = true;
|
||||
};
|
||||
};
|
||||
|
||||
networks = {
|
||||
"40-enp4s0" = {
|
||||
matchConfig = {
|
||||
Name = "enp4s0";
|
||||
};
|
||||
netdevs = {
|
||||
"10-wghorus" = {
|
||||
netdevConfig = {
|
||||
Kind = "wireguard";
|
||||
MTUBytes = "1420";
|
||||
Name = "wghorus";
|
||||
};
|
||||
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
wireguardConfig = {
|
||||
PrivateKeyFile = config.sops.secrets.wireguard-horus-privkey.path;
|
||||
ListenPort = 51820;
|
||||
};
|
||||
|
||||
wireguardPeers = [
|
||||
{
|
||||
wireguardPeerConfig = {
|
||||
PublicKey = "6faxlUG8+F7uVrKk/OJqqy5k2+OzrhXc/cV6Zsfbl0c=";
|
||||
AllowedIPs = [ "192.168.4.0/23" "192.168.6.0/24" "192.168.7.0/24" "192.168.8.0/24" ];
|
||||
Endpoint = "212.45.34.195:51820";
|
||||
PersistentKeepalive = 25;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
"40-wghorus" = {
|
||||
matchConfig = {
|
||||
Name = "wghorus";
|
||||
|
||||
networks = {
|
||||
"40-enp4s0" = {
|
||||
matchConfig = {
|
||||
Name = "enp4s0";
|
||||
};
|
||||
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
};
|
||||
};
|
||||
"40-wghorus" = {
|
||||
matchConfig = {
|
||||
Name = "wghorus";
|
||||
};
|
||||
|
||||
linkConfig = {
|
||||
ActivationPolicy = "manual";
|
||||
};
|
||||
linkConfig = {
|
||||
ActivationPolicy = "manual";
|
||||
};
|
||||
|
||||
networkConfig = {
|
||||
DHCP = "no";
|
||||
DNS = "192.168.4.1";
|
||||
Domains = [ "bedum.horus.nu" "internal.horus.nu" ];
|
||||
};
|
||||
networkConfig = {
|
||||
DHCP = "no";
|
||||
DNS = "192.168.4.1";
|
||||
Domains = [ "bedum.horus.nu" "internal.horus.nu" ];
|
||||
};
|
||||
|
||||
address = [
|
||||
"10.10.4.2/24"
|
||||
];
|
||||
address = [
|
||||
"10.10.4.2/24"
|
||||
];
|
||||
|
||||
routes = [
|
||||
{
|
||||
routeConfig =
|
||||
{
|
||||
Destination = "192.168.4.0/23";
|
||||
routes = [
|
||||
{
|
||||
routeConfig =
|
||||
{
|
||||
Destination = "192.168.4.0/23";
|
||||
Scope = "link";
|
||||
};
|
||||
}
|
||||
{
|
||||
routeConfig = {
|
||||
Destination = "192.168.6.0/24";
|
||||
Scope = "link";
|
||||
};
|
||||
}
|
||||
{
|
||||
routeConfig = {
|
||||
Destination = "192.168.6.0/24";
|
||||
Scope = "link";
|
||||
};
|
||||
}
|
||||
{
|
||||
routeConfig =
|
||||
{
|
||||
Destination = "192.168.7.0/24";
|
||||
Scope = "link";
|
||||
};
|
||||
}
|
||||
{
|
||||
routeConfig =
|
||||
{
|
||||
Destination = "192.168.8.0/24";
|
||||
Scope = "link";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
routeConfig =
|
||||
{
|
||||
Destination = "192.168.7.0/24";
|
||||
Scope = "link";
|
||||
};
|
||||
}
|
||||
{
|
||||
routeConfig =
|
||||
{
|
||||
Destination = "192.168.8.0/24";
|
||||
Scope = "link";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
links = {
|
||||
"40-enp4s0" = {
|
||||
matchConfig = {
|
||||
OriginalName = "enp4s0";
|
||||
};
|
||||
linkConfig = {
|
||||
WakeOnLan = "magic";
|
||||
links = {
|
||||
"40-enp4s0" = {
|
||||
matchConfig = {
|
||||
OriginalName = "enp4s0";
|
||||
};
|
||||
linkConfig = {
|
||||
WakeOnLan = "magic";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -206,6 +206,7 @@ in
|
|||
# super-slicer-latest
|
||||
units
|
||||
unzip
|
||||
vial
|
||||
xdg-utils
|
||||
wl-clipboard
|
||||
zeal
|
||||
|
|
Loading…
Reference in a new issue