Commit graph

50 commits

Author SHA1 Message Date
Simon Bruder a88e4e053c
Make commercial bluray disc playback work
This requires the key database at ~/.config/aacs/KEYDB.cfg (note the
case, I missed this at first). A guide for how to prepare it can be
found on the Arch Wiki: https://wiki.archlinux.org/title/Blu-ray
2022-04-01 18:03:29 +02:00
Simon Bruder 18652c7580
bwrap-helper: Always bind /etc/ssl/certs
The bwrap fhs userenv uses readlink -f to resolve symlinks. It is called
in the argument list of bwrap like this:

  --ro-bind-try $(readlink -f /etc/ssl/certs) /etc/ssl/certs

Normally, readlink -f returns the passed path if there is no file at the
path. However, this only works, if the parent directory of the file
exists. Thus if /etc/ssl does not exist, readlink -f /etc/ssl/certs will
return nothing. This causes the argument list of bwrap to be wrong (it
has only one argument to --ro-bind-try when it expected two), which
causes it to fail with hard to track down errors.
2022-03-12 16:42:06 +01:00
Simon Bruder f17dac8f50
Remove packages overrides that are obsolete with 21.11 2021-12-01 18:32:51 +01:00
Simon Bruder b443554c41
pkgs/rtw89: Add src override at unstable-2021-10-21
That version includes IPv6 support.
2021-10-29 14:51:20 +02:00
Simon Bruder 5c0d4439e8
bwrap-helper: Reuse system’s PATH
Otherwise running in nix-shell does not make the binaries from the
temporary environment available inside the sandbox.
2021-09-10 23:33:31 +02:00
Simon Bruder 65dcb3051e
Add TODO for removing custom prometheus-fritzbox-exporter 2021-08-29 12:03:22 +02:00
Simon Bruder cb3401ff87
osu-lazer: Rebase patches
This also modifies how the patches are applied, since nixpkgs does not
apply any patches any more.
2021-08-07 13:22:16 +02:00
Simon Bruder 46afd7123c
neovim: Add fenced syntax highlighting for nix
This is not yet in upstream and the PR is almost 2 years old now, but it
makes editing code in multiline strings much easier.
2021-08-05 13:07:25 +02:00
Simon Bruder 7fdc470595
bwrap-helper: Add pipewire alsa compatibility 2021-07-10 12:44:54 +02:00
Simon Bruder fc6c997575
nix-direnv: Use new home-manager option 2021-06-23 17:22:04 +02:00
Simon Bruder 5ff547399c
nix-direnv: Enable flake support
Flake support for nix-direnv was made optional in nixpkgs and it has to
be explicitly enabled.
2021-06-11 16:04:55 +02:00
Simon Bruder 80f33f9095
Add contact page 2021-06-02 13:24:36 +02:00
Simon Bruder e0efa77520
fuuko/nar-serve: Use NixOS module
Since it does not provide a `package` option, it has to be overriden
with an overlay.
2021-06-01 10:16:15 +02:00
Simon Bruder e94d0227fe
Use black 2021-06-01 00:02:27 +02:00
Simon Bruder 6492ad2d4c
prometheus-fritzbox-exporter: stdenv.lib -> lib 2021-05-28 14:05:14 +02:00
Simon Bruder 091f6b0e14
Update to 21.05
This still uses the relase-21.05 branch which should later be changed to
nixos-21.05.
2021-05-28 14:04:53 +02:00
Simon Bruder 10a63f585d
mako: Remove notification inhibitor
Upstream wants to implement modes, which collide with the patch that I
used.
2021-05-27 18:07:00 +02:00
Simon Bruder 1562a38fd1
Move mpvScripts.pitchcontrol into external overlay 2021-05-15 14:10:02 +02:00
Simon Bruder a861fbd725
Include my external overlay
It includes packages that are proably useful for other people outside of
my own system configuration.
2021-05-13 13:42:36 +02:00
Simon Bruder d19bfb9c2c
pkgs/modules: Remove stray import 2021-05-03 10:17:00 +02:00
Simon Bruder 8a5a5e9a1c
aria2_exporter: Include as flake 2021-05-03 10:16:59 +02:00
Simon Bruder 8e02008cb4
bang-evaluator: Include as flake 2021-05-03 10:16:59 +02:00
Simon Bruder 400b55a293
Convert to flake
Fixes #3.
2021-05-01 17:36:58 +02:00
Simon Bruder ef790a285a
overlay: Replace self/super with final/prev 2021-05-01 16:53:06 +02:00
Simon Bruder 36da32ff33
Add memtest86+ override to 5.31b
The version in nixpkgs (5.01-coreboot002) does not work on nunotaba nor
sayuri (it shows all? addresses as bad).
2021-04-30 15:56:23 +02:00
Simon Bruder 4c60f99b76
pkgs/bwrap-helper: Pass through dev-bind(-try) 2021-04-25 09:54:49 +02:00
Simon Bruder 7fd7f98708
pavucontrol: Make context menus work on wayland
Otherwise, they open with an offset.
2021-04-23 08:26:29 +02:00
Simon Bruder 7f5bf88fd7
pkgs/osu-lazer: Rebase patches 2021-04-18 18:01:21 +02:00
Simon Bruder 9d27b71588
pkgs/cyanrip: Init
This also replaces abcde in user environment with cyanrip.
2021-04-18 10:40:33 +02:00
Simon Bruder 62a17a54b4
pkgs/osu-lazer: Remove random song button from footer
This also reorganises the other patch I apply.
2021-04-09 12:09:45 +02:00
Simon Bruder 8a0f3c5f6b
pkgs: Inherit callPackage from super 2021-03-20 21:10:09 +01:00
Simon Bruder 187cc904bc
mpv: Move pitchcontrol script to overlay 2021-03-20 21:07:37 +01:00
Simon Bruder e0d50e0435
wordclock-dimmer: Reconnect before setting color
Also remove apostrophe that I have no idea how it got there.
2021-03-09 08:41:52 +01:00
Simon Bruder 70ee44fbc5
fuuko: Add prometheus fritzbox exporter 2021-03-08 15:10:15 +01:00
Simon Bruder d239f2ad5e
mako: Implement notification inhibition
Fixes #43.
2021-03-07 20:25:15 +01:00
Simon Bruder eccea38759
mpv: Use youtube-dl’s default format
mpv overrides my custom format with `bestvideo+bestaudio/best`
(youtube-dl upstream default). This applies a patch (from upstream) that
adds a magic value to remove the override. Since home-manager’s mpv
module only supports overriding the mpv package in 21.05, it is done in
the overlay.

