mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-12 02:36:39 +01:00
29 lines
672 B
Nix
29 lines
672 B
Nix
# This module adds the calamares installer to the basic graphical NixOS
|
|
# installation CD.
|
|
|
|
{ pkgs, ... }:
|
|
let
|
|
calamares-nixos-autostart = pkgs.makeAutostartItem {
|
|
name = "calamares";
|
|
package = pkgs.calamares-nixos;
|
|
};
|
|
in
|
|
{
|
|
imports = [ ./installation-cd-graphical-base.nix ];
|
|
|
|
# required for kpmcore to work correctly
|
|
programs.partition-manager.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# Calamares for graphical installation
|
|
calamares-nixos
|
|
calamares-nixos-autostart
|
|
calamares-nixos-extensions
|
|
# Get list of locales
|
|
glibcLocales
|
|
];
|
|
|
|
# Support choosing from any locale
|
|
i18n.supportedLocales = [ "all" ];
|
|
}
|