101: noninteractive: bring rsync back r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
bors[bot] 2023-05-07 20:22:23 +00:00 committed by GitHub
commit 5aeef49472
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
# This module optimizes for non-interactive deployments by remove some store paths # This module optimizes for non-interactive deployments by remove some store paths
# which are primarily useful for interactive installations. # which are primarily useful for interactive installations.
{ config, lib, ... }: { { config, lib, pkgs, ... }: {
disabledModules = [ disabledModules = [
# This module adds values to multiple lists (systemPackages, supportedFilesystems) # This module adds values to multiple lists (systemPackages, supportedFilesystems)
# which are impossible/unpractical to remove, so we disable the entire module. # which are impossible/unpractical to remove, so we disable the entire module.
@ -11,15 +11,14 @@
# among others, this prevents carrying a stdenv with gcc in the image # among others, this prevents carrying a stdenv with gcc in the image
system.extraDependencies = lib.mkForce []; system.extraDependencies = lib.mkForce [];
# prevents shipping nixpkgs, unnecessary if system is evaluated externally # prevents shipping nixpkgs, unnecessary if system is evaluated externally
nix.registry = lib.mkForce {}; nix.registry = lib.mkForce {};
# would pull in nano # would pull in nano
programs.nano.syntaxHighlight = lib.mkForce false; programs.nano.syntaxHighlight = lib.mkForce false;
# prevents nano, rsync, strace # prevents nano, strace
environment.defaultPackages = lib.mkForce []; environment.defaultPackages = lib.mkForce [ pkgs.rsync ];
# zfs support is accidentally disabled by excluding base.nix, re-enable it # zfs support is accidentally disabled by excluding base.nix, re-enable it
boot = { boot = {