From a1f512ede348aed01d27053253a1c0a25de9cafc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 24 Jan 2007 11:50:38 +0000 Subject: [PATCH] * Another example: NixOS on x86_64 on a USB stick. svn path=/nixos/trunk/; revision=7787 --- configuration/examples/x86_64-usbstick.nix | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 configuration/examples/x86_64-usbstick.nix diff --git a/configuration/examples/x86_64-usbstick.nix b/configuration/examples/x86_64-usbstick.nix new file mode 100644 index 00000000000..0ce79ae86dc --- /dev/null +++ b/configuration/examples/x86_64-usbstick.nix @@ -0,0 +1,27 @@ +# Configuration file used to install NixOS-x86_64 on a USB stick. + +{ + boot = { + grubDevice = "/dev/sda"; + initrd = { + extraKernelModules = ["usb_storage" "ehci_hcd" "ohci_hcd"]; + enableSplashScreen = false; + }; + }; + + fileSystems = [ + { mountPoint = "/"; + label = "nixos-usb"; + } + ]; + + services = { + ttyBackgrounds = { + enable = false; + }; + }; + + fonts = { + enableFontConfig = false; + }; +}