Skip to content

Instantly share code, notes, and snippets.

@adisbladis
Created April 19, 2018 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adisbladis/7f7c065b7a7c2afff95e06d870ec1cc3 to your computer and use it in GitHub Desktop.
Save adisbladis/7f7c065b7a7c2afff95e06d870ec1cc3 to your computer and use it in GitHub Desktop.
# Teclast X98 Pro nixos install iso
# nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix --no-out-link --show-trace
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix>
];
# Hardware is only well-supported on very recent kernels
boot.kernelPackages = pkgs.linuxPackages_latest;
# Wifi requires firmware
hardware.enableRedistributableFirmware = true;
hardware.firmware = with pkgs; [
firmwareLinuxNonfree
];
networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [
emacs
btrfs-progs
xfsprogs
acpi
htop
wget
curl
which
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment