1 # This module defines a NixOS installation CD that contains Plasma 6.
6 imports = [ ./installation-cd-graphical-calamares.nix ];
8 isoImage.edition = "plasma6";
10 services.desktopManager.plasma6.enable = true;
12 # Automatically login as nixos.
13 services.displayManager = {
21 environment.systemPackages = [
22 # FIXME: using Qt5 builds of Maliit as upstream has not ported to Qt6 yet
27 system.activationScripts.installerDesktop = let
29 # Comes from documentation.nix when xserver and nixos.enable are true.
30 manualDesktopFile = "/run/current-system/sw/share/applications/nixos-manual.desktop";
32 homeDir = "/home/nixos/";
33 desktopDir = homeDir + "Desktop/";
36 mkdir -p ${desktopDir}
37 chown nixos ${homeDir} ${desktopDir}
39 ln -sfT ${manualDesktopFile} ${desktopDir + "nixos-manual.desktop"}
40 ln -sfT ${pkgs.gparted}/share/applications/gparted.desktop ${desktopDir + "gparted.desktop"}
41 ln -sfT ${pkgs.calamares-nixos}/share/applications/io.calamares.calamares.desktop ${desktopDir + "io.calamares.calamares.desktop"}