summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nix
blob: 8a6d30d1801a163fa95efcb9f1c26a1ab5e991ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This module adds the calamares installer to the basic graphical NixOS
# installation CD.

{ pkgs, ... }:
let
  calamares-nixos-autostart = pkgs.makeAutostartItem { name = "io.calamares.calamares"; package = pkgs.calamares-nixos; };
in
{
  imports = [ ./installation-cd-graphical-base.nix ];

  environment.systemPackages = with pkgs; [
    # Calamares for graphical installation
    libsForQt5.kpmcore
    calamares-nixos
    calamares-nixos-autostart
    calamares-nixos-extensions
    # Needed for calamares QML module packagechooserq
    libsForQt5.full
  ];
}