about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/sternenseemann: add update script for programs.sqlitesternenseemann2021-02-192-0/+118
| | | | | | | | | | | | This script downloads the latest nixos-unstable nixexprs.tar.xz, extracts programs.sqlite, figures out its hash and updates version and hash in the given release.nix. Accessible as pkgs.sternenseemann.vuizvui-update-programs-sqlite for a lack of a better place to put it. Maybe we should add something? build-support doesn't feel right. Future work: run this automatically once in a while via GitHub actions.
* modules/core/common: set correct dbPath for command-not-foundsternenseemann2021-02-192-6/+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).
* release.nix: inject programs.sqlite from a nixos channelsternenseemann2021-02-191-0/+20
| | | | | | | | | | | | | | programs.command-not-found requires a database containing an index of all of nixpkgs. Since this is pretty expensive to create we fetch the database from the nixos-unstable channel. Unfortunately it is not available via git, so we need to use the tarball which also means hydra can't automatically update it. One improvement to this change that would be possible is to also index vuizvui and merge that with the database from upstream. This should probably be investigated in the future, but probably affects less people as the nix tool will only be usable with vuizvui packages as commond-not-found suggests if vuizvui.modifyNixPath = true.
* machines/sternenseemann/wolfgang: add github clisternenseemann2021-02-191-0/+1
| | | | gh pr checkout sure is extremely convenient.
* modules/user/sternenseemann/mandoc: add support for non english manualssternenseemann2021-02-192-4/+23
| | | | | | | | | 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.
* pkgs/sternenseemann/temp: test using testRustSimplesternenseemann2021-02-142-14/+10
| | | | | This means we don't need the -common machinery anymore and can remove the -tests attribute altogether.
* pkgs/profpatsch: vendor testRustSimple from tvlsternenseemann2021-02-142-3/+30
| | | | | | | testRustSimple builds and runs the tests of a buildRustCrate derivation automatically using drvSeqL, returning its non-test variant. Really looking forward to pkgs.tvl :)
* pkgs/sternenseemann/temp: add tiny temporary file/dir cratesternenseemann2021-02-133-0/+226
| | | | | | | | | | | | | The crate implements a safe wrapper around mkdtemp(3) and mkstemp(3) which provide decent temporary file and directory creation. The key feature we provide is that we wrap the resulting path in a TempFile / TempDir struct. This allows us to implement the Drop trait such that the temporary directory / file is automatically deleted when the value goes out of scope in Rust which saves the programmer from cleaning up temporary artifacts themselves. The API is indeed very tiny currently, only implementing creation and AsRef<Path> which should allow all necessary path / file manipulation.
* feat(pkgs/profpatsch): add backup scriptProfpatsch2021-02-132-0/+155
| | | | | | Small wrapper around duplicity to restore/create my backups with. The legosi backup is created by `services.duplicity`, but can be restored from the script via the read-only application key.
* modules/user/profpatsch: adjust naming schemesternenseemann2021-02-136-12/+14
| | | | | | | | | | | | | | | 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
* feat(machines/legosi): initial duplicity setupProfpatsch2021-02-131-0/+44
| | | | | This should backup every service in `/var/lib` and anything I add in the future that I might have missed.
* fix(machines/legosi): set nix path to latest nixpkgs unstableProfpatsch2021-02-131-6/+2
| | | | | | | | | | Previously I had actually rebuilt the system locally, but since I use the deploy script, I don’t need to have a full up-to-date nixpkgs checkout, and only copy over the system closure. Thus, set the path to only contain nixpkgs, and only a link to the latest github unstable tarball in case I really need it e.g. for a nix shell.
* feat(pkgs/profpatsch/deploy): use substitutes on remoteProfpatsch2021-02-131-2/+6
|
* feat(profpatsch/machines): set journal size limit on every machineProfpatsch2021-02-132-3/+3
| | | | | | Before we just set 50M on workstations, but let’s increase to 500M and set it as default on every machine, so we don’t run out of space because somebody DDoSes our server logs.
* profiles/workstation: Add Flameshotaszlig2021-02-138-0/+134
| | | | | | | | | | | 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>
* machines/sternenseemann/wolfgang: tree → lrsternenseemann2021-02-121-1/+1
| | | | Less fancy, more useful.
* pkgs/sternenseemann: unvendor fetchcvssternenseemann2021-02-113-52/+1
| | | | | | nixpkgs-unstable has advanced enough that the fetchcvs fix is now available via that channel, so our hydra won't choke on this derivation with the upstream fetchcvs.
* 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-114-42/+14
| | | | | | 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-114-14/+42
| | | | | | 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-094-2/+121
| | | | | | | | | | 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
* pkgs/sternenseemann/mandoc: initsternenseemann2021-02-094-0/+143
| | | | | | | | | | | | | Build mandoc from cvs and apply a patch which adds an exception for the checks does makewhatis(8): with this the realpaths of man pages to be indexed may be symlinks referring to files outside of the root man directory if they are located in /nix/store. This allows indexing /run/current-system/sw/share/man using mandoc's makewhatis(8). Since fetchcvs is currently broken in nixos-unstable we vendor in the fixed variant from nixpkgs master until the channel has advanced.
* machines/sternenseemann/wolfgang: fix screenshot wrapper scriptsternenseemann2021-02-091-2/+3
| | | | | | Couldn't figure out how to pass a string from a command which contains spaces from a variable to a command without the string getting split into two arguments, so nested shell it is.
* machines/sternenseemann/wolfgang: fix alternate scroll for git diffsternenseemann2021-02-091-0/+3
| | | | | | | | Even if GIT_PAGER is set to less alone, git diff will pass extra options to less, so we have to explicictly set the LESS="..." environment variable to change this behavior. Specifically we don't want -F which prevents less from entering alternate mode which enables alternate scrolling in foot.
* machines/sternenseemann/wolfgang: disable programs.command-not-foundsternenseemann2021-02-091-0/+3
| | | | vuizvui currently ships no programs.sqlite
* profiles/packages: Add and remove some toolsdevhell2021-02-081-5/+5
|
* machines/herja: Fine-tune configurationdevhell2021-02-081-24/+17
| | | | | | | | After some experimentation and looking at the NixOS' hardware repo, this configuration seems to work quite well. There are no major issues to worry about for now. This is also the first machine where `fwupd` is available and working.
* machines/sternenseemann/wolfgang: use vuizvui thinkpad modulesternenseemann2021-02-071-9/+1
|
* pkgs/profpatsch/utils-hs: update to f53264978042d8041831a3ac3766aa1dfdc60b57sternenseemann2021-02-071-2/+2
| | | | | This fixes the build of pkgs.profpatsch.watch-server, it was likely only forgotten to update the revision in vuizvui.
* machines/sternenseemann/wolfgang: declarative fish configsternenseemann2021-02-074-6/+48
|
* modules/user/sternenseemann: add sway service modulesternenseemann2021-02-075-253/+370
| | | | machines/sternenseemann/wolfgang: refactor using new sway module
* machines/sternenseemann/wolfgang: fix foot font size keybindingssternenseemann2021-02-071-2/+2
|
* */sternenseemann: make TODOs more greppablesternenseemann2021-02-075-8/+11
| | | | machines/sternenseemann: add TODO list
* machines/sternenseemann/wolfgang: initsternenseemann2021-02-076-0/+596
|
* 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.
* pkgs/sternenseemann/lib: init with mapAttrsByAttrssternenseemann2021-02-072-0/+80
|
* gitignore: ignore pesky result symlinkssternenseemann2021-02-061-0/+3
|
* pkgs/sternenseemann/scripts: initsternenseemann2021-02-062-2/+229
|
* pkgs/sternenseemann/texlive: initsternenseemann2021-02-061-0/+7
| | | | sterni's personal texlive.combine { ... }
* pkgs/sternenseemann/pass: initsternenseemann2021-02-062-1/+73
| | | | sterni's patched pass with passmenu
* pkgs/sternenseemann/unicode_clock: init at 0.1sternenseemann2021-02-062-0/+24
|
* pkgs/sternenseemann/shakti: init at 2021-01-29sternenseemann2021-02-062-0/+37
|
* pkgs/sternenseemann/t: init at unstable-2020-04-11sternenseemann2021-02-062-0/+22
|
* pkgs/sternenseemann/tep: initsternenseemann2021-02-066-2/+223
| | | | pkgs/sternenseemann/emoji-generic: init at unstable-2020-11-22
* machines/sternenseemann/schaf: removesternenseemann2021-02-061-105/+0
| | | | | This machine is no longer active and probably would have to be redone completely should it be reactivated.
* machines/sternenseemann/fliewatuet: removesternenseemann2021-02-061-275/+0
| | | | | This machine has been replaced and now runs Windows for playing minecraft mostly.