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

let
  nixpkgs = fetchGit (import ./pkgs.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

      # 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";
      })
    ];
  };
}