about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* modules/aszlig: Remove Taskwarrior moduleaszlig2020-12-234-86/+0
| | | | | | | | I no longer use Taskwarrior and since my config.patch fails to apply in the most recent release, I think it's time to finally remove it from my workstation profile. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Add helper for showing last Nix logaszlig2020-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is a common pattern I encounter on a daily basis, which involves copy & pasting the store path of a failed build to "nix log". Now the same is just a matter of running "nlast" and we get rid of the useless copy & paste. The way we do this does have a small goof: Using mtime (or really any time, other than atime, which commonly is disabled) is not going to work if we *repeat* an older Nix build, since this will only change the log file but the prefix directory will be unchanged. Since addressing this goof would most likely result in iterating through *all* log files, I'm not doing it since I think it doesn't occur very often in practice. If I happen to be wrong on that, we could still go for the heavyweight solution. Also, I went for implementing this in Python instead of a shell script, because the latter would not only be less readable but also way slower since we need to either fork out for every stat command or use ls and head to figure out the newest file. Signed-off-by: aszlig <aszlig@nix.build>
* devhell/vim: Change vim from module to packagedevhell2020-12-041-1/+1
| | | | Recommended by aszlig to switch from module to package.
* workstation/packages: Remove NixOpsaszlig2020-12-041-1/+0
| | | | | | | | | | | | | | | | Since the "cryptography" Python library is marked as insecure I'd have several options here: Add an excemption for the library, switch to NixOps 2.0 or entirely remove it. I chose to do the latter, since on all of my deployments I currently use a heavily patched NixOps version which is somewhat of a mix between 1.5 and 2.0 and the version used here in the workstation profile is unused since ages anyway. In case I really need to use nixops on any of my workstations again, I could still resort to "nix run". Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Remove vim_configurabledevhell2020-12-041-1/+0
| | | | | This led to an issue where `vim` and `vimdiff` were launched from two different derivations.
* profile/base: Remove more fontsdevhell2020-11-301-2/+0
| | | | Don't need these either really.
* profiles/base: Add Nerd Font, remove othersdevhell2020-11-301-12/+1
| | | | | Nerd Fonts looks interesting and should replace most of the ones I already use.
* programs/vim: Remove dracula, add vimtexdevhell2020-11-261-4/+9
| | | | | | | I just like `tender` colorscheme too much, and also `dracula` didn't work very well. Although most of my LaTeX work is done on Overleaf, sometimes I do need some good local LaTeX support in vim, so let's give `vimtex` a chance.
* profiles/base: Rework ZSH configurationdevhell2020-11-231-2/+36
| | | | | | | | | | I've been trying to get most of my environment directly configured via my NixOS configuration rather than rely on my dotfiles repository, if the program/configuration is well supported in NixOS. Just like Vim, here too I'm relying more on NixOS' ZSH options, which truly eliminates dependencies on external repositories or dotfile setups.
* profiles/packages: Add gh clidevhell2020-11-181-0/+1
| | | | Might be less annoying that having to do things via the browser.
* profiles/packages: Remove termitedevhell2020-11-161-1/+0
| | | | I'm very happy with `alacritty`, so I'm dropping `termite`.
* profiles/packages: Add vividdevhell2020-11-141-0/+1
|
* programs/vim: Rework vimdevhell2020-11-121-14/+23
| | | | Now it's pretty much the way I want it.