about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* machines/sternenseemann/schnurrkadse: removesternenseemann2021-02-061-185/+0
| | | | | This machine is no longer active and not really feasibly usable with NixOS since i686 support was dropped.
* 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>
* pkgs/openlab: remove gititProfpatsch2021-02-052-19/+0
| | | | | We originally needed it here to deploy it on the machine, but it’s set up manually via the gitit repo default.nix for the time being.
* 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>
* treewide: stdenv.lib -> pkgs.libProfpatsch2021-02-0524-61/+61
| | | | Upstream is deprecating `stdenv.lib`, so let’s do the same.
* pkgs/profpatsch: add deployProfpatsch2021-02-053-0/+44
| | | | Small script to deploy my machines.
* pkgs/profpatsch: adjust exec stuff to new skalibsProfpatsch2021-02-054-14/+54
| | | | | | | | | | | skarnet thought it would be wise to completely change the skalibs exec function interface without any backwards compat, so here we are. Have to reverse the code a bit, because `xmexec0` is a recursive `#define` pointing to `xmexec0_af`. `record-get` gets a rust treatment, it doesn’t really need the C interface just to exec into prog.
* machines/shiki: disable some software I don’t useProfpatsch2021-02-041-4/+4
|