summaryrefslogtreecommitdiff
path: root/nixos-iso/zoom-iso.nix
blob: 28a44a509b07cd6513e1f099560bacde6d9a6885 (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
let
  config = { config, lib, pkgs, ... }: {
    imports = [
      (<nixpkgs> + "/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix")
    ];

    environment.systemPackages = with pkgs; [
      chromium
      zoom-us
      # for censoring screenshots of meetings when
      # screensharing doesn't work.
      gimp
      # generally useful utilities
      inetutils
      dnsutils
      htop iftop
      # for gnome
      gnome3.gnome-tweaks
    ];

    # Select internationalisation properties.
    i18n.defaultLocale = "de_DE.UTF-8";
    console = {
      font = "Lat2-Terminus16";
      keyMap = "de";
    };

    time.timeZone = "Europe/Prague";

    # necessary for zoom
    nixpkgs.config.allowUnfree = true;

  };
  nixlib = import (<nixpkgs> + "/nixos/default.nix") {
    configuration = config;
  };
in nixlib.config.system.build.isoImage