bvm-paperless: init
This commit is contained in:
parent
8a45d4525b
commit
8f6ae5cfd4
3 changed files with 28 additions and 1 deletions
25
ops/nixos/bvm-paperless/default.nix
Normal file
25
ops/nixos/bvm-paperless/default.nix
Normal 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";
|
||||
}
|
|
@ -43,6 +43,7 @@ let
|
|||
"bvm-radius"
|
||||
"bvm-heptapod"
|
||||
"bvm-logger"
|
||||
"bvm-paperless"
|
||||
];
|
||||
rebuilder = system: (import ./lib/rebuilder.nix (args // { system = system; }));
|
||||
systemCfgs = lib.genAttrs systems
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
; SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
; 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.
|
||||
$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-logger.blade 3600 IN A 10.100.0.209
|
||||
; bvm-oliver-snipeit.blade 3600 IN A 10.100.0.210
|
||||
bvm-paperless.blade 3600 IN A 10.100.0.211
|
||||
|
||||
; services
|
||||
; ceph-mon: blade-tuvok, blade-janeway, blade-paris
|
||||
|
|
Loading…
Reference in a new issue