Commit graph

1671 commits

Author SHA1 Message Date
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
Simon Bruder e9dc4601ad
restic: Do not initialise the repository
It already is initialised, and NixOS’ initialisation always prints all
existing snapshots to the journal which makes it almost impossible to
find the logs from the regular backup.
2021-05-28 15:01:06 +02:00
Simon Bruder 9025dfffb5
wireguard/dns: Make zone master zone
Since 21.05 it does not work when this is not set.
2021-05-28 14:24:50 +02:00
Simon Bruder d3d41da2bc
vueko/murmur: Explicitly set murmur as system user 2021-05-28 14:24:25 +02:00
Simon Bruder e80a0b0c07
vueko/radicale: Use services.radicale.settings 2021-05-28 14:24:02 +02:00
Simon Bruder 6492ad2d4c
prometheus-fritzbox-exporter: stdenv.lib -> lib 2021-05-28 14:05:14 +02:00
Simon Bruder 91b3e97e48
mpv: Update gallery-view plugin 2021-05-28 14:05:14 +02:00
Simon Bruder 7d7da189d0
nunotaba: Reinstall on btrfs filesystem 2021-05-28 14:05:14 +02:00
Simon Bruder 6cb59d0149
nunotaba: Use performance cpuFreqGovernor
With kernel 5.10 powersave is stuck at 798 MHz for some reason.
2021-05-28 14:05:13 +02:00
Simon Bruder 54288988de
zsh: Explicitly disable prompt in user config
Otherwise starship does not work in 21.05.
2021-05-28 14:05:13 +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 ad0748ba1b
Use gammastep instead of redshift 2021-05-27 18:07:01 +02:00
Simon Bruder 7450828b63
fonts: Do not enable X11 fonts dir 2021-05-27 18:07:00 +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 36c0c67e36
sayuri: Update specs in readme 2021-05-27 18:06:34 +02:00
Simon Bruder ea45b45c60
restic: Fix restic-auth script
Since I migrated to sops, the password store structure changed.
2021-05-27 14:38:33 +02:00
Simon Bruder 0f135fc87b
unlock: Resolve hostname with hard-coded server
This is required after power outages when unlocking the server that does
dns in the network.
2021-05-26 17:19:38 +02:00
Simon Bruder ab4ef486be
flake.lock: Update
Flake input changes:

* Updated 'nixpkgs': 'github:nixos/nixpkgs/a7064e23973b0f3e1dd56cf4601758fedc38423c' -> 'github:nixos/nixpkgs/ac60476ed94fd5424d9f3410c438825f793a8cbb'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/673aea9f84c955c94b105797fdc56007017af4db' -> 'github:nixos/nixpkgs/ea7d4aa9b8225abd6147339f0d56675d6f1f0fd1'
2021-05-25 21:46:58 +02:00
Simon Bruder d64f4a8741
vueko/mail: Add alias 2021-05-25 09:48:25 +02:00
Simon Bruder 71209d0cc8
vueko/mail: Add alias 2021-05-21 12:30:36 +02:00
Simon Bruder 652cdbd975
flake.lock: Update
Flake input changes:

* Updated 'nixpkgs': 'github:nixos/nixpkgs/52090c613ad854abb824dcbba20e19bfa3890e91' -> 'github:nixos/nixpkgs/a7064e23973b0f3e1dd56cf4601758fedc38423c'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/7a1fbc38a4b538450ac0d42aec8a3e513b4d723e' -> 'github:nixos/nixpkgs/673aea9f84c955c94b105797fdc56007017af4db'
2021-05-21 08:20:38 +02:00