Commit graph

741 commits

Author SHA1 Message Date
Simon Bruder fd37161a78
programs: Add evince
For some reaseon, the print quality with zathura is subpar (noticeably
blurry), but evince manages to produce a clear print.
2021-07-07 18:58:36 +02:00
Simon Bruder 12e24d0761
cups: Add elma 2021-07-07 18:25:14 +02:00
Simon Bruder 298ef93ed5
cups: Remove broken printers 2021-07-04 20:54:09 +02:00
Simon Bruder 9ce76f591f
mpv: Add binding for frame-exact sub delay 2021-07-04 12:53:50 +02:00
Simon Bruder 1de4af389b
flake.lock: Update
Flake input changes:

* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/03c60a2db286bcd8ecfac9a8739c50626ca0fd8e' -> 'github:nixos/nixos-hardware/eb889532fef2cb73071436842ae2ca0ed2d011aa'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/e9148dc1c30e02aae80cc52f68ceb37b772066f3' -> 'github:nixos/nixpkgs/21b696caf392ad6fa513caf3327d0aa0430ffb72'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/3a8d7958a610cd3fec3a6f424480f91a1b259185' -> 'github:nixos/nixpkgs/d8079260a3028ae3221d7a5467443ee3a9edd2b8'
* Updated 'sops-nix': 'github:Mic92/sops-nix/7918c59b392f23665c0b726d4c640d14be4b0b8b' -> 'github:Mic92/sops-nix/c4f7025e5d20af51b4803d7b43f23daf06906138'
2021-07-03 14:43:54 +02:00
Simon Bruder a58aa3ece4
ncmpcpp: Use nvim as external editor 2021-07-02 18:02:41 +02:00
Simon Bruder 4d77cba8dc
flake.lock: Update
Flake input changes:

* Updated 'nix-pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/628a319e1ee0f9e01d63a3dbe6c1681a177bc5f9' -> 'github:cachix/pre-commit-hooks.nix/397f0713d007250a2c7a745e555fa16c5dc8cadb'
* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/7305b276c90cfd3ad0a2452101a49c0b52c784c0' -> 'github:nixos/nixos-hardware/03c60a2db286bcd8ecfac9a8739c50626ca0fd8e'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/8112fbe212f6086151acb19fe464b00c8ac1aebd' -> 'github:nixos/nixpkgs/e9148dc1c30e02aae80cc52f68ceb37b772066f3'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/1905f5f2e55e0db0bb6244cfe62cb6c0dbda391d' -> 'github:nixos/nixpkgs/3a8d7958a610cd3fec3a6f424480f91a1b259185'
2021-06-30 19:52:11 +02:00
Simon Bruder d863586f23
mpv: Use ffmpeg-full
This allows mpv to support more exotic file formats and lavf filters.
Since I am already overring mpv, it should not add another local
rebuild.
2021-06-30 19:49:28 +02:00
Simon Bruder 20117566de
flake.lock: Update
Flake input changes:

* Updated 'nixpkgs': 'github:nixos/nixpkgs/0ccd0d91361dc42dd32ffcfafed1a4fc23d1c8b4' -> 'github:nixos/nixpkgs/8112fbe212f6086151acb19fe464b00c8ac1aebd'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/7e567a3d092b7de69cdf5deaeb8d9526de230916' -> 'github:nixos/nixpkgs/1905f5f2e55e0db0bb6244cfe62cb6c0dbda391d'
2021-06-26 11:03:21 +02:00
Simon Bruder 8442afae5c
vueko/mail: Add alias 2021-06-26 10:45:15 +02:00
Simon Bruder 43722b1177
programs: Add taskell 2021-06-25 22:15:01 +02:00
Simon Bruder 80e68848c5
Remove taskwarrior
I find myself not using it but instead writing everything in a plain
text file.
2021-06-25 19:23:23 +02:00
Simon Bruder fc6c997575
nix-direnv: Use new home-manager option 2021-06-23 17:22:04 +02:00
Simon Bruder 02f2138294
flake.lock: Update
Flake input changes:

* Updated 'home-manager': 'github:nix-community/home-manager/148d85ee8303444fb0116943787aa0b1b25f94df' -> 'github:nix-community/home-manager/35a24648d155843a4d162de98c17b1afd5db51e4'
* Updated 'nix-pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/0398f0649e0a741660ac5e8216760bae5cc78579' -> 'github:cachix/pre-commit-hooks.nix/628a319e1ee0f9e01d63a3dbe6c1681a177bc5f9'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/bad3ccd099ebe9a8aa017bda8500ab02787d90aa' -> 'github:nixos/nixpkgs/0ccd0d91361dc42dd32ffcfafed1a4fc23d1c8b4'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/fa0326ce5233f7d592271df52c9d0812bec47b84' -> 'github:nixos/nixpkgs/7e567a3d092b7de69cdf5deaeb8d9526de230916'
2021-06-23 17:21:57 +02:00
Simon Bruder 0ab3260240
sayuri: Drop amdvlk in favour of radv
DXVK segfaults/exhibits weird errors when using amdvlk since upgrading
to 21.05. Mesa’s radv does work and I did not notice a perofmance drop.
2021-06-20 11:22:34 +02:00
Simon Bruder 71a5ea7a0d
Revert "fuuko/mautrix-whatsapp: Use unstable version from PR"
This reverts commit e1b59d57ff.
2021-06-19 16:02:04 +02:00
Simon Bruder 85a102f53c
flake.lock: Update
Flake input changes:

* Updated 'nixpkgs': 'github:nixos/nixpkgs/93963c27b934f24289a94b9e3784d60a9b77e92c' -> 'github:nixos/nixpkgs/bad3ccd099ebe9a8aa017bda8500ab02787d90aa'
* Updated 'nixpkgs-overlay': 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=daa5967b81bd898eec21af84686c8c892f0aba12' -> 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=f02c1bb2c0a93bfd2f589d225a68d4e2b8eedb5f'
2021-06-19 16:01:21 +02:00
Simon Bruder a8795cf97c
flake.lock: Update
Flake input changes:

* Updated 'flake-utils': 'github:numtide/flake-utils/7d706970d94bc5559077eb1a6600afddcd25a7c8' -> 'github:numtide/flake-utils/f7e004a55b120c02ecb6219596820fcd32ca8772'
* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/6bea9761693b5d185d34bef205edb25a8081db57' -> 'github:nixos/nixos-hardware/7305b276c90cfd3ad0a2452101a49c0b52c784c0'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/81b3481d79a599d90138768a964b7d70d8996f97' -> 'github:nixos/nixpkgs/93963c27b934f24289a94b9e3784d60a9b77e92c'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/432fc2d9a67f92e05438dff5fdc2b39d33f77997' -> 'github:nixos/nixpkgs/fa0326ce5233f7d592271df52c9d0812bec47b84'
2021-06-17 19:01:24 +02:00
Simon Bruder e1b59d57ff
fuuko/mautrix-whatsapp: Use unstable version from PR
nixpkgs PR: https://github.com/NixOS/nixpkgs/pull/126966
2021-06-15 19:20:25 +02:00
Simon Bruder 61d47861b5
flake.lock: Update
Flake input changes:

* Updated 'nixpkgs': 'github:nixos/nixpkgs/cedcf2565c6b982d703d67455199b09a3d905d86' -> 'github:nixos/nixpkgs/81b3481d79a599d90138768a964b7d70d8996f97'
* Updated 'nixpkgs-overlay': 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=6609282c70e881b32688cb1bf0f2e02a95d2306e' -> 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=daa5967b81bd898eec21af84686c8c892f0aba12'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/fbfb79400a08bf754e32b4d4fc3f7d8f8055cf94' -> 'github:nixos/nixpkgs/432fc2d9a67f92e05438dff5fdc2b39d33f77997'
2021-06-13 08:19:36 +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 97bd12353d
flake.lock: Update
Flake input changes:

* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/fccbee72df707c3fb074854668deee6e1ff02351' -> 'github:nixos/nixos-hardware/6bea9761693b5d185d34bef205edb25a8081db57'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/5de44c15758465f8ddf84d541ba300b48e56eda4' -> 'github:nixos/nixpkgs/cedcf2565c6b982d703d67455199b09a3d905d86'
2021-06-11 15:56:42 +02:00
Simon Bruder 621d209680
sayuri: Add specialisation that disables mitigations
x264 encodes over 2 times faster in one example with mitigations
disabled.
2021-06-09 15:22:17 +02:00
Simon Bruder a6ddd29a1b
flake.lock: Update
Flake input changes:

* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/b2186d6c3cdc58fb3a8def0f608bcae61138cc6f' -> 'github:nixos/nixos-hardware/fccbee72df707c3fb074854668deee6e1ff02351'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/aa576357673d609e618d87db43210e49d4bb1789' -> 'github:nixos/nixpkgs/5de44c15758465f8ddf84d541ba300b48e56eda4'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/1ca6b0a0cc38dbba0441202535c92841dd39d1ae' -> 'github:nixos/nixpkgs/fbfb79400a08bf754e32b4d4fc3f7d8f8055cf94'
2021-06-08 19:58:28 +02:00
Simon Bruder 2aa489853f
programs: Add snownews 2021-06-06 00:12:55 +02:00
Simon Bruder 5d1ed0d770
flake.lock: Update
Flake input changes:

* Updated 'home-manager': 'github:nix-community/home-manager/fd5fbb0a241f644908cdf01ccd1821d0606fb4fd' -> 'github:nix-community/home-manager/148d85ee8303444fb0116943787aa0b1b25f94df'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/4c2e84394c0f372c019e941e95d6fbe21835719b' -> 'github:nixos/nixpkgs/aa576357673d609e618d87db43210e49d4bb1789'
* Updated 'nixpkgs-overlay': 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=9bae5108d557668a44fc9239247b9a0b0d3f68ea' -> 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=6609282c70e881b32688cb1bf0f2e02a95d2306e'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/1c2986bbb806c57f9470bf3231d8da7250ab9091' -> 'github:nixos/nixpkgs/1ca6b0a0cc38dbba0441202535c92841dd39d1ae'
* Updated 'sops-nix': 'github:Mic92/sops-nix/4f384662a85804fa2bc1bc1f99e70bb468e76f88' -> 'github:Mic92/sops-nix/7918c59b392f23665c0b726d4c640d14be4b0b8b'
2021-06-05 20:44:40 +02:00
Simon Bruder de67fd9d63
flake.lock: Update
Flake input changes:

* Updated 'home-manager': 'github:nix-community/home-manager/ab64dc32493996c24607eab2cae6663466ddfb8a' -> 'github:nix-community/home-manager/fd5fbb0a241f644908cdf01ccd1821d0606fb4fd'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/eaba7870ffc3400eca4407baa24184b7fe337ec1' -> 'github:nixos/nixpkgs/4c2e84394c0f372c019e941e95d6fbe21835719b'
2021-06-04 23:21:23 +02:00
Simon Bruder 387947191d
programs: Re-enable ungoogled-chromium
This reverts commit 0ba5f8c6fa.
2021-06-03 16:41:22 +02:00
Simon Bruder 740bffae9e
flake.lock: Update
Flake input changes:

* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/6933d068c5d2fcff398e802f7c4e271bbdab6705' -> 'github:nixos/nixpkgs/1c2986bbb806c57f9470bf3231d8da7250ab9091'
2021-06-03 16:30:53 +02:00
Simon Bruder b44acc2ffa
programs: Replace optipng with oxipng 2021-06-02 23:30:16 +02:00
Simon Bruder 92772d1cc3
flake.lock: Update
Flake input changes:

* Updated 'nix-pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/2e7fac06108b4fc81f5ff9ed9a02bc4f6ede7001' -> 'github:cachix/pre-commit-hooks.nix/0398f0649e0a741660ac5e8216760bae5cc78579'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/d25ea6a0d2a847fb52131da546f2a866656fbafa' -> 'github:nixos/nixpkgs/eaba7870ffc3400eca4407baa24184b7fe337ec1'
2021-06-02 22:43:42 +02:00
Simon Bruder e6a0684bfe
neovim: Drop deprecated g:vimtex_syntax_autoload_packages 2021-06-02 14:01:58 +02:00
Simon Bruder 80f33f9095
Add contact page 2021-06-02 13:24:36 +02:00
Simon Bruder ce57c9a62c
neovim: Highlight syntax in markdown code blocks 2021-06-01 17:54:38 +02:00
Simon Bruder e4b10573d4
flake.lock: Update
Flake input changes:

* Updated 'flake-utils': 'github:numtide/flake-utils/b543720b25df6ffdfcf9227afafc5b8c1fabfae8' -> 'github:numtide/flake-utils/7d706970d94bc5559077eb1a6600afddcd25a7c8'
* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/684ae160a6e76590eafa3fca8061b6ad57bcc9ad' -> 'github:nixos/nixos-hardware/b2186d6c3cdc58fb3a8def0f608bcae61138cc6f'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/07ca3a021f05d6ff46bbd03c418b418abb781279' -> 'github:nixos/nixpkgs/d25ea6a0d2a847fb52131da546f2a866656fbafa'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3' -> 'github:nixos/nixpkgs/6933d068c5d2fcff398e802f7c4e271bbdab6705'
2021-06-01 11:39:50 +02:00
Simon Bruder 8259b1455f
mulvad: Do not unlock pass when disabling tunnel 2021-06-01 11:37:59 +02:00
Simon Bruder c0efaa02ba
mullvad: Move script into system module
It doesn’t make sense to install the configuration files system-wide but
the script only for the user.
2021-06-01 10:29:58 +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 44cc17db53
Use nixos-21.05 branch 2021-06-01 09:14:59 +02:00
Simon Bruder e94d0227fe
Use black 2021-06-01 00:02:27 +02:00
Simon Bruder b0d6861825
Use shellcheck
This also adds set -e and friends where applicable.
2021-05-31 23:59:13 +02:00
Simon Bruder 56b9c6c37f
Add module for on-demand usage of mullvad
Since wg-quick does not require the configuration file to include a
private key and local addresses, they can be added after the execution
of wg-quick.

Fixes #32.
2021-05-31 23:02:11 +02:00
Simon Bruder ac81f66237
flake.lock: Update
Flake input changes:

* Updated 'home-manager': 'github:nix-community/home-manager/90493027e33ba9eb3f50dc1da365d0e4ca31bf14' -> 'github:nix-community/home-manager/ab64dc32493996c24607eab2cae6663466ddfb8a'
* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/c4399b921fa7ff5f93ee10b3521b56b722ed74d8' -> 'github:nixos/nixos-hardware/684ae160a6e76590eafa3fca8061b6ad57bcc9ad'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/676ddafd3dbdc8dd95471df84bc5198d2d37d241' -> 'github:nixos/nixpkgs/c399b0f178aa7890157454723b5081f4bf45ac47'
* Updated 'nixpkgs-overlay': 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=effd32025de28c69766ae48f7196d0db7dd9e1ec' -> 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=9bae5108d557668a44fc9239247b9a0b0d3f68ea'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/ea7d4aa9b8225abd6147339f0d56675d6f1f0fd1' -> 'github:nixos/nixpkgs/540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3'
2021-05-30 11:45:08 +02:00
Simon Bruder a196059da6
ncmpcpp: Adapt visualizer settings to 0.9 2021-05-29 18:04:29 +02:00
Simon Bruder 4013206449
neovim: LC: Load per-project configuration 2021-05-29 14:46:32 +02:00
Simon Bruder 6f31ded457
fuuko/wordclock: Use 15 character long password
```cpp
    struct {
      char domain[32];
      char clientId[16];
      char user[16];
      char password[16];
    } mqtt;
```

(f637c2f39e/PersistentStorage.h)

This went unnoticed, because on NixOS, mosquitto does not validate
passwords by default.
2021-05-28 23:08:20 +02:00
Simon Bruder c918486622
fuuko/mqtt: Make compatible with Mosquitto 2
This now requires authenticating with a valid password, which it
apparently didn’t do before?
2021-05-28 23:05:22 +02:00
Simon Bruder 0fdfec4385
mpv: Add motion vector interpolation script 2021-05-28 16:10:11 +02:00
Simon Bruder ef9731a080
mpv: Fix debanding being active by default 2021-05-28 15:06:17 +02:00
Simon Bruder de3f8f8909
restic: Make restic prune regularily on fuuko
Closes #41.
2021-05-28 15:01:06 +02:00