1
0
Fork 0

Make configuration fetches host-specific

This commit is contained in:
Malte Brandy 2019-04-22 12:48:15 +02:00
parent a3282f043b
commit 681e2f7378
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
3 changed files with 5 additions and 3 deletions

View file

@ -11,6 +11,7 @@ in {
imports = [
"${nixos-hardware}/lenovo/thinkpad"
"${nixos-hardware}/common/pc/ssd"
"${(builtins.fetchGit "ssh://git@git.darmstadt.ccc.de/cdark.net/nixdark")}"
./hardware-configuration.nix
../../system
];

View file

@ -23,7 +23,10 @@ containers.mail = {
bindMounts = { "${certPath}" = { hostPath = certPath; }; };
autoStart = true;
config = { pkgs, lib, ... }: {
imports = [../../system];
imports = [
../../system
"${(builtins.fetchGit "ssh://git@hera/nixos-mailserver")}"
];
services.prometheus.exporters = {
node.port = 9101;
postfix = {

View file

@ -13,8 +13,6 @@ in {
./modules/blog.nix
./modules/riot.nix
./modules/standalone
"${(builtins.fetchGit "ssh://git@git.darmstadt.ccc.de/cdark.net/nixdark")}"
"${(builtins.fetchGit "ssh://git@hera/nixos-mailserver")}"
./modules/loginctl-linger.nix
];