at master 1.6 kB view raw
1# This configuration uses a specialisation for each desired boot 2# configuration, and a common parent configuration for all of them 3# that's hidden. This allows users to import this module alongside 4# their own and get the full array of specialisations inheriting the 5# users' settings. 6 7{ lib, ... }: 8{ 9 imports = [ ./installation-cd-base.nix ]; 10 isoImage.edition = "graphical"; 11 isoImage.showConfiguration = lib.mkDefault false; 12 13 specialisation = { 14 gnome.configuration = 15 { config, ... }: 16 { 17 imports = [ ./installation-cd-graphical-calamares-gnome.nix ]; 18 isoImage.showConfiguration = true; 19 isoImage.configurationName = "GNOME (Linux LTS)"; 20 }; 21 22 gnome_latest_kernel.configuration = 23 { config, ... }: 24 { 25 imports = [ 26 ./installation-cd-graphical-calamares-gnome.nix 27 ./latest-kernel.nix 28 ]; 29 isoImage.showConfiguration = true; 30 isoImage.configurationName = "GNOME (Linux ${config.boot.kernelPackages.kernel.version})"; 31 }; 32 33 plasma.configuration = 34 { config, ... }: 35 { 36 imports = [ ./installation-cd-graphical-calamares-plasma6.nix ]; 37 isoImage.showConfiguration = true; 38 isoImage.configurationName = "Plasma (Linux LTS)"; 39 }; 40 41 plasma_latest_kernel.configuration = 42 { config, ... }: 43 { 44 imports = [ 45 ./installation-cd-graphical-calamares-plasma6.nix 46 ./latest-kernel.nix 47 ]; 48 isoImage.showConfiguration = true; 49 isoImage.configurationName = "Plasma (Linux ${config.boot.kernelPackages.kernel.version})"; 50 }; 51 }; 52}