]> git.scottworley.com Git - syncthing-autoregister/blame - lib/test-nixos-rebuild-switch-config.nix
Follow renames in test data
[syncthing-autoregister] / lib / test-nixos-rebuild-switch-config.nix
CommitLineData
b87b9121 1{ lib, pkgs, modulesPath, ... }: {
0043dc68 2 imports = [
b87b9121
SW
3 (modulesPath + "/installer/cd-dvd/channel.nix")
4 (modulesPath + "/profiles/base.nix")
5 (modulesPath + "/testing/test-instrumentation.nix")
6 (modulesPath + "/virtualisation/qemu-vm.nix")
0043dc68
SW
7 ];
8
682f56be 9 nix.settings.substituters = lib.mkForce [ ];
0043dc68
SW
10 nix.extraOptions = ''
11 hashed-mirrors =
12 connect-timeout = 1
13 '';
14
15 system.extraDependencies = with pkgs; [
16 # List of packages from installer test
17 curl # To diagnose fetch requests
186ceba3
SW
18 bintools
19 brotli
20 brotli.dev
21 brotli.lib
0043dc68
SW
22 desktop-file-utils
23 docbook5
24 docbook_xsl_ns
186ceba3
SW
25 kbd.dev
26 kmod.dev
27 libarchive.dev
0043dc68
SW
28 libxml2.bin
29 libxslt.bin
30 nixos-artwork.wallpapers.simple-dark-gray-bottom
31 ntp
32 perlPackages.ListCompare
33 perlPackages.XMLLibXML
186ceba3 34 (python3.withPackages (p: [ p.mistune ]))
0043dc68 35 shared-mime-info
0043dc68
SW
36 sudo
37 texinfo
38 unionfs-fuse
39 xorg.lndir
c47fc989
SW
40
41 stdenvNoCC
0043dc68
SW
42 ];
43
44 # Don't try to install bootloaders in a VM
45 boot.loader.grub.devices = lib.mkForce [ "nodev" ];
46}