1
0
Fork 0

setup temp provisions

This commit is contained in:
Malte Brandy 2020-03-29 15:22:17 +02:00
parent 679908fcff
commit 10ca8f75c0
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ lib, config, pkgs, ... }:
# You need pw-files for every configured user in ./secret/pw-useralias for login to work.
@ -19,7 +19,6 @@ in {
../../system/boot-key.nix
../../system/standalone
../../system/use-cache.nix
../../system/local-nix-cache.nix
];
networking = {
@ -82,11 +81,13 @@ in {
snapshotInterval = "*:00/3:00";
};
prometheus.exporters.node = {
enable = lib.mkForce false; # TMP
firewallFilter = "-i m0wire -p tcp -m tcp --dport 9100";
openFirewall = true;
};
syncthing = {
enable = true;
#enable = true; TMP
group = "users";
user = "maralorn";
openDefaultPorts = true;
@ -101,6 +102,7 @@ in {
cdark_net = {
enable = true;
#enable = true; TMP
hostName = "${me.user}_${config.networking.hostName}";
ed25519PrivateKeyFile = /etc/nixos/hosts + "/${config.networking.hostName}"
+ /secret/tinc/ed25519_key.priv;