about summary refs log tree commit diff
path: root/modules/core
Commit message (Collapse)AuthorAgeFilesLines
...
* core/tests: Update upstream NixOS testsaszlig2018-04-291-2/+93
| | | | | | | | | | | | | | | | | | | | New tests as of NixOS/nixpkgs@9df35787f16636628a2c7392cc4bfeff0e815242: buildbot, ceph, deluge, docker-edge, docker-tools, docker-tools-overlay, fwupd, gjs, iftop, kubernetes.dns, kubernetes.rbac, matrix-synapse, nix-ssh-serve, novacomd, openldap, plotinus, powerdns, predictable-interface-names, prosody, quagga, rabbitmq, rspamd, rxe, strongswan-swanctl, systemd, transmission, xautolock, xrdp, yabar The main kubernetes test no longer exists and has been split into kubernetes.dns and kubernetes.rbac in NixOS/nixpkgs@709b6f664e472ae2075bbee83bfb1dd1ba95e0e7. I also added a small hasPackage helper for gjs, which we're going to use for packages in the system path very soon. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Fix references to copperheadaszlig2018-04-291-2/+4
| | | | | | | | | This was changed in NixOS/nixpkgs@844c08ec0a5b79abb16d9de5bd39ed492f4. Instead of linuxPackages_copperhead_hardened we now have linuxPackages_copperhead_lts and linuxPackages_copperhead_stable. Signed-off-by: aszlig <aszlig@nix.build>
* core/licensing: Pass localSystem instead of systemaszlig2018-04-201-1/+1
| | | | | | | | | Since NixOS/nixpkgs@c6f7d4367894047592cc412740f0c1f5b2ca2b59 the system argument is now localSystem to be more consistent with crossSystem. This fixes evaluation of all machine configurations. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Remove reference for pumpio testaszlig2018-03-041-3/+0
| | | | | | | | | This test has been removed in NixOS/nixpkgs@21dcead5f0c3d548ad4642a4e86, so we no longer need to check for it. Fixes an error during channel evaluation. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Fix use of networking.interfaces.*.ip4aszlig2018-02-261-1/+2
| | | | | | | | | | | Since NixOS/nixpkgs@c1bed05e341756f7fdfa73035c7f1e078e49be3d it is now called ipv4.addresses. The reason why the evaluation on our behalf has failed despite the option being aliased is that we try to access the option while checking for eligible tests for a particular machine. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Fix copperhead linuxPackages attributeaszlig2018-02-101-1/+1
| | | | | | | | | | Since NixOS/nixpkgs@3a2ee6e5c3bfae64c604859c7cc1ee6b069ea5b5 the attribute name for the kernel packages is now linuxPackages_copperhead_hardened instead of linuxPackages_hardened_copperhead, so we need to change it in our conditions as well. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Update upstream NixOS testsaszlig2018-02-031-8/+95
| | | | | | | | | | | | | | | | | | | | New tests as of NixOS/nixpkgs@27a4a5511dc2cf9756943458d7a752617e4ad6e3: acme, atd, beegfs, couchdb, dovecot, env, gitolite, grafana, graphite, home-assistant, initrd-network-ssh, kernel-copperhead, kernel-latest, kernel-lts, mesos, mutableUsers, mysqlBackup, netdata, nghttpx, owncloud, prometheus, radicale, statsd, sudo, switchTest, vault, xmonad, zookeeper I've removed the pgjwt test, because the attribute is not reachable anymore within nixos/release.nix as it has been commented out in NixOS/nixpkgs@40ed22650737a444fee7883e69e852fd4b808133. Also I didn't add the postgis test, because checking for the configuration attribute is a bit tedious and chances are very low that we'd have a machine in Vuizvui that uses it. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Remove openstack testsdevhell2017-12-161-6/+0
| | | | | | Openstack has been removed from nixpkgs (see PR #32637). Hydra's eval is failing because of this, so we should probably remove the tests here too.
* core/lazy-packages: Silence stdout of nix-store -raszlig2017-12-081-1/+1
| | | | | | | | | | | | For example if you have something like cabal2nix as a lazy package, using "cabal2nix --shell . > default.nix" will result in the store path of cabal2nix being present in the resulting default.nix as the first line. We obviously do not want that, so let's redirect stdout of nix-store -r to /dev/null. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs: Remove the vuizvui namespaceaszlig2017-11-121-8/+4
| | | | | | | | | | | | | | | It's a bit weird to need to write something like this: nix-build pkgs -A vuizvui.aszlig.vim We're already within vuizvui, and the filesystem paths are already structured in a way so that the above is in pkgs/aszlig/vim, so the need to add the vuizvui attribute to that seems quite pointless and unnatural. I have tested this by evaluating a few machines, tests and packages. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Fix eval error for nixos.hardenedaszlig2017-08-191-1/+1
| | | | | | | | The configuration option boot.kernel.sysctl is of type attrsOf, so we can't assume that the attribute "user.max_user_namespaces" is actually there. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Update upstream NixOS testsaszlig2017-08-191-3/+14
| | | | | | | | | | | | | | | | | | | New tests as of NixOS/nixpkgs@77dfa05bd5a296476143f02f2cfc0e47bdded01a: * cloud-init * hardened * ldap * snapper Removed tests: * grsecurity Renamed tests: * installer.simpleUefiGummiboot -> installer.simpleUefiSystemdBoot Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Convert packageOverrides to overlaysaszlig2017-07-171-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two other occasions where packageOverrides are still in use, one of them is @sternenseemann's fliewatuet machine and another one is @devhell's package profile. I've replaced every other occurence of packageOverrides and replaced it with overlays and checked the store path hash after evaluation. The reason why I left @sternenseemann's fliewatuet alone was that for I wasn't quite sure whether "bluez = pkgs.bluez5" is still needed or intentional to pin it to version 5. Because if it's not the case the packageOverrides can just be dropped because bluez is already bluez5 in upstream <nixpkgs>. For @devhell's package profile, I did the conversion, but the store path turned out to be a different one than what it was prior to the change. I did take a quick look at the requisites of the drv and found that sox was one of the different paths that led to the change in the final store path. This obviously needs to be tested and/or investigated first. Other than that, the main reason why I'm moving everything to overlays is that it's the replacement for packageOverrides and also has a better way to pass through chains of overrides than packageOverrides had. My guess is that after NixOS 17.09, the old packageOverrides function will be removed, so let's make sure we're ready for that. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell, @sternenseemann
* core/tests: Fix VirtualBox headless optionaszlig2017-06-221-1/+1
| | | | | | | The option value was missing a .host, which caused the evaluation to fail because of a missing attribute. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/common: Add Headcounter Hydra to binaryCachesaszlig2017-04-231-1/+4
| | | | | | | | | | | | | | | | | | This makes sense to put into the core module here, because we already have the public key in there as well and if we want to use the binary cache outside of a channel it's a good idea to provide it here by default. Being a default of course also means that users can easily override this using: nix.binaryCaches = mkForce [ "something else" ]; I've also removed the redundant setting of that option in all of the machine configurations. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @sternenseemann
* modules/core/tests: Add test for SLiMaszlig2017-04-231-0/+3
| | | | | | Added in NixOS/nixpkgs@dc87b5587e3fb39e96e6b965a26f324daf7508f8. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Update upstream NixOS testsaszlig2017-04-191-5/+30
| | | | | | | | | | | | | | | | | New tests as of NixOS/nixpkgs@b0179351036a870da8c1a89c991a359a73aab0e2: * containers-restart_networking * nginx * pgjwt * postgresql (now with subtests per package) * sddm (now with subtest "autoLogin" and "default") * wordpress The following tests were renamed: * kde5 -> plasma5 Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/core/tests: comment out quaggaProfpatsch2017-04-041-3/+4
| | | | Fixes evaluation.
* Remove/rename occurences of kde5aszlig2017-03-021-1/+1
| | | | | | | | | | | | | | This fixes the attributes accordingly to the following two upstream commits: * NixOS/nixpkgs@f21d4d00152726c02f870cb20faba4aca18ef49a * NixOS/nixpkgs@8eb4d2afbc1d61d316073f25f5885a46ccb37ea2 The first renames desktopManager.kde5 to desktopManager.plasma5 and the second one removes the kde5 attribute from the top-level packages set and puts applications in kdeApplications instead. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Add a few missing callSubTests testsaszlig2017-02-161-0/+7
| | | | | | | | | | | | Haha, so that's what I got from introducing callSubTests in NixOS/nixpkgs@b3337edd0b77f04d0abe4a29642a5e4fdb4ad692. While in general this is an improvement, it makes it harder for vuizvui to gather tests that were added or removed. Maybe we should write an updater for this soon. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Update upstream NixOS testsaszlig2017-02-161-11/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New tests as of NixOS/nixpkgs@b207bf523b8c49b037a4a87456d61f63043cd2c6: * containers-extra_veth * containers-hosts * containers-macvlans * containers-physical_interfaces * containers-tmpfs * glance * hound * keystone * leaps * mongodb * nat.firewall-conntrack * pam-oath-login * samba * sddm The following tests were removed: * kde4 * panamax I've also added a few checks on whether containers are actually enabled, because some tests like containers-bridge would run if containers with a bridge were defined but enableContainers was false. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/core: Add a new module for lazy packagesaszlig2017-02-081-0/+67
| | | | | | | | | | | | | This allows to add packages to vuizvui.lazyPackages which then aren't directly installed onto the system but instead built by the Hydra and only fetched from it as soon as a binary of one of these packages is executed. Doing this only within a NixOS module however isn't enough, because by default gc-keep-outputs is false, so a garbage collect on the Hydra instance would remove the packages we wrap in vuizvui.lazyPackages. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/common: Revert force rebuilding GHC+packages.aszlig2017-02-071-8/+0
| | | | | | | | | | | | | | This reverts commit a93b7583084ff9084d73873d80d8dc428406593c. The issue isn't completely resolved but most of the packages should have been fixed that tripped the nondeterministic behaviour, see: https://ghc.haskell.org/trac/ghc/ticket/4012#comment:232 After having done some tests in the past I didn't stumble on this problem anymore so far, so let's give it a try. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Add and remove upstream NixOS testsaszlig2016-09-111-6/+10
| | | | | | | | | | | | | | | | | New tests as of NixOS/nixpkgs@4ac7b7d5deb4a2ccf291c1251ff7515f1ab17c82: * nixos.kde5 * nixos.ferm * nixos.quagga The following tests were removed: * nixos.dockerRegistry * nixos.sddm The test for SDDM is now included within the KDE5 test. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Fix evaluation of Go.CD configaszlig2016-08-011-2/+2
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Improve checks for container configaszlig2016-08-011-4/+7
| | | | | | | | | | | This reverts commit 3f0a9e8002802e5a772b7582f8254c92d7a2a4d5. It's now possible to disable support and tests for containers simply by using config.boot.enableContainers in the machine config, because that's the super option that enables all the container-related services and tools in upstream NixOS and it's also enabled by default. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Add new NixOS testsaszlig2016-08-011-0/+18
| | | | | | New tests are since NixOS/nixpkgs@4f796c28d57887cc9812190bc99fb45b2a. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Disable imperative containers test for brawndoaszlig2016-07-231-1/+1
| | | | | | | This is to get a first working channel for bootstrapping. Fixing the test is the long-term goal of course, so this is only temporarily. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/profiles/*: Rename to modules/core/*aszlig2016-05-173-0/+419
The name "profiles" really doesn't match what these modules are for. Instead they define the very core of Vuizvui and its internal plumbing and those options are available/enabled to all machines and modules. Signed-off-by: aszlig <aszlig@redmoonstudios.org>