summaryrefslogtreecommitdiff
path: root/nixos.nix
blob: ea1605a5957229cbc4d39fb3750694c58ab22c06 (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
# Nix config for the main biz machine.

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

      # end config
      ./configuration.nix

      # our modules
      ./modules/ibb.nix
      ./modules/fathom.nix

      # third party
      (builtins.fetchTarball {
        url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/v2.2.0/nixos-mailserver-v2.2.0.tar.gz";
        sha256 = "0gqzgy50hgb5zmdjiffaqp277a68564vflfpjvk1gv6079zahksc";
      })
    ];
  };
}