summaryrefslogtreecommitdiff
path: root/nixos-iso
diff options
context:
space:
mode:
authorstuebinm2021-04-13 23:22:01 +0200
committerstuebinm2021-04-13 23:24:20 +0200
commitd8a1a9a1c04b147da627a318cc5344c74bd2af36 (patch)
tree59f9bfcb57307b5e33417afe745e804c5ef8a401 /nixos-iso
parentfa49e0bf71ccd4bc98df0fa83546250c1b849e2e (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 ...
Diffstat (limited to '')
-rw-r--r--nixos-iso/zoom-iso.nix38
1 files changed, 38 insertions, 0 deletions
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