Skip to content

Instantly share code, notes, and snippets.

@alexd1971
Created November 28, 2021 10:44
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 alexd1971/396d1985aeea8b30cbd345695262ebb9 to your computer and use it in GitHub Desktop.
Save alexd1971/396d1985aeea8b30cbd345695262ebb9 to your computer and use it in GitHub Desktop.
{config, pkgs, ...}:
{
imports = [
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-plasma5.nix>
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
];
# configure proprietary drivers
nixpkgs.config.allowUnfree = true;
boot.initrd.kernelModules = [ "wl" ];
boot.kernelModules = [ "kvm-intel" "wl" ];
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
# console fonts
i18n.defaultLocale = "en_US.UTF-8";
console = {
earlySetup = true;
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
packages = with pkgs; [ terminus_font ];
keyMap = "us";
};
# programs that should be available in the installer
environment.systemPackages = with pkgs; [
git
vim
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment