bvm-paperless: init

This commit is contained in:
Luke Granger-Brown 2022-04-04 19:11:22 +00:00
parent 8a45d4525b
commit 8f6ae5cfd4
3 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: 2022 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, pkgs, ... }:
let
inherit (depot.ops) secrets;
in {
imports = [
../lib/bvm.nix
];
# Networking!
networking = {
hostName = "bvm-paperless";
hostId = "c8d6f81f";
interfaces.enp1s0 = {
ipv4.addresses = [{ address = "10.100.0.211"; prefixLength = 23; }];
};
};
my.ip.tailscale = "100.85.236.121";
system.stateVersion = "22.05";
}

View file

@ -43,6 +43,7 @@ let
"bvm-radius" "bvm-radius"
"bvm-heptapod" "bvm-heptapod"
"bvm-logger" "bvm-logger"
"bvm-paperless"
]; ];
rebuilder = system: (import ./lib/rebuilder.nix (args // { system = system; })); rebuilder = system: (import ./lib/rebuilder.nix (args // { system = system; }));
systemCfgs = lib.genAttrs systems systemCfgs = lib.genAttrs systems

View file

@ -3,7 +3,7 @@
; SPDX-License-Identifier: Apache-2.0 ; SPDX-License-Identifier: Apache-2.0
; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL
@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 45 600 450 3600 300 @ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 46 600 450 3600 300
; NB: this are also glue records in Google Domains. ; NB: this are also glue records in Google Domains.
$INCLUDE tmpl.ns $INCLUDE tmpl.ns
@ -155,6 +155,7 @@ bvm-radius.blade 3600 IN A 10.100.0.207
bvm-heptapod.blade 3600 IN A 10.100.0.208 bvm-heptapod.blade 3600 IN A 10.100.0.208
bvm-logger.blade 3600 IN A 10.100.0.209 bvm-logger.blade 3600 IN A 10.100.0.209
; bvm-oliver-snipeit.blade 3600 IN A 10.100.0.210 ; bvm-oliver-snipeit.blade 3600 IN A 10.100.0.210
bvm-paperless.blade 3600 IN A 10.100.0.211
; services ; services
; ceph-mon: blade-tuvok, blade-janeway, blade-paris ; ceph-mon: blade-tuvok, blade-janeway, blade-paris