about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* profiles/tvl: remove effect-less mkAftersternenseemann2021-04-201-2/+2
| | | | | | | | | Binary cache priority is only decided by list ordering if the caches have the same priority, but cache.tvl.su has a higher priority than cache.nixos.org and headcounter.org/hydra. Due to https://github.com/NixOS/nix/issues/4717 we can't specify the priority for cache.tvl.su via the URL options method.
* profiles/tvl: use networking.domain instead of listing all hostssternenseemann2021-04-201-7/+3
| | | | This should make arbitrary new short domains work automatically.
* profiles/services: Re-enable MPD connection to pulsedevhell2021-04-201-0/+1
|
* Revert "profiles/{base,packages,services}: Swith to pipewire"devhell2021-04-183-6/+7
| | | | | | | | | | | | | This isn't working for me right now. Various different issues are afoot. For one, my new headset at work functions as expected, until I change volume, either on the headset itself or via normal volume control. My local MPD isn't working either since the switch and there doesn't seem to be a way to replicate that functionality with `pipewire` right now. While I'd be more than happy to look into it, as usual, right now is not a good time. This reverts commit 997cbff6504bcd6bbc2b9fc72fecf271508956b8.
* machines/profpatsch: make bitlbee and philip normal userssternenseemann2021-04-181-0/+1
| | | | | | | | | | | | | | https://github.com/NixOS/nixpkgs/pull/115332 introduced a new check that requires either isSystemUser or isNormalUser to be true to help UID collision checks (I don't remember how this exactly aids that). To fix evaluation of @Profpatsch's machines, I've set isNormalUser for bitlbee and philip. Note that bitlbee probably should be a system user, but seems like there may be issues with that: https://github.com/NixOS/nixpkgs/pull/115332#issuecomment-792287827 Just to be safe, leave it as a normal user for now, the proper fix seems to be to move the data dir creation into the service setup, rather than doing it via the home setup.
* profiles/packages: Remove transcodedevhell2021-04-171-1/+0
|
* profiles/services: Switch mpd to socket activationdevhell2021-04-161-1/+1
|
* modules/sternenseemann/sway: work around new screensharing issuesternenseemann2021-04-161-1/+5
| | | | | | Sway updates it's WAYLAND_DISPLAY variable in a way dbus doesn't pick up on. Fix is taken from here: https://github.com/NixOS/nixpkgs/issues/119445#issuecomment-820507505
* devhell/{profiles,packages}: Modify i3wmdevhell2021-04-152-2/+1
| | | | | Don't need these extra packages and I'm tired of i3lock-fancy being so damn slow.
* modules: Remove my vimdevhell2021-04-152-91/+0
| | | | | Silly me for not noticing that I was using the pkgs version rather than the module version. Thanks to @aszlig for pointing out my idiocy. :)
* modules/user/devhell: fix eval … againsternenseemann2021-04-131-3/+3
| | | | | | | Mistyped with my evaluation fix and added lib.optional instead of lib.optionals, so a list got into systemPackages which breaks evaluation in a hard to debug way (and also made me discover a hillarious segfault in nix).
* modules/core/tests: adjust for new kernel test structuresternenseemann2021-04-131-12/+12
| | | | | | | | | | | | | | | The kernel-lts and kernel-latest tests seem to have been removed (not sure when exactly, didn't blame). Instead we can use nixosTests.kernel-generic."linux_${major}_${minor}". This allows us to easily check for tests for arbitrary kernel versions as well. However there is currently a bug that these are returned as functions instead of derivations at the moment which will hopefully be fixed by my upstream PR soon. Until that happens we check if the test is a derivation or not with lib.isDerivation. cc @aszlig for comments / further improvements. Main intention right now is to fix eval in a future proof way.
* profiles/{base,packages,services}: Swith to pipewiredevhell2021-04-113-7/+6
| | | | | | | This seems very neat, and after a brief test I'm going to see if I can switch to it permanently. This is also the beginning of my journey to move to sway eventually.
* profiles/tvl: support tvls host shorthandssternenseemann2021-04-091-0/+8
| | | | | | | whitby.tvl.fyi has virtualhosts configured with the names "b" and "cl" which redirect to b.tvl.fyi and cl.tvl.fyi respectively. For this to work in e. g. your browser as well, we need to add entries to networking.hosts. See also http://cl/2908.
* profiles/tvl: insert cache.tvl.su with less prioritysternenseemann2021-04-091-2/+2
| | | | | This should make headcounter.org/hydra and cache.nixos.org take precedence over cache.tvl.su which is needed less often.
* modules/profiles/tvl: add tvl profile modulesternenseemann2021-04-042-0/+26
| | | | | | | | | | | | This doesn't do much other than enabling cache.tvl.su as a binary cache currently, but we can additional settings in the future which are neat for working with tvl's depot. I contemplated adding an option to add <depot> to the nixPath, but I don't want it too desparately right now and it is kind of annoying to implement for vuizvui, as the default core/common.nix module overrides any values you set and it is hard to merge the nixPath values, so we'll probably need an vuizvui.extraNixPath option etc. pp.
* profiles/services: Enable havegeddevhell2021-04-041-0/+1
|
* modules/devhell/profiles/services: conditionally include i3-auto-layoutsternenseemann2021-04-031-2/+3
| | | | | | | | | i3-auto-layout is not yet in nixos-unstable unfortunately, so it triggers an eval error on hydra. Temporarily hack around it by only including it in extraPackages if pkgs contains the package in question (i. e. if rebuilding from master locally). cc @devhell
* profiles/{packages,services}: Modify i3devhell2021-04-012-2/+2
| | | | | Add i3 extraPackages `i3-auto-layout` and `rofi`. This is much saner than shoving everything into systemPackages.
* profiles/base: Enable dconfdevhell2021-04-011-0/+3
| | | | According to NixOS' wiki this should be good for something.
* modules/programs/gnupg: allow extraConfig for gpg-agent.confProfpatsch2021-03-251-0/+16
| | | | | Since we pass the config, the home directory config isn’t picked up anymore, so I need to pass it via `extraConfig`.
* machines/sternenseemann/wolfgang: switch to pipewiresternenseemann2021-03-211-1/+1
| | | | Hearing a lot of good things lately, time to see what it is about.
* flameshot: Rebase config against version 0.9.0aszlig2021-03-091-16/+8
| | | | | | | | The conflicting changes here are largely because of changed context, except one hunk which is dropped because the "saveAfterCopyPath" no longer existists in version 0.9.0. Signed-off-by: aszlig <aszlig@nix.build>
* programs/vim: Add vim-illuminatedevhell2021-03-061-0/+1
| | | | This is quite useful to the eye.
* services/Profpatsch: add gonic server & enable on hakuProfpatsch2021-03-052-0/+58
| | | | | | | gonic is a modern alternative to mpd, it indexes music directories and provides a server with a protocol to request files and metadata. It has an Android app.
* services/profpatsch/weechat: start factoring out some optionsProfpatsch2021-03-051-12/+25
| | | | | | The goal is to be able to have multiple weechat services on one machine, so a bunch of people can run their weechat clients under different service users.
* machines/shiki: make dunst follow keyboard focusProfpatsch2021-03-051-0/+1
|
* profiles/packages: Replace tldr with tealdeerdevhell2021-03-021-1/+1
| | | | | | | The normal `tldr-c-client` from `tldr`'s own repository hasn't been updated in about 5 years and there is a really annoying update bug that has a fix but upstream has just "forgot" about it it seems. So, this alternative works as expected and is written in Rust. Yay.
* modules/hardware/low-battery: suspend on low batterysternenseemann2021-02-252-0/+46
|
* modules/user/profpatsch: description for services.dunst.settingssternenseemann2021-02-221-0/+6
| | | | | This is not really to inform anybody about anything, but mostly to get rid of the warning generated by `nix-build -A manual release.nix`.
* modules/core/common: set correct dbPath for command-not-foundsternenseemann2021-02-191-3/+9
| | | | | | | | Since we now distribute the programs.sqlite database with the vuizvui channel, we can make use of it in programs.command-not-found. We change the default path used to use the nixpkgs sub directory of the vuizvui channel (by default it expects a channel named nixos containing the database).
* modules/user/sternenseemann/mandoc: add support for non english manualssternenseemann2021-02-191-4/+22
| | | | | | | | | Apparently (probably since GNU came along) there are manuals for different languages than english in share/man/$language. This adds support for this in my mandoc module by allowing the user to freely specify the manpath entries under $out. > nmap(1) - Netzwerk-Analysewerkzeug und Sicherheits-/Portscanner
* gnupg: Work around GPG agent reload with v2.2.26aszlig2021-02-161-10/+12
| | | | | | | | | | | | | | | | GnuPG version 2.2.26 got a refactor of the option parser and now no longer preserves options set via command line flags when sending the HUP signal. I think this is an upstream regression and ideally we should submit a bug report and or patch upstream, so this should be treated as a workaround since I currently have limited time and just wanted fix our integration module. Since the config file is actually reloaded on HUP, we're now simply passing the same options via file rather than via arguments. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Add flameshotdevhell2021-02-141-0/+1
| | | | This is pure screenshot-bliss.
* modules/user/profpatsch: adjust naming schemesternenseemann2021-02-134-8/+10
| | | | | | | | | | | | | | | The general consensus seems to be to use vuizvui.user.<username>.<category>.<module name> instead of vuizvui.<category>.<user name>.<module name> Things done to test this change: * Checked build of machines.profpatsch.legosi.build * Checked evaluation of machines.profpatsch.shiki.build
* profiles/workstation: Add Flameshotaszlig2021-02-136-0/+107
| | | | | | | | | | | So far I've almost exclusively used scrot for screenshots, but most of the time I used an image manipulation program to pixelate stuff, add descriptions or draw arrows. Flameshot combines this in a single application, so I expect that from now on I can spam-post screenshots in even a higher rate than before ;-) Signed-off-by: aszlig <aszlig@nix.build>
* modules/user/sternenseemann/sway: fix startup by enabling openglsternenseemann2021-02-111-0/+2
| | | | | | | Due to a previous oversight hardware.opengl.enable = true; wasn't set anymore (previously it was by programs.sway which has been replaced). Thus sway couldn't load the necessary OpenGL driver's anymore after a reboot.
* Revert "modules/user/sternenseemann/sway: fix startup by enabling opengl"sternenseemann2021-02-111-2/+0
| | | | | | This reverts commit 5bd756eaf27882820cb59e0ecf9c305f08b3b3e3. Committed more than I meant to.
* modules/user/aszlig/managed: disable flashsternenseemann2021-02-111-1/+0
| | | | | | | | | | nixpkgs has removed flash support in chromium without replacement in d55603f11d36ae38ca76dec8d95bc55d2115f104 following the removal in upstream chromium M88, so I'm disabling it completely in vuizvui.user.aszlig.profiles.managed to fix the evaluation of shiki and brawndo. cc @aszlig
* modules/user/sternenseemann/sway: fix startup by enabling openglsternenseemann2021-02-111-0/+2
| | | | | | sway needs opengl driver's to be enabled and loadable in order to start. I previously didn't notice this oversight as I still had them loaded and did not reboot after the rebuild.
* profiles/packages: Add nixfmtdevhell2021-02-091-0/+1
|
* modules/user/sternenseemann: add mandoc modulesternenseemann2021-02-092-0/+113
| | | | | | | | | | This module implements a drop-in replacement for documentation.man which finally lets me get rid of pkgs.man-db. This is still to be considered experimental as the required patch hasn't landed in upstream mandoc yet. Should that happen, I'll try to contribute this module back to nixpkgs. A more detailed description on the module and mandoc on NixOS can be found at the top of modules/user/sternenseemann/documentation/mandoc.nix
* profiles/packages: Add and remove some toolsdevhell2021-02-081-5/+5
|
* modules/user/sternenseemann: add sway service modulesternenseemann2021-02-072-0/+318
| | | | machines/sternenseemann/wolfgang: refactor using new sway module
* modules/programs/foot: initsternenseemann2021-02-072-0/+205
| | | | | | | Module for the foot (wayland) terminal emulator. Approach for this module is to take advantage of toINI and freeform module types to allow users to freely set any option while still offering some higher level representations for fields where plain strings would be inconvenient.
* profiles/managed: Fix kdeApplications eval erroraszlig2021-02-051-10/+10
| | | | | | | | | The kdeApplications attribute got removed from the top-level a while ago, so the machines using the "managed" profile no longer evaluate. Instead, the plasma5Packages exposes the same set of packages. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Disable Beets "Alternatives" pluginaszlig2021-02-051-3/+0
| | | | | | | | | | I no longer use this plugin and since evaluation currently is broken upstream (blocked by [1]), let's make sure that at least the rest of Vuizvui continues to evaluate. [1]: https://github.com/NixOS/nixpkgs/pull/109679 Signed-off-by: aszlig <aszlig@nix.build>
* profiles/services: Rework picomdevhell2021-01-101-0/+5
| | | | | I've been experiencing some nasty tearing and flickering lately. This was a good opportunity to also change some settings.
* profiles/{packages,services}: polybar -> i3status-rustdevhell2021-01-102-1/+1
| | | | | | I'm a bit tired of polybar and am very interested in i3status-rust, however, the latter isn't a perfect replacement yet, so I'm going to continue experimenting with it.
* profiles/packages: Clear some unneeded packagesdevhell2021-01-071-5/+0
| | | | These are not needed nearly as much as they once did.