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

70 lines
1.1 KiB
Nix
Raw Normal View History

2021-12-28 16:19:29 +01:00
{ lib, config, pkgs, ... }: {
imports = [
../../system/all/defaults.nix
../../system/all/tinc.nix
./hetzner.nix
2021-12-29 19:46:20 +01:00
# todo
./nextcloud.nix
2021-12-28 16:19:29 +01:00
./packages.nix
./tinc.nix
2021-12-28 19:48:14 +01:00
./syncthing.nix
2021-12-29 19:46:20 +01:00
./taskserver.nix
./transmission.nix
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
#./gogs.nix
#./grafana.nix
#./graylog.nix
#./jenkins.nix
#./kibana.nix
#./mysql.nix
#./prometheus.nix
#./weechat.nix
#./property.nix # flask sucks, find something else
];
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
}