Commit graph

1647 commits

Author SHA1 Message Date
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
Simon Bruder 004a879f46
programs/mumble: Fix PTT patch hash
It has been wrong since 9c51d36c4d
switched to fetchpatch (which strips the headers from the patch and
therefore produces a different file).
2021-05-19 16:19:58 +02:00
Simon Bruder ef2f20ee3b
flake.lock: Update
Flake input changes:

* Updated 'nix-pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/40a51af82c1181b9dea3526c4124eee077e30213' -> 'github:cachix/pre-commit-hooks.nix/2e7fac06108b4fc81f5ff9ed9a02bc4f6ede7001'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/7974217f94c2970026c411d9234dbb47e93a7306' -> 'github:nixos/nixpkgs/52090c613ad854abb824dcbba20e19bfa3890e91'
* Updated 'nixpkgs-overlay': 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=37c399d830bd6f2f789cabfae7cd21a824e976c0' -> 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=effd32025de28c69766ae48f7196d0db7dd9e1ec'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/83d907fd760d9ee4f49b4b7e4b1c6682f137b573' -> 'github:nixos/nixpkgs/7a1fbc38a4b538450ac0d42aec8a3e513b4d723e'
2021-05-19 15:23:59 +02:00
Simon Bruder b0754833b4
neovim: Use rust-analyzer instead of rls 2021-05-19 15:18:48 +02:00
Simon Bruder 961b497609
vueko/mail: Add alias 2021-05-17 19:05:24 +02:00
Simon Bruder 9afeb8527a
programs: Add gallery-dl 2021-05-16 17:59:21 +02:00
Simon Bruder ef78d4ec8e
flake.lock: Update
Flake input changes:

* Updated 'nixpkgs': 'github:nixos/nixpkgs/21ff9308b75d448765f7c3704a1459a3d8e1c844' -> 'github:nixos/nixpkgs/7974217f94c2970026c411d9234dbb47e93a7306'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/65a9923bbb94e4da656eb63f88f3a378be232e02' -> 'github:nixos/nixpkgs/83d907fd760d9ee4f49b4b7e4b1c6682f137b573'
2021-05-16 12:45:22 +02:00
Simon Bruder 0ba5f8c6fa
programs: Disable ungoogled-chromium
The build on hydra is failing[1] and compiling chromium is no fun.

[1]: https://hydra.nixos.org/build/142976662
2021-05-15 14:19:05 +02:00
Simon Bruder 4af6a8fce1
flake.lock: Update
Flake input changes:

* Updated 'aria2_exporter': 'github:sbruder/aria2_exporter/11af495d33bfa3d3e3f0dda93f17874bbef4ef97' -> 'github:sbruder/aria2_exporter/4b170f34720be5da2d2b8e791ff891624fe40e51'
* Updated 'bang-evaluator': 'git+https://git.sbruder.de/simon/bangs?ref=master&rev=08715eacf11e0c086fe8a09d3ccf6e9c91a60de4' -> 'git+https://git.sbruder.de/simon/bangs?ref=master&rev=d6ab4b7b2ff0cb7b404643f45e4a7a8d70eda9b7'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/c85e2a478c26cfd77d1445169e51475afe9cc7cd' -> 'github:nixos/nixpkgs/21ff9308b75d448765f7c3704a1459a3d8e1c844'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/d1601a40c48426ae460eede1675fd1d6ee23e198' -> 'github:nixos/nixpkgs/65a9923bbb94e4da656eb63f88f3a378be232e02'
2021-05-15 14:11:24 +02:00
Simon Bruder 1562a38fd1
Move mpvScripts.pitchcontrol into external overlay 2021-05-15 14:10:02 +02:00
Simon Bruder 2c8a291ae9
Make flake inputs available as module argument
This moves a bunch of stuff out of flake.nix into the modules they
belong to. This removes complexity from flake.nix and gives the project
a more organised structure.

Sadly, it is not possible to import modules from a flake outside of
flake.nix, since that leads to an infinite recursion (`config` has to be
evaluated before `config._modules.args.inputs` is available but `config`
depends on an import from `config._modules.args.inputs`). Therefore, the
`extraModules` argument in `machines/default.nix` has to be used for
that (it now has access to all flake inputs).
2021-05-15 10:04:44 +02:00
Simon Bruder 531060668a
fuuko/hydra: Show logs after build is completed 2021-05-15 00:01:04 +02:00
Simon Bruder e10394cd99
flake.lock: Update
Flake input changes:

* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/936e4649098d6a5e0762058cb7687be1b2d90550' -> 'github:nixos/nixos-hardware/c4399b921fa7ff5f93ee10b3521b56b722ed74d8'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/327368f98c6a927a84aed3c2f2fd1a7f6983e855' -> 'github:nixos/nixpkgs/c85e2a478c26cfd77d1445169e51475afe9cc7cd'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/65d6153aec85c8cb46023f0a7248628f423ca4ee' -> 'github:nixos/nixpkgs/d1601a40c48426ae460eede1675fd1d6ee23e198'
2021-05-14 14:03:45 +02:00
Simon Bruder be8c942150
flake: Remove updateInputs app
Nix has support for committing the changes with `nix flake update
--commit-lock-file`.
2021-05-13 17:01:37 +02:00
Simon Bruder 7d4f84eda8
flake.lock: Update
Flake input changes:

* Updated 'nix-pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/09fb9e425111878b58223852e87ed85e8a189e0d' -> 'github:cachix/pre-commit-hooks.nix/40a51af82c1181b9dea3526c4124eee077e30213'
* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/02f067b234576a08522cffc8f5fa829db9b425cf' -> 'github:nixos/nixos-hardware/936e4649098d6a5e0762058cb7687be1b2d90550'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/6e83cfb005c6281ab10e908f6386fe1499b67feb' -> 'github:nixos/nixpkgs/327368f98c6a927a84aed3c2f2fd1a7f6983e855'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/ae1c8ede09b53007ba9b3c32f926c9c03547ae8b' -> 'github:nixos/nixpkgs/65d6153aec85c8cb46023f0a7248628f423ca4ee'
2021-05-13 17:00:44 +02:00
Simon Bruder 9f70024257
fuuko/hydra: Make serving build artifacts work
hydra-server.service does not have access to the signing key.
2021-05-13 14:23:10 +02:00
Simon Bruder e629ad86fb
programs: Add textidote 2021-05-13 13:51:06 +02:00
Simon Bruder ebeba7c6fd
programs: Add deemix 2021-05-13 13:50:56 +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 dc1698ffaa
fuuko: Add hydra 2021-05-13 13:07:17 +02:00
Simon Bruder d72ce259cc
Update flake inputs 2021-05-12 07:16:08 +02:00
Simon Bruder d2d2a7234f
direnv: Use nix-direnv’s use_flake 2021-05-09 12:34:48 +02:00
Simon Bruder 675f55e61f
Update flake inputs 2021-05-08 13:24:52 +02:00
Simon Bruder 7a5d16106a
mkvpropedit-add-fonts: Fix with spaces in filenames 2021-05-07 21:34:35 +02:00
Simon Bruder ca2136ef04
sayuri: Allow discards on data ssd 2021-05-07 14:37:53 +02:00