Fixes #39.
2021-03-01 17:30:58 +01:00
Simon Bruder b2449c3fe6
osu-lazer-container: Rename to osu-lazer-sandbox 2021-02-28 13:28:13 +01:00
Simon Bruder c77328af22
Replace builtins with lib where possible 2021-02-27 19:57:00 +01:00
Simon Bruder 5dfe492baf
pkgs: Add aria2_exporter 2021-02-20 12:37:10 +01:00
Simon Bruder f827456d0c
pkgs: Add imprint 2021-02-14 19:48:50 +01:00
Simon Bruder dde17cf4ec
pkgs: Add bang-evaluator
I don’t know if (and doubt that) this is a good solution. I can’t simply
callPackage it, since it does not use a callPackage compatible nix
expression but rather a ready-to-build default.nix. Also, I need the
source in two different files, one of which can’t use nixpkgs fetchers.
2021-02-07 21:00:09 +01:00
Simon Bruder cce86ac2c9
pkgs: Add wordclock-dimmer (including module) 2021-01-31 19:48:18 +01:00
Simon Bruder 3610d32c06
osu-lazer-container: Ensure state directory exists 2021-01-10 21:39:27 +01:00
Simon Bruder 8a4710684d
osu-lazer-container: Respect XDG_DATA_HOME 2021-01-10 21:39:04 +01:00
Simon Bruder 73f4c7080b
bwrap-helper: Do not filter dbus socket
This is not ideal security-wise, but the only way to protect my sanity
from whatever steam and some of my games try to do with the dbus socket.
2021-01-09 12:53:34 +01:00
Simon Bruder b586b7d2b5
overlay: Add osu-lazer-container 2021-01-07 17:31:22 +01:00
Simon Bruder a1efb5faa1
overlay: Add osu-lazer with faster start patch 2021-01-07 17:28:08 +01:00
Simon Bruder f5b383ddbc
Add overlay wrapper for custom overlay 2021-01-07 17:17:43 +01:00
Simon Bruder e2d93ea30e
Add bwrap-helper 2021-01-07 17:11:31 +01:00
Simon Bruder 37c54887b9
Add custom overlay
Fixes #20
2021-01-07 17:10:32 +01:00