From d8a1a9a1c04b147da627a318cc5344c74bd2af36 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 13 Apr 2021 23:22:01 +0200 Subject: simple nixos-based live system that runs zoom the nixos-installer is non writable by default, so this is basically a completely stateless system that can run any software which I don't normally want to run (with some exceptions), but still frequently need for some reason ... --- .gitignore | 1 + nixos-iso/zoom-iso.nix | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .gitignore create mode 100644 nixos-iso/zoom-iso.nix diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f1a6fb8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*result* diff --git a/nixos-iso/zoom-iso.nix b/nixos-iso/zoom-iso.nix new file mode 100644 index 0000000..28a44a5 --- /dev/null +++ b/nixos-iso/zoom-iso.nix @@ -0,0 +1,38 @@ + +let + config = { config, lib, pkgs, ... }: { + imports = [ + ( + "/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 ( + "/nixos/default.nix") { + configuration = config; + }; +in nixlib.config.system.build.isoImage -- cgit v1.2.3