diff options
author | stuebinm | 2021-04-13 23:22:01 +0200 |
---|---|---|
committer | stuebinm | 2021-04-13 23:24:20 +0200 |
commit | d8a1a9a1c04b147da627a318cc5344c74bd2af36 (patch) | |
tree | 59f9bfcb57307b5e33417afe745e804c5ef8a401 | |
parent | fa49e0bf71ccd4bc98df0fa83546250c1b849e2e (diff) |
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 ...
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | nixos-iso/zoom-iso.nix | 38 |
2 files changed, 39 insertions, 0 deletions
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 = [ + (<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 |