about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* profiles/services: Enable syncthing dataDir to ~devhell2017-10-061-0/+1
|
* hardware/t100ha: Update to kernel 4.14aszlig2017-10-053-280/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Almost all of the issues we so far needed patches for have been addressed upstream with the exception of backlight probing. The reason for this is detailled in the following bug: https://bugs.freedesktop.org/show_bug.cgi?id=96571 In summary, when the I915 driver is built into the kernel, it can't access the PWM because it's initialized at a later stage. What we're now doing instead is that we compile i915 as a module and bake the necessary PWM modules directly into the kernel. This has the advantage that we no longer need the backlight.patch, because after all this is already a workaround and having a workaround that doesn't require us to rebase the patch once a new kernel arrives seems to be a better solution in my opinion. With this update we can now revert the reintroduction of kernel 4.12 done in 45bdcd7fc7788316cbad2d7d412e421b230715dc. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Temporarily bring back Linux 4.12aszlig2017-10-041-1/+1
| | | | | | | | | It has been removed by NixOS/nixpkgs@964672dde516d1b9a5d2248db33253dc36. This kernel version is officially EOL but in order to switch to a newer kernel I need to rebase the patches first. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* devhell/packages: Add i3lock-colordevhell2017-09-271-1/+2
| | | | Some nicer action on my lockscreen would be nice.
* profiles/managed: Remove kmix againaszlig2017-09-251-1/+0
| | | | | | | | | | | Reverts adding kmix as introduced in e49eca5c0c9c27352825c455d3e1b8a938245755. This causes two mixer icons to show up in the tray, which is kinda redundant. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @dwenola, @BrokkoliBerta
* devhell/base: Remove setting global TERMdevhell2017-09-181-1/+0
| | | | | | This is messing with some terminal emulators such as termite and xterm in conjunction with ncmpcpp. Thanks to @aszlig for helping with the troubleshooting.
* profiles/managed: Replace simple-scan by skanliteaszlig2017-09-171-1/+1
| | | | | | | | | | This has been introduced by NixOS/nixpkgs@c4c187ed7226e2132c13070444d0, thanks to @pshendry. IMHO it makes more sense to use this instead of simple-scan, because the managed machines run KDE while simple-scan is a Gnome application. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/workstation: Move gpodder to dnyarriaszlig2017-09-071-1/+0
| | | | | | | Actually this is the only one workstation where I use gpodder, so let's move it there and also don't make it a lazy package. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/workstation: Don't make Firefox lazyaszlig2017-09-072-1/+1
| | | | | | | | I might move to Firefox as my primary browser again. Apart from that, I regularily use it anyway, so having it as a lazy package doesn't make sense. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Unify most options for brawndo and tyreeaszlig2017-09-071-1/+65
| | | | | | | | | | | | | | | | | | | Both machines are using Plasma along with a few common KDE applications, so let's actually be more aggressive about deduplicating the options, because after all whenever these machines start to deviate more from each other, we can still either override those options or move them out. I've also cleaned up a few packages, so instead of having mpv *and* vlc we now have mpv and bomi for both machines. The latter is mostly about figuring out whether it's actually a good GUI video player, as it is basically a front-end for mpv. With this unification this means that some packages which are generally useful, such as okular and gwenview are now not only available to tyree but brawndo as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @dwenola, @BrokkoliBerta
* modules/bfq: Reintroduce SCSI_MQ_DEFAULT for 4.13aszlig2017-09-061-1/+1
| | | | | | | | | | | The change dropping the SCSI_MQ_DEFAULT option has been reverted in torvalds/linux@cbe7dfa26eee4819db7b5846181d56fd0cece0ea, so while the release canidate versions didn't have this option, the final release however does have it again. So we need to wait until 4.14 for it to become removed hopefully. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* devhell/packages: Fix attribute for glancesaszlig2017-09-051-1/+1
| | | | | | | | | Eval error introduced by 761856c84d8abae87aa1cd3b2a0f70f9f1bf4397. It's actually in pythonPackages. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
* profiles/workstation: Add pv to systemPackagesaszlig2017-09-051-0/+1
| | | | | | | I tend to use it more frequently than I thought I would and it's quite small, so let's make it the default for my workstations. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* devhell/packages: Add glancesdevhell2017-09-051-0/+1
|
* profiles/workstation: Add xournal to lazy-packagesaszlig2017-09-041-0/+1
| | | | | | | I'm not going to use this a lot, so let's not clutter up the closure size with it, even though the package is actually quite small. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* devhell/packages: Fix attribute for "jrnl"aszlig2017-09-021-1/+1
| | | | | | | | The jrnl package is now a top-level attribute since NixOS/nixpkgs@3ff173ffde475f96f12b379f4ae21658e63045c1. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
* madules/programs: Remove xpdf moduleaszlig2017-09-024-22/+1
| | | | | | | | | Since version 4.0 of xpdf, the UI has vastly changed and the configuration setting I'm using in this module no longer is necessary for me. So let's drop the module altogether until I'm getting used to the new xpdf and find new things I don't like :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* devhell/packages: Remove arc-themedevhell2017-08-311-1/+1
| | | | | Currently I'm not using GNOME anyway, and it's failing on Hydra, so might as well disable it at the moment.
* devhell/profiles: Fix package overridesaszlig2017-08-251-13/+11
| | | | | | | | | | | | | | | | | | | Regression introduced by 5990a4d62f2d3146ddd03ec2461d45b2102e5f42. In this commit, I copied over the nixpkgs.config.packageOverrides attribute, but didn't trim off the "nixpkgs.config", so the packageOverrides attribute didn't get evaluated correctly. While converting everything to overlays in 0feae9218e6f922366665e6515bc, I noticed that for @devhell's profile the store paths were different. In hindsight, this is pretty obvious given that overrides didn't apply *at* *all* but with the move to nixpkgs.overlays they suddenly applied. So this moves the overrides to overlays instead and drops the override on gnupg, because gnupg is already gnupg21 in upstream <nixpkgs>. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
* devhell/packages: Remove vivaldidevhell2017-08-201-1/+0
| | | | Tried it. Meh.
* 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>
* Rename all occurences of gpg2 to gpgaszlig2017-08-191-1/+1
| | | | | | | | | | | | This is in reaction to upstream commit NixOS/nixpkgs@e34ce9d1c551fb43742aada6bb43ccb1a52e64a1. One of the changes in GnuPG 2.1.23 is that the main binary is now called gpg instead of gpg2. See the full release announcement here: https://lists.gnupg.org/pipermail/gnupg-announce/2017q3/000412.html 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>
* profiles: Remove IPv6 patch for systemd v233aszlig2017-07-312-19/+0
| | | | | | | | | | | This reverts commit 224a63100f6233fda762c72818cad57173411802 and 85f3d5340e53e2624f65248740ed04cb1f5e94e9. Since the last staging merge done in commit NixOS/nixpkgs@740d76371e6c1c76bae4801fc5b736a796c1ebbe we have systemd version 234, which already has the change this patch has addressed. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/managed: Add patch for networkd IPv6 fixaszlig2017-07-261-0/+11
| | | | | | | | | | This is exactly the same patch/implementation as I've added for my machines in 85f3d5340e53e2624f65248740ed04cb1f5e94e9. I wanted to delay this a bit until I have tested it by myself, which I have by now. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/aszlig: Make vim module a plain packageaszlig2017-07-243-388/+1
| | | | | | | | | | | | I don't use anything that's machine specific within my Vim configuration (and even if, we can pass it via the callPackage arguments) so it's kinda pointless that it's a module instead of a plain package (override). This makes it also easier to nix-build the package without the need to go through the module system. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* bfq: Remove SCSI_MQ_DEFAULT option for kernel 4.13aszlig2017-07-201-4/+6
| | | | | | | This has been removed upstream and is no longer needed, see commit torvalds/linux@5c279bd9e40624f4ab6e688671026d6005b066fa. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Introduce new system.kernel.useBleedingEdge optionaszlig2017-07-202-6/+9
| | | | | | | | | | | | This dissolves the user.aszlig.system.kernel module, which was not only to stay on the latest bleeding edge kernel but also to enable BFQ. The latter has been factored out already a while ago already. Originally, I had a fully custom kernel config for mmrnmhrm and dnyarri, but it's no longer the case and thus the user.aszlig.system.kernel module is now no longer needed. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Add patch for networkd IPv6 fixaszlig2017-07-171-0/+8
| | | | | | | | | | | | | | | The upstream issue is systemd/systemd#3879 and this bug has annoyed me for a while now. I've also opened a pull request (NixOS/systemd#12) to the NixOS fork of systemd, but this is pending since almost a month now and the bug is still annoying as fuck, so let's patch it in vuizvui. I'm not yet porting this to other machines yet, because I want to test whether this actually really solves my problem (even though it's exactly what the upstream bug describes) or whether we need to patch something else as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell (uses networkd as well)
* Convert packageOverrides to overlaysaszlig2017-07-173-30/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* profiles/packages: Add termitedevhell2017-07-141-0/+1
| | | | Let's see what the fuss is all about.
* modules/openlab/speedtest: may_ was kind of a no-opProfpatsch2017-07-121-3/+1
|
* modules/openlab/speedtest: add curl timeoutProfpatsch2017-07-111-3/+17
| | | | When the connection drops packages, it should be picked up by the script.
* modules/openlab: use a smaller speedtest fileProfpatsch2017-07-111-2/+2
| | | | Based on comments in https://github.com/openlab-aux/orgafoo/issues/257.
* modules/profpatsch/scannning: add option to list remote scannersProfpatsch2017-07-101-3/+18
| | | | | sane has a file called `net.conf` which is a list of hosts that are searched for remote scanners.
* machines/hannswurscht: serve speedtest output with nginxProfpatsch2017-07-081-6/+1
|
* modules/openlab: improve speedtest scriptProfpatsch2017-07-082-19/+38
| | | | | | Add an option to specify the file where new data should be appended to. Check the size of the actual downloaded file. Add IPv6 and IPv6 checks and a version field for outputs.
* machines/haku: refactor a bit to include into base server configProfpatsch2017-07-081-0/+1
| | | | | Until now, the config on the actual server was deviating because I changed it locally.
* modules/openlab: small patch to speedtest for more correct pingProfpatsch2017-07-071-3/+4
|
* profiles/managed: Enable BFQ scheduler by defaultaszlig2017-07-061-0/+2
| | | | | | | Now that the scheduler is in mainline, I think there is nothing now to stop us from unleashing it to end users :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Remove service and tests for multipath-vpnaszlig2017-07-062-248/+0
| | | | | | | | | | The service and test has been broken for a long time now and nobody really has any interest in using it or even fixing it, so I'm removing it to decrease the amount of crap we have in there. If somebody still wants to use this someday we can still bring it back. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Move BFQ stuff into its dedicated moduleaszlig2017-07-064-20/+40
| | | | | | | | | Not everybody likes to have the latest release canidate kernel, so we now have an option called vuizvui.system.kernel.bfq.enable, which *only* enables the BFQ scheduler per default. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
* modules/kernel: Really enable BFQ by defaultaszlig2017-07-063-25/+15
| | | | | | | | | | | | | | | I previously wrote that patch in a hurry, so I thought it would be enough to set CONFIG_DEFAULT_IOSCHED to "bfq". But in block/elevator.c the actual default for blk-mq is a constant and can't be configured via CONFIG_DEFAULT_IOSCHED. So we're now patching just that constant and nothing more. Also, I've enabled CONFIG_DM_MQ_DEFAULT, because the DM devices need to be switched to blk-mq as well and for example on dnyarri I'm actually using the device mapper for LUKS. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/openlab: add correct locale for speedtestProfpatsch2017-07-051-0/+1
|
* modules/openlab: add speedtestProfpatsch2017-07-043-0/+87
| | | | A simple script to gather DNS & download speed data.
* hardware/t100ha: Switch to stable kernel 4.12aszlig2017-07-041-1/+1
| | | | | | | We no longer need to use linux_testing, because kernel 4.12 is stable since yesterday. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware/t100ha: Update patches for kernel 4.12aszlig2017-06-235-6414/+226
| | | | | | | | | | | | | We can now safely drop the sound, sdio and drm patches, because they all have been applied upstream already and after some testing the T100HA works quite nicely. One exception however is a small part from the drm patch, which is the PMIC hack which I originally introduced in e8861698f019eb218be451e444898a1cb5577d21 as a separate file which it's now again, but rebased against kernel 4.12-rc6. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* 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>
* Merge migration of devhell's machinesaszlig2017-06-224-0/+529
|\ | | | | | | | | | | | | This merges pull request #15 and thus also introduces @devhell as a new member of vuizvui. Changes were approved by @devhell via XMPP.
| * devhell: Mergo overrides/pkgs into vuizvuiaszlig2017-06-222-0/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces another profile module called "packages", which contains all the package configuration (including overrides) of all the machines in the devhell namespace. The machine-specific configuration is now merged into the machine configurations the same way as we've done previously with the services. One major difference here is that the haskellPackages workaround is no longer needed in the package configuration, as it is handled by vuizvui. Tested this by evaluating all machines and all evaluations succeeded. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell