summaryrefslogtreecommitdiff
path: root/depo/hikuj-zupip/default.nix
blob: ed1733e6e44d88522d861daf8bce4156f35df707 (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
/*

hidor-kahih - main development/build server

*/

let
  nixpkgs = builtins.fetchTarball (import ../../pack/nixpkgs.nix);
in
import "${nixpkgs}/nixos" {
  system = "x86_64-linux";
  configuration = {
    nixpkgs.overlays = [
      (import ../../pack/overlay.nix)
    ];

    imports =
      [ ./hardware.nix
        ../users.nix
        ../packages.nix
        ./configuration.nix
    ];

    users.users.root.openssh.authorizedKeys.keys =
      [(builtins.readFile ../../keys/deploy.pub)];
  };
}