summaryrefslogtreecommitdiff
path: root/nixos.nix
blob: deb04194d1d8399b6238c04f3c5f239079a54ab9 (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
      ./ibb/module.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";
      })
    ];
  };
}