Last active
August 29, 2022 18:43
-
-
Save adisbladis/e5d20f9d013dc178457587d71df7c260 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/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-plasma5.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