diff --git a/modules/installer/tools/nixos-checkout.nix b/modules/installer/tools/nixos-checkout.nix index 290a4d6b2eb8..2d59f6718844 100644 --- a/modules/installer/tools/nixos-checkout.nix +++ b/modules/installer/tools/nixos-checkout.nix @@ -41,8 +41,7 @@ let from working directory dirname target and should create the directory - dir. (git - clone url nixos/nixpkgs/services should do) For + dir. For the executables used see . ''; }; @@ -52,11 +51,6 @@ let description = "same as "; }; - installer.repos.services = mkOption { - default = [ { type = "svn"; } ]; - description = "same as "; - }; - installer.repoTypes = mkOption { default = { svn = { valid = "[ -d .svn ]"; env = [ pkgs.coreutils pkgs.subversion ]; }; diff --git a/modules/installer/tools/nixos-install.sh b/modules/installer/tools/nixos-install.sh index f9baa0e891a0..bc935f7c8e3b 100644 --- a/modules/installer/tools/nixos-install.sh +++ b/modules/installer/tools/nixos-install.sh @@ -169,20 +169,12 @@ if test -e $targetNixpkgs; then mv $targetNixpkgs $targetNixpkgs.backup-$backupTimestamp fi -targetServices=$mountPoint/etc/nixos/services -if test -e $targetServices; then - mv $targetServices $targetServices.backup-$backupTimestamp -fi - # Copy the NixOS/Nixpkgs sources to the target. cp -prd $NIXOS $targetNixos if test -e /etc/nixos/nixpkgs; then cp -prd /etc/nixos/nixpkgs $targetNixpkgs fi -if test -e /etc/nixos/services; then - cp -prd /etc/nixos/services $targetServices -fi # Grub needs an mtab.