Skip to content

Instantly share code, notes, and snippets.

@NWuensche
Last active September 6, 2018 16:27
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 NWuensche/4abb9020badd559d988ebc85b787b495 to your computer and use it in GitHub Desktop.
Save NWuensche/4abb9020badd559d988ebc85b787b495 to your computer and use it in GitHub Desktop.
# This module defines a small NixOS installation CD. It does not
# contain any graphical stuff.
{config, pkgs, ...}:
{
imports = [
# <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix>
# Provide an initial copy of the NixOS channel so that the user
# doesn't need to run "nix-channel --update" first.
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
];
environment.systemPackages = with pkgs; [
cups
];
services = {
printing.enable = true;
printing.drivers = [
pkgs.dcp145c
pkgs.mfc5440cn
];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment