nixos-config/nixos/configs/robi/configuration.nix
2021-12-31 19:15:48 +01:00

73 lines
1.2 KiB
Nix

{ lib, config, pkgs, ... }: {
imports = [
../../system/all/defaults.nix
../../system/all/tinc.nix
../../system/server/netdata.nix
./hetzner.nix
./packages.nix
./tinc.nix
./syncthing.nix
./taskserver.nix
./transmission.nix
./nextcloud.nix
# todo
./gitlab.nix
#../../system/server
#./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
];
services.sshguard.enable = true;
# Shell configuration
# -------------------
programs.custom = {
bash.enable = true;
zsh.enable = true;
};
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";
};
fileSystems."/media" =
{
device = "/dev/vg/media";
fsType = "ext4";
};
}