about summary refs log tree commit diff
path: root/nixos/colmena.nix
blob: 99945e6b3601190b5b886d558123bd393e4b8ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ self, unstable, unstable-small, ... } @ inputs:

{
  meta = {
    nixpkgs = import unstable {
      system = "x86_64-linux";
    };
  };

  defaults = { pkgs, ... }: {
    environment.systemPackages = with pkgs; [
      curl
      vim
    ];
  };

  cobalt = self.lib.mkColmena {
    name = "cobalt";
    system = "x86_64-linux";
    inputs = inputs;
    deployment = {
      targetHost = "cobalt.sefidel.com";
      targetPort = 22;
      targetUser = "root";
    };
    time.timeZone = "UTC";
  };
}