main
nix 33 lines 539 Bytes
Raw
1 { pkgs, lib, ... }:
2
3 with lib;
4
5 {
6 imports = [ ./backup.nix ];
7
8 time.timeZone = "UTC";
9
10 users.mutableUsers = false;
11
12 users.extraUsers.root.openssh.authorizedKeys.keys = with import ../keys.nix; ssh.groups.infra-core;
13
14 nix = {
15 settings = {
16 cores = 0;
17 experimental-features = [
18 "nix-command"
19 "flakes"
20 ];
21 };
22 };
23
24 environment.systemPackages = [
25 pkgs.git
26 pkgs.gdb
27
28 # jq is required by numtide/terraform-deploy-nixos-flakes.
29 pkgs.jq
30 ];
31
32 services.openssh.enable = true;
33 }