Make configuration fetches host-specific
This commit is contained in:
parent
a3282f043b
commit
681e2f7378
3 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue