about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* core/tests: Remove check on graphite.pageraszlig2020-03-231-1/+1
| | | | | | | | | | | | All of the NixOS options in services.graphite.pager have been removed in 37ffa6ea51f3a3d7e43736b9a5ce3c149dd9d1ee, but since we're using the "enable" option to check whether we need to run tests, we'll get an eval error. Removing the check fixes the evaluation error. Signed-off-by: aszlig <aszlig@nix.build> Reported-by: @devhell
* profiles/base: Switch back to latest kerneldevhell2020-03-041-1/+1
| | | | | With VirtualBox gone, I should be able to use the latest Linux kernel again. Yippie!
* profiles/services: Disable virtualboxdevhell2020-02-291-1/+1
| | | | | | | | | I've been trying to get away from VirtualBox for quite some time now. unfortunately work has been preventing me from ditching it. I've been doing some tests with virt-manager and, for now, I think it might be an okay replacement. The only problem is that I've not found a way to similarly export/import VMs in a convenient fashion which VirtualBox offers.
* profiles/base: Remove nerdfontsdevhell2020-02-261-1/+0
| | | | | Having added nerdfonts was a bad idea because it's 5G apparently. Let's not do this to aszlig's hydra.
* profiles/base: Add nerdfonts and cozettedevhell2020-02-251-0/+2
|
* devhell: Replace chromium with bravedevhell2020-02-221-1/+1
| | | | | | | | | I'm quite tired and bored of things like [1]. I can't find evidence that Brave has implemented this, so Brave will replace Chromium. [1]: https://www.chromestatus.com/feature/4733392803332096
* machines/{eir,gunnr}: Switch pamixer to profiledevhell2020-02-111-0/+1
| | | | Small but still valid step towards more de-DRYing.
* profiles/base: Temporarily pin Kernel versiondevhell2020-02-101-1/+1
| | | | | VBox doesn't build with the newest Kernel. So, best to stick with the old 5.4 for now.
* core/tests: Fix option check for buildkite-agentsaszlig2020-02-101-1/+1
| | | | | | | | | Another thing I missed in ffa7a45ba0aa27c926472e23587423bc07a6db53 is that not only the module got renamed, but its interface has changed as well and instead of an "enable" option, it's now just an attribute set of submodules and the service(s) are enabled whenever it's non-empty. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Rename module for buildkite-agentaszlig2020-02-101-2/+2
| | | | | | | | | | | | The buildkite-agent module, NixOS test and option got renamed[1] to its plural form, also supporting multiple agents. While none of our machines are using the module, we nevertheless need to fix the module option attribute so that our channels will evaluate. [1]: https://github.com/NixOS/nixpkgs/commit/f003810989c58746db9ea52f623 Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Remove docker-preloader testaszlig2020-02-101-4/+0
| | | | | | | | This test is only really useful in test environments and is imported only within the QEMU test driver. The NixOS module option is not available otherwise, which in turn will cause the evaluation to fail. Signed-off-by: aszlig <aszlig@nix.build>
* programs/mpv: Fix eval error for real this timeaszlig2020-02-101-5/+3
| | | | | | | | | | | When fixing the eval error in 67e921d264c7832ac97e39ef73df760a20ad2b47, I forgot about the fact that overrideAttrs doesn't reside in lib but instead is a package attribute. Since using "with lib;" is making it harder to quickly catch eval errors, I also removed it from the module. Signed-off-by: aszlig <aszlig@nix.build>
* treewide: Switch to displayManager.defaultSessionaszlig2020-02-104-15/+6
| | | | | | | | | | | | | | The option services.xserver.desktopManager.default and services.xserver.windowManager.default are deprecated since quite a while[1], so let's use the displayManager.defaultSession option instead. Additionally, there no longer is any need to explicitly disable the "xterm" desktopManager, so I removed that option as well. [1]: https://github.com/NixOS/nixpkgs/commit/8dc5ff7dcfd1c58c32004ffae25 Signed-off-by: aszlig <aszlig@nix.build> Cc: @devhell
* programs/mpv: Fix evaluation for installPhaseaszlig2020-02-101-2/+2
| | | | | | | | | | | | | | The package no longer[1] uses an installPhase but instead the same is now in postInstall. Since that module is pretty old I didn't use a fallback to an empty installPhase, so the evaluation fails now. Using postInstall along with a proper fallback should fix this, although I haven't tested whether $out/etc/mpv/mpv.conf is still recognised by mpv nowadays, we'll see... [1]: https://github.com/NixOS/nixpkgs/commit/542d7589568c2f3c6ac58c6e307 Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Fix evaluation for docker-preloaderaszlig2020-02-101-1/+2
| | | | | | | | | Eval error introduced by 0f0e3cef6297d1334a3b1c27bb125490850be84f. The virtualisation.dockerPreloader attribute doesn't include an "enable" option, but instead is configured by specifying a list of images. Signed-off-by: aszlig <aszlig@nix.build>
* programs/zsh: Set key timeout to 0.01 secondsaszlig2020-02-101-0/+1
| | | | | | | | | | | | | Since I'm using Vi keybindings, pressing the Escape key is something I do rather frequently. Having to wait for roughly a second after that gets pretty annoying after a while, so let's set the timeout to 0.01 seconds. This should usually be "small enough" to not interfere with other key sequences resulting in escape characters, but let's see how this will play out after a while. Signed-off-by: aszlig <aszlig@nix.build>
* programs/mpv: Don't youtube-dl videos > 1080paszlig2020-02-101-0/+1
| | | | | | | | Since more and more "Ultra HD" videos are out there, it really doesn't make any sense to play such big resolutions if the monitor only is a 1080p display. Signed-off-by: aszlig <aszlig@nix.build>
* Fix deprecated displayManager.auto.enable optionaszlig2020-02-101-2/+3
| | | | | | | | | | | | | | | | Since a while[1], the services.xserver.displayManager.auto option is deprecated. Since first of all SLiM got removed and now every display manager supports auto-login, I switched the labtops module to use the LightDM implementation. Since the common x11 test module still exposes a similar interface, we only need to use the same options from the test-support option, which should hopefully be a "sane default" suitable for tests. [1]: https://github.com/NixOS/nixpkgs/commit/c95612a5a2d4bd93011c042066c Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* core/tests: Update upstream NixOS testsaszlig2020-02-101-63/+606
| | | | | | | | | | | | | | | | | It has been a while, since we did a full update of all the tests, which we last did in 3ea85a699a65dbdd4f633d21e70be6859b0f3f8f (April 2018). Since then, a whole lot of tests were added and a few of them got removed as well. Since we only did incremential updates whenever something broke, we didn't have any newer tests. We should now have conditions of all the tests we have in nixpkgs master[1] minus a few special ones, which are only related to upstream image generation (eg. the ec2 test). [1]: https://github.com/NixOS/nixpkgs/commit/637bb9fa984238f2f7e6235ca11 Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Add TT2020 fontdevhell2020-02-031-0/+1
|
* profiles/packages: Add termsharkdevhell2020-01-281-0/+1
|
* profiles/packages: Add httpiedevhell2020-01-161-0/+1
|
* profiles/packages: Add brootdevhell2020-01-131-0/+1
|
* profiles/{base,packages}: Add fira-code & taskelldevhell2020-01-112-0/+2
|
* devhell: rm/add general and specific packagesdevhell2020-01-031-5/+2
| | | | | | Trying to get around to cleaning out packages I don't need on a normal basis, this is the start of a number of future commits that will be dealing with cleaning up and optimising my package usage.
* profiles/packages: Add glowdevhell2020-01-021-0/+1
|
* machines: `consoleFont` and `consoleKeyMap` moved to `console`Profpatsch2019-12-222-4/+8
| | | | | | Fixes the evaluation warning. cc @aszlig @devhell @sternenseemann
* profiles/workstation: Remove xpdfaszlig2019-12-081-1/+0
| | | | | | | | | | | | | | | | | | | Package currently doesn't evaluate because: > Package xpdf-4.02 in ... is marked as insecure, refusing to evaluate. > > Known issues: > - CVE-2018-7453: loop in PDF objects > - CVE-2018-16369: loop in PDF objects > - CVE-2019-9587: loop in PDF objects > - CVE-2019-9588: loop in PDF objects > - CVE-2019-16088: loop in PDF objects While this might be fixed in the future, I'm removing the package anyway, because I'm using zathura for quite a while (since mid 2016 to be exact) and never used xpdf a single time since then. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/managed: Fix up renamed gvfs optionaszlig2019-12-081-1/+1
| | | | | | | | | | The option has been moved[1] out of services.gnome3 since quite a while, so let's actually use the new option "services.gvfs.enable" instead. [1]: https://github.com/NixOS/nixpkgs/commit/67ad8a788fe0a8c22910d68d470416b6f5626740 Signed-off-by: aszlig <aszlig@nix.build> Reported-by: @dwenola
* modules/bfq: Rebase patch against kernel 5.4aszlig2019-12-082-1/+15
| | | | | | | | | | | The patch no longer applies because the default elevator initalisation has been refactored a bit[1] in kernel 5.4. Content-wise our patch is still the same. [1]: https://github.com/torvalds/linux/commit/a0958ba7fcdc316e3900f8d2afda519850d60985 Signed-off-by: aszlig <aszlig@nix.build>
* treewide: Remove all references to SLiMaszlig2019-12-084-50/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following evaluation error: The option `services.xserver.displayManager.slim' can no longer be used since it's been removed. The SLIM project is abandoned and their last release was in 2013. Because of this it poses a security risk to your system. Other issues include it not fully supporting systemd and logind sessions. Please use a different display manager such as LightDM, SDDM, or GDM. You can also use the startx module which uses Xinitrc. Here is the nixpkgs upstream pull request removing SLiM: https://github.com/NixOS/nixpkgs/pull/73251 Since I was using a custom theme for SLiM and actually liked the minimalism, it's probably time to start patching LightDM soon. For now however, I'll stay with a default LightDM configuration and wait until I'm getting annoyed :-) Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Remove beegfs testaszlig2019-12-081-3/+0
| | | | | | | | | | | | | | | | The test has been removed upstream[1] for the following reason[2]: > BeeGFS is a fantastic high performance file system. However, after > running it for a few months last year the meta data daemon kept > crashing randomly in production use (support from the manufacturer > requires a paid support contract). The current version that is nixpkgs > is outdated and I do not want to maintain it any longer. The build > system is purely based on make file and is hard to maintain. [1]: https://github.com/NixOS/nixpkgs/commit/c3e17efaab0b53b4f45454aaaea7690506a8fcde [2]: https://github.com/NixOS/nixpkgs/pull/66352 Signed-off-by: aszlig <aszlig@nix.build>
* treewide: use `runCommandLocal` where applicableProfpatsch2019-12-084-4/+4
| | | | | | | `runCommandLocal` was added to nixpkgs in https://github.com/NixOS/nixpkgs/pull/74642 to speed up trivial `runCommand` derivations by always building them locally. We have a few places where that’s good to use.
* profiles/packages: Add taizendevhell2019-12-071-0/+1
| | | | Nifty terminal wiki reader written in Rust.
* profiles/base: Explicitly enable gnupg and set pinentrydevhell2019-12-021-0/+4
| | | | Right now, I got no way of using Nitrokey. Yay.
* core/tests: Remove quake3devhell2019-11-101-4/+0
| | | | | | | | | This test has been recently removed upstream [1]. [1]: https://github.com/NixOS/nixpkgs/commit/50ea99cbc18d3f480a773de5250b4ef9c7f6d514 Signed-off-by: devhell <devhell@mailfresser.de> Cc: @aszlig
* profiles/base: Remove ultimate fontconfig and corefontsdevhell2019-11-081-4/+0
| | | | These have been removed very recently.
* profiles/base: Add junicode and reactivate vista fontsdevhell2019-11-081-1/+2
|
* devhell/packages: Remove Py3 override for "john"aszlig2019-11-031-1/+1
| | | | | | | | | | | | Since NixOS/nixpkgs@582b92b9483428a0e40f276aff3da2d99bbe62c5, the "john" package now uses Python 3 by default, so the override does no longer work because the package no longer has a "pythonPackages" attribute. Luckily, the upstream change is doing exactly what's done here, so we can simply drop the override. Signed-off-by: aszlig <aszlig@nix.build> Cc: @devhell
* profiles/packages: Re-add starshipdevhell2019-11-031-0/+1
| | | | Removed it accidentally.
* modules/gnupg: Default to using pinentry_gtk2aszlig2019-11-021-3/+3
| | | | | | | | | | | Prior to NixOS/nixpkgs@cb0adc11ffb0926adae7aa2ed22835c4f9ea971c, the "pinentry" attribute defaulted to the GTK 2 flavour, but with the mentioned commit, the default has changed to the ncurses one. To make sure we have the same behaviour in our VM test as we had before that change, I explicitly changed our default pinentry to pinentry_gtk2. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Fix typo in overridePythonAttrsdevhell2019-11-011-1/+1
|
* profiles/packages: Override virtinst python2devhell2019-11-011-1/+9
| | | | Similar to `john`. Thanks again to @aszlig :)
* profiles/packages: Override john with python 3devhell2019-11-011-1/+1
| | | | | I need john after all right now. This work-around was contributed, as usual, by the venerable @aszlig.
* profiles/packages: Disable johndevhell2019-10-311-1/+1
| | | | Until it's dependency on python 2 is removed.
* profiles/services: Niceify prompt icondevhell2019-10-271-1/+1
| | | | Looks less weird.
* profiles/packages: Also remove Pythondevhell2019-10-241-1/+0
|
* profiles/packages: Remove Python 2devhell2019-10-241-3/+0
|
* profiles/packages: Add starshipdevhell2019-10-141-0/+1
| | | | For when I feel funky.
* profiles/workstation: Add wcc to packagesaszlig2019-10-131-0/+1
| | | | | | | | | | | | | | This is the "Witchcraft Compiler Collection", which is VERY useful for reverse-engineering, especially when looking back at the work I've done with game packaging here in Vuizvui, I would have needed something like this a ton of times. I've mainly used radare2 for dissecting the binaries, but especially the "Witchcraft Shell" is quite useful to have. Thanks to @Profpatsch for pointing this out to me. Signed-off-by: aszlig <aszlig@nix.build>