aboutsummaryrefslogtreecommitdiff
path: root/modules/private/system/backup-2.nix
blob: c67eab64a609b928bd754a819a81e57f4d549436 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ privateFiles }:
{ config, pkgs, myconfig, ... }:
{
  boot.kernelPackages = pkgs.linuxPackages_latest;
  _module.args.privateFiles = privateFiles;
  imports = builtins.attrValues (import ../..);

  deployment = {
    targetEnv = "hetznerCloud";
    hetznerCloud = {
      authToken = myconfig.env.hetznerCloud.authToken;
      datacenter = "hel1-dc2";
      location  ="hel1";
      serverType = "cx11";
    };
  };

  # This value determines the NixOS release with which your system is
  # to be compatible, in order to avoid breaking some software such as
  # database servers. You should change this only after NixOS release
  # notes say you should.
  # https://nixos.org/nixos/manual/release-notes.html
  system.stateVersion = "19.03"; # Did you read the comment?
}