Created
January 3, 2020 17:46
-
-
Save adisbladis/0d3a200b797165a0549036ed37e5b8a9 to your computer and use it in GitHub Desktop.
Nixos custom iso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# env NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix --no-out-link --show-trace | |
{ config, lib, pkgs, ... }: | |
{ | |
imports = [ | |
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix> | |
]; | |
boot.kernelPackages = pkgs.linuxPackages_latest; | |
environment.systemPackages = with pkgs; [ | |
# Custom packages goes here | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment