about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* stackenblocken: add volume optionProfpatsch2017-06-011-1/+10
|
* move to `enableRedistributableFirmware` for Profpatsch/OpenlabProfpatsch2017-05-122-2/+2
| | | | | This is because `enableAllFirmware` now contains a new entry that is unfree. Other machines probably want to move as well, cc @aszlig @sternenseemann.
* pkgs: Add an overridden Gajim with old pycryptoaszlig2017-04-231-2/+2
| | | | | | | | This is for the time being until either NixOS/nixpkgs#21671 has been resolved or the next major version of Gajim has been released, because the latter no longer uses pycrypto. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs: Move all of my packages into pkgs/aszligaszlig2017-04-234-9/+9
| | | | | | | | | | | | | This already has started in e0abe1dbbda54c1f048b5d38df05e1a3289216a6 with @Profpatsch putting his packages into its own namespace, so let's continue on that and move my crap into my own namespace as well. The only difference in my approach is that I'm now also using a new function called callPackageScope, which declutters pkgs/default.nix a bit and moves the individual callPackage invocations into aszlig/default.nix. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs: Remove unused/obsolete packagesaszlig2017-04-231-1/+1
| | | | | | | A lot of crap has been accumulated there over the years, so I'm removing at least the stuff that I have introduced. 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>
* taalo-build: Use Nix 1.11 for the backendaszlig2017-04-231-1/+10
| | | | | | | | | | | | | | | | | | Nix 1.12 already got rid of most of the Perl stuff so the Perl script backing taalo-build doesn't work anymore because Nix/CopyClosure.pm is no longer available. One way to fix this properly is to part the backend to C++ and use the new ssh-ng store backend. This would also have the advantage that we don't need to hardcode protocol internals here anymore. Unfortunately, Nix 1.12 isn't stable yet and we would break Nix 1.11 if we use the new store API. So that's why I'm pinning the backend to use Nix 1.11 instead and leave that ugly Perl script until Nix 1.2 is stable. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/kernel: Fix BFQ patch for kernel 4.11-rc7aszlig2017-04-191-141/+257
| | | | | | | | | | | | | | Previously in d6848012b86088cbfd70666a0cfae95c567e7199 I've just rebased the patch I had against 4.10 against kernel 4.11, but that didn't work out so well. So this is now a rebase against the new branch from Paolo Valente at: https://github.com/linusw/linux-bfq/tree/bfq-v8 Hopefully this time it will compile ;-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/packages: Switch to Chromium stableaszlig2017-04-191-1/+1
| | | | | | | | I'm fed up with fixing up Chromium beta and currently the included GN doesn't bootstrap as well. So for now let's run with Chromium stable until I'm masochistic enough to dig into Chromium again. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/kernel: Rebase BFQ patch on kernel 4.11-rc4aszlig2017-04-192-11/+10052
| | | | | | | | | | | | It's basically only a very small change, because block/Makefile now contains objects for block-MQ schedulers (one of these will also include BFQ in possibly the next mainline kernel) and thus the patch no longer applies. Having that potch here in the source tree is a lot of crap lying around, so we better get rid of it ASAP. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Fix build of nix-replaszlig2017-04-191-0/+1
| | | | | | | | Compiling nix-repl with Nix 1.12pre5152_915f62fa will only work by enabling support for ISO C++ 2014, because nix/util.hh uses includes from <experimental/*>. 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>
* machines/labnet: move wifi from base to labtopsProfpatsch2017-02-232-4/+5
| | | | | Non-laptop machines should not connect to the wifi automatically (they probably don’t even have a wifi module …)
* machines/profpatsch: enable tmpOnTmpfs by defaultProfpatsch2017-02-231-0/+4
|
* don’t start stackenblocken on bootOpenlab Hannswurscht2017-02-161-1/+1
|
* 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/fish/fasd: fix fish script bugProfpatsch2017-02-101-1/+1
| | | | | The function invocation apparently got less lenient, the function name *must* come first now, before any arguments.
* profiles/workstation: Make a few pkgs lazyaszlig2017-02-083-28/+32
| | | | | | | | Most of these packages I don't need for daily work and thus only clutter up the closure paths of those systems, so let's put them into lazyPackages. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/core: Add a new module for lazy packagesaszlig2017-02-082-0/+68
| | | | | | | | | | | | | 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>
* programs/gajim: Disable tests expected to failaszlig2017-02-071-0/+6
| | | | | | | | | We inject our own declarative config into Gajim by patching the source, which unfortunately kills a few tests which assume the default configuration, especially in terms of the GUI (for example the Vuizvui config has a single window GUI). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Fix build of nix-replaszlig2017-02-071-2/+5
| | | | | | | | Since NixOS/nix@21948deed99a3295e4d5666e027a6ca42dc00b40 nix::Pid::wait() no longer takes a boolean argument and is now blocking by default. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/multipath-vpn: disable, definition brokenProfpatsch2017-02-051-1/+2
| | | | Apparently the defined options are now out-of-date.
* profiles/managed: Add simple-scanaszlig2017-01-191-0/+2
| | | | | | | Might be a good idea to have an actual application that can be used to scan stuff (apart from Gimp and others with SANE support). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* t100ha: Rebase drm.patch against kernel 4.9.4aszlig2017-01-191-28/+16
| | | | | | | | | | | | | The following commit was introduced in kernel 4.9.3: * ASoC: cht_bsw_rt5645: Fix leftover kmalloc https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.3 This is the only commit that was dropped (because it was applied upstream) during this rebase. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* t100ha: Rebase drm.patch against kernel 4.9.4aszlig2017-01-191-41/+7
| | | | | | | | | | | | | | | | The following two commits were introduced in kernel 4.9.2: * drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating * drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting See https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.2 for a full change log. So we no longer need these commits anymore, because they were applied upstream. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/kernel: Fix up BFQ patch for kernel 4.10aszlig2017-01-121-2/+6
| | | | | | | | | | | | | First of all, using .patch from the GitHub compare view is not going to work because the concatenated diffs are in reverse order for use within "git apply". And the second thing why it's not working is that the patch has a hunk that changes the version in Makefile to add an extra version -rc1-bfq, which would only apply for kernel 4.10-rc1 but not for subsequent release canidates. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/meshuggah: Set cyan color in promptaszlig2017-01-121-1/+13
| | | | | | | | | | | This is mainly to distinguish the prompt color from my workstations so it's clearly obvious that I'm working on meshuggah rather than say mmrnmhrm. We needed to add another option to the zsh module so that we can easily override machine colors for other machines as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/kernel: Update BFQ to v8r7 for 4.10-rc1aszlig2017-01-121-2/+10
| | | | | | | | | | | | | The patch is from https://github.com/linusw/linux-bfq/tree/bfq-v8. It's a combined patch until the parent of the branch's head, because the latest commit is a work-in-progress commit. I have only tested evaluation and didn't test whether the patch actually applies yet, because the machines currently using the BFQ patch are broken because the old BFQ patch no longer applies for kernel 4.10. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/managed: Implement a preliminary profileaszlig2017-01-022-0/+40
| | | | | | | | | | | | Currently I just needed to support HP printers and scanners among all the managed machines, so I thought it would be a good oportunity to start a common profile for end user machines. Right now there isn't that much factored out yet, but instead of copy & pasting the printer/scanner config into all three machines I'm putting it into the profile. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Remove workaround for vblankaszlig2016-12-171-20/+0
| | | | | | With the latest patches, this is no longer needed. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Fix install of brcmfmac paramsaszlig2016-12-171-1/+1
| | | | | | | | | Regression introduced by 4a27d62243942c4be181c7129fb532a709a15a8e. I've removed the fwbase variable in this commit, so the kernel is unable to completely load the WiFi firmware. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Switch to kernel 4.9aszlig2016-12-151-1/+1
| | | | | | | | After fixing the issues left we had since version 4.8, we can now safely switch to the latest mainline kernel. Turns out that the system is now a lot more stable and triggers less warnings and errors in dmesg. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Add patch for SST soundaszlig2016-12-152-3/+5640
| | | | | | | | | | | | | | This is essentially a backport of @plbossart's "experimental/codecs" branch against Linux 4.9. The original repository can be found at: https://github.com/plbossart/sound/commits/experimental/codecs Thanks to him for doing a lot of work on getting sound working for these CherryTrail devices. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Add Linux 4.9 fixes for intel DRMaszlig2016-12-153-226/+769
| | | | | | | | | | | | | | | | | | This is essentially a cherry-pick of the three commits mentioned in: https://bugs.freedesktop.org/show_bug.cgi?id=97529#c33 Plus a backport against Linux 4.9 of the following patch: https://bugs.freedesktop.org/attachment.cgi?id=128410 (essentially https://patchwork.freedesktop.org/series/16242/) And also the backlight.patch (a PMIC hack) we had before all combined into one patch, which now should fix the following bug: https://bugs.freedesktop.org/show_bug.cgi?id=97529 Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move taalo-build to workstation profileaszlig2016-12-151-0/+2
| | | | | | | I need this on all my machines, so nix-env'ing it on every machine on demand was getting tedious over time. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Disable mouse supportaszlig2016-11-291-0/+1
| | | | | | | This one is annoying and it seems to be enabled by default in recent Vim versions, so let's get rid of it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* dnyarri/mmrnmhrm: Switch to generic kernelaszlig2016-11-281-43/+20
| | | | | | | | | | | | | | | | | I've been patching these machines up since ages and I'm tired now to do both kernel configs *again* for the recent kernel versions. Of course, in the long run I still want them to have their customized kernel, but right now it's better to have a recent generic kernel rather than have a fucked up custom kernel. Also, this removes all that cruft for the Intel HDA pinning on dnyarri, because the machine now has two X-Fi sound cards. Both machines probably won't boot now, so we'll have to adjust a few things very soon. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/gnupg: Support --supervised since 2.1.16aszlig2016-11-282-20/+52
| | | | | | | | | | | | | | | | | | | | | | | | See the release announcement at: https://lists.gnupg.org/pipermail/gnupg-announce/2016q4/000398.html Unfortunately we still need the wrapper, because we need to pick up the PID of the socket endpoint in order to gather various information we can pass to pinentry (which then for example can recognize that the actual SSH client is using X or is using a particular TTY). On the upside however, this is a step into a direction I didn't imagine to happen anytime soon, given the following statement from Werner Koch back then: https://lists.gnupg.org/pipermail/gnupg-devel/2014-November/029104.html However I don't think the way I'm picking up the PID and doing inspection of /proc/PID is going to happen in upstream GnuPG anytime soon. But after cleaning up and doing it as a patch I might now consider upstreaming it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/git: Fix/flesh out type for Git configaszlig2016-11-091-2/+3
| | | | | | | | | | | | | | We need to properly separate attrsOf from the nested attrsOf because otherwise the either type isn't able to distinguish between both types during merging of the subtypes. Now we have sub sections which is '[section "subsection"]' in Git's config syntax and attrsOf (attrsOf ...) on our side and simple sections like '[section]' which is just a plain attrsOf. This way we have an additional type constraint in that we can't mix up subsections with sections by the same name. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/packages: Revert using Chromium stableaszlig2016-11-091-1/+1
| | | | | | | | | This reverts commit 1fb2981f660b2155331cdac1b28640ba7c6b4786. Since NixOS/nixpkgs@c67a7ee73156796187894c63386b1a78e5902ea5, the Chromium beta channel builds fine again, so let's go back to beta. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Switch to use boot.kernelPatchesaszlig2016-10-271-12/+12
| | | | | | | | | | | | | | The implementation of boot.kernelPatches uses .override and passes back the original kernelPatches attribute to the patches that are going to be added from boot.kernelPatches. However, the T100HA module already uses .override to pass these patches but without re-using the existing patches. So instead of just adding preexisting patches to the kernelPatches attribute, let's just switch to boot.kernelPatches, which should also allow overrides and introspection from different NixOS modules. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Fix evaluation erroraszlig2016-10-271-1/+1
| | | | | | | The right attribute is vuizvui.kernel.linux_4_7 and not vuizvui.linux_4_7. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Bring back Linux 4.7.10aszlig2016-10-271-1/+1
| | | | | | | | | | | | | | Removed in NixOS/nixpkgs@b3f7d626c164ae591a067f78bfcbb06fc3a588b9. We are currently stuck in 4.7 with the T100HA because of this upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=97529 So let's bring back the expression for Linux 4.7 until there is time for debugging the mentioned bug. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs: Rename "kpatches" directory to "kernel"aszlig2016-10-271-1/+1
| | | | | | | | | This now should reflect "all things kernel" and thus could not only contain patches but other things. If we have so many patches that it makes sense to namespace them further, we can still use kernel/patches for that purpose which is way better than "kpatches". Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/i3/conky: Fix weather URLaszlig2016-10-181-1/+1
| | | | | | | The URL has changed, see brndnmtthws/conky#325 for the fix in upstream conky. Signed-off-by: aszlig <aszlig@redmoonstudios.org>