nixos-config/nixos/configs/robi/configuration.nix

86 lines
1.7 KiB
Nix
Raw Normal View History

2021-12-28 16:19:29 +01:00
{ lib, config, pkgs, ... }: {
imports = [
2022-01-23 20:23:47 +01:00
../../system/all/borg-jobs.nix
2021-12-28 16:19:29 +01:00
../../system/all/defaults.nix
2022-01-23 20:23:47 +01:00
../../system/all/sshd-known-hosts-bootup.nix
../../system/all/sshd-known-hosts-private.nix
../../system/all/sshd-known-hosts-public.nix
../../system/all/syncthing.nix
2021-12-28 16:19:29 +01:00
../../system/all/tinc.nix
2022-01-23 20:23:47 +01:00
2021-12-30 01:35:19 +01:00
../../system/server/netdata.nix
2021-12-28 16:19:29 +01:00
./hetzner.nix
2022-01-23 20:23:47 +01:00
./codimd.nix
./gitea.nix
./grocy.nix
./nextcloud.nix
2021-12-28 16:19:29 +01:00
./packages.nix
2021-12-28 19:48:14 +01:00
./syncthing.nix
2021-12-29 19:46:20 +01:00
./taskserver.nix
2022-01-23 20:23:47 +01:00
./tinc.nix
2021-12-29 19:46:20 +01:00
./transmission.nix
2022-01-23 20:23:47 +01:00
./vaultwarden.nix
2022-01-13 13:40:18 +01:00
2021-12-28 16:19:29 +01:00
#../../system/server
2021-12-28 19:48:14 +01:00
2021-12-28 16:19:29 +01:00
#./hardware-configuration.nix
#./mail-fetcher.nix
#./borg.nix
#./finance.nix
#./grafana.nix
#./graylog.nix
#./jenkins.nix
#./kibana.nix
#./mysql.nix
#./prometheus.nix
#./weechat.nix
#./property.nix # flask sucks, find something else
];
2022-01-01 10:31:13 +01:00
# 2 hours = 2 * 60 * 60 = 7200 seconds
#services.netdata.config.global.history = 7200;
# 4 hours = 4 * 60 * 60 = 14440 seconds
services.netdata.config.global.history = 14440;
# 24 hours = 24 * 60 * 60 = 86400 seconds
#services.netdata.config.global.history = 86400;
2021-12-31 19:15:48 +01:00
services.sshguard.enable = true;
2021-12-29 19:46:20 +01:00
# Shell configuration
# -------------------
programs.custom = {
bash.enable = true;
zsh.enable = true;
};
2021-12-28 16:19:29 +01:00
security.acme = {
acceptTerms = true;
email = "contact@ingolf-wagner.de";
};
sops.defaultSopsFile = ../../secrets/robi.yaml;
virtualisation.docker.enable = false;
services.printing.enable = false;
services.smartd.enable = true;
fileSystems."/var/lib/nextcloud" =
{
device = "/dev/vg/nextcloud";
fsType = "ext4";
};
2021-12-28 19:48:14 +01:00
fileSystems."/media" =
{
device = "/dev/vg/media";
fsType = "ext4";
};
2021-12-28 16:19:29 +01:00
}