summaryrefslogtreecommitdiffstats
path: root/release.nix
blob: 88abd260d75652693708015ca7cdeee059545ec6 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{ ... }:

let
  shim = {
    boot.loader.systemd-boot.enable = true;

    fileSystems."/" = {
      device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
      fsType = "btrfs";
    };

    nixpkgs.config = {
      allowBroken = true;
      allowUnfree = true;
    };
  };

  buildProfile = profile: (import <nixpkgs/nixos> {
    configuration.imports = [ profile shim ];
  }).system;
in

{
  acer-aspire-4810t = buildProfile ./acer/aspire/4810t;

  airis-n990 = buildProfile ./airis/n990;

  apple-macbook-air-4 = buildProfile ./apple/macbook-air/4;
  apple-macbook-air-6 = buildProfile ./apple/macbook-air/6;
  apple-macbook-pro-10-1 = buildProfile ./apple/macbook-pro/10-1;
  apple-macbook-pro-11-5 = buildProfile ./apple/macbook-pro/11-5;
  apple-macbook-pro-12-1 = buildProfile ./apple/macbook-pro/12-1;

  dell-e7240 = buildProfile ./dell/e7240;
  dell-xps-13-9380 = buildProfile ./dell/xps/13-9380;
  dell-xps-13-9370 = buildProfile ./dell/xps/13-9370;
  dell-xps-15-9550 = buildProfile ./dell/xps/15-9550;

  lenovo-thinkpad-t410 = buildProfile ./lenovo/thinkpad/t410;
  lenovo-thinkpad-t440p = buildProfile ./lenovo/thinkpad/t440p;
  lenovo-thinkpad-t450s = buildProfile ./lenovo/thinkpad/t450s;
  lenovo-thinkpad-t460s = buildProfile ./lenovo/thinkpad/t460s;
  lenovo-thinkpad-x140e = buildProfile ./lenovo/thinkpad/x140e;
  lenovo-thinkpad-x220 = buildProfile ./lenovo/thinkpad/x220;
  lenovo-thinkpad-x230 = buildProfile ./lenovo/thinkpad/x230;
  lenovo-thinkpad-x250 = buildProfile ./lenovo/thinkpad/x250;
  lenovo-thinkpad-x260 = buildProfile ./lenovo/thinkpad/x260;
  lenovo-thinkpad-x280 = buildProfile ./lenovo/thinkpad/x280;

  microsoft-surface-pro-3 = buildProfile ./microsoft/surface-pro/3;

  pcengines-apu = buildProfile ./pcengines/apu;

  toshiba-swanky = buildProfile ./toshiba/swanky;
}