summaryrefslogtreecommitdiff
path: root/depo/hidor-kahih/default.nix
blob: 4af629f8f46edc22bd8fe35fdf83c296eb040139 (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
/*

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/ben.pub)];
  };
}