2022-04-04 13:56:53 +00:00
|
|
|
# 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
|
2022-07-31 01:59:52 +00:00
|
|
|
# Get list of locales
|
|
|
|
glibcLocales
|
2022-04-04 13:56:53 +00:00
|
|
|
];
|
2022-07-31 01:59:52 +00:00
|
|
|
|
|
|
|
# Support choosing from any locale
|
|
|
|
i18n.supportedLocales = [ "all" ];
|
2022-04-04 13:56:53 +00:00
|
|
|
}
|