Merge pull request #67305 from adisbladis/iso-image-defaults
Change ISO image defaults
This commit is contained in:
commit
1d1ff2cc50
@ -22,14 +22,8 @@ with lib;
|
|||||||
|
|
||||||
system.activationScripts.installerDesktop = let
|
system.activationScripts.installerDesktop = let
|
||||||
|
|
||||||
manualDesktopFile = pkgs.writeScript "nixos-manual.desktop" ''
|
# Comes from documentation.nix when xserver and nixos.enable are true.
|
||||||
[Desktop Entry]
|
manualDesktopFile = "/run/current-system/sw/share/applications/nixos-manual.desktop";
|
||||||
Version=1.0
|
|
||||||
Type=Application
|
|
||||||
Name=NixOS Manual
|
|
||||||
Exec=firefox ${config.system.build.manual.manual}/share/doc/nixos/index.html
|
|
||||||
Icon=text-html
|
|
||||||
'';
|
|
||||||
|
|
||||||
homeDir = "/home/nixos/";
|
homeDir = "/home/nixos/";
|
||||||
desktopDir = homeDir + "Desktop/";
|
desktopDir = homeDir + "Desktop/";
|
||||||
|
@ -165,8 +165,8 @@ let
|
|||||||
else
|
else
|
||||||
"# No refind for ${targetArch}"
|
"# No refind for ${targetArch}"
|
||||||
;
|
;
|
||||||
|
|
||||||
grubPkgs = if config.boot.loader.grub.forcei686 then pkgs.pkgsi686Linux else pkgs;
|
grubPkgs = if config.boot.loader.grub.forcei686 then pkgs.pkgsi686Linux else pkgs;
|
||||||
|
|
||||||
grubMenuCfg = ''
|
grubMenuCfg = ''
|
||||||
#
|
#
|
||||||
@ -562,8 +562,6 @@ in
|
|||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" ];
|
boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" ];
|
||||||
|
|
||||||
boot.blacklistedKernelModules = [ "nouveau" ];
|
|
||||||
|
|
||||||
boot.initrd.kernelModules = [ "loop" ];
|
boot.initrd.kernelModules = [ "loop" ];
|
||||||
|
|
||||||
# Closures to be copied to the Nix store on the CD, namely the init
|
# Closures to be copied to the Nix store on the CD, namely the init
|
||||||
|
Loading…
x
Reference in New Issue
Block a user