nixos-config/machines/lasting-integrity/default.nix
Charlotte Van Petegem 0fc6c32a47
Reorganize repository
2021-07-10 09:03:38 +02:00

35 lines
688 B
Nix

{ pkgs, ... }:
{
imports = [
./hardware.nix
./secret.nix
];
time.timeZone = "Europe/Berlin";
networking.hostId = "b352adfe";
# Machine-specific module settings
chvp = {
stateVersion = "20.09";
base = {
network.ovh.enable = true;
zfs = {
backups = [{
path = "zroot/safe/data";
remotePath = "zdata/recv/lasting-integrity/safe/data";
fast = true;
location = "192.168.0.1";
}];
rootDataset = "zroot/local/root";
};
};
development.enable = true;
games.tetris.server = true;
services = {
nextcloud.enable = true;
syncthing.enable = true;
};
};
}