Compare commits

..

786 Commits

Author SHA1 Message Date
Simon Bruder bf7403204f
vueko/mail: Add alias 2024-04-28 23:28:53 +02:00
Simon Bruder ed8ec88f6e
renge/mastodon: Init 2024-04-28 11:38:51 +02:00
Simon Bruder 909f274ea2
vueko/mail: Add alias 2024-04-28 11:31:13 +02:00
Simon Bruder 6b31c22be7
Do not use gpg-agent for ssh on headless systems 2024-04-26 11:41:42 +02:00
Simon Bruder 6e7782b479
vueko/mail: Add alias 2024-04-22 19:53:34 +02:00
Simon Bruder 025f36503b
vueko/mail: Add alias 2024-04-19 18:44:54 +02:00
Simon Bruder 26953a0276
vueko/mail: Add alias 2024-04-19 12:31:10 +02:00
Simon Bruder 5b26434dce
vueko/mail: Add alias 2024-04-17 17:41:54 +02:00
Simon Bruder 16cf73afb9
okarin: Migrate to different VPS
Previously, it was hosted on Ionos’s VMware-based infrastructure. I
already had a VPS on their new KVM-based infrastructure, as I was
planning to migrate okarin to it eventually (as it is cheaper). However,
the new infrastructure does not offer PTR records for IPv6 addresses.
Therefore, I was waiting until they would implement that feature (as the
support promised me they would to in the near future).

However, they are now migrating the (at least my) guests from their
VMware hypervisors onto the KVM ones, assigning new IPv6 addresses to
them. This makes the old VPS essentially the same as the old one, but
with less memory and more expensive. So I decided to migrate now.
2024-04-17 12:40:46 +02:00
Simon Bruder 853e817901
sbruder.xyz: Remove deprecated services 2024-04-16 23:40:39 +02:00
Simon Bruder 7daad927e8
yuzuru/static-sites: Migrate okarin’s sites 2024-04-16 23:40:37 +02:00
Simon Bruder ae35e82369
vueko/mail: Add alias 2024-04-14 17:24:11 +02:00
Simon Bruder 670ff94dda
tools: Fix reptyr build in qemu-user-aarch64
This was already fixed in NixOS unstable:
https://github.com/NixOS/nixpkgs/pull/292342
2024-04-13 12:23:36 +02:00
Simon Bruder 62c26e06a5
neovim: Switch to nixd
rnix-lsp is no longer maintained and the package is currently broken in
nixpkgs as it depends on an insecure Nix version.
2024-04-13 12:09:36 +02:00
Simon Bruder 5f81e9db4b
renge/invidious: Remove patch
It is included in the newer version.
2024-04-13 12:08:36 +02:00
Simon Bruder 10f2e5638f
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/d465f4819400de7c8d874d50b982301f28a84605' (2024-02-28)
  → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
• Updated input 'home-manager':
    'github:nix-community/home-manager/652fda4ca6dafeb090943422c34ae9145787af37' (2024-02-03)
  → 'github:nix-community/home-manager/d6bb9f934f2870e5cbc5b94c79e9db22246141ff' (2024-04-06)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/cf111d1a849ddfc38e9155be029519b0e2329615' (2024-03-06)
  → 'github:nix-community/home-manager/40ab43ae98cb3e6f07eaeaa3f3ed56d589da21b0' (2024-04-13)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15)
  → 'github:cachix/pre-commit-hooks.nix/40e6053ecb65fcbf12863338a6dcefb3f55f1bf8' (2024-04-12)
• Updated input 'nix-pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5' (2023-12-29)
  → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28)
• Updated input 'nix-pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356' (2024-01-10)
  → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/59e37017b9ed31dee303dbbd4531c594df95cfbc' (2024-03-02)
  → 'github:nixos/nixos-hardware/f58b25254be441cd2a9b4b444ed83f1e51244f1f' (2024-04-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/880992dcc006a5e00dd0591446fdf723e6a51a64' (2024-03-05)
  → 'github:nixos/nixpkgs/b2cf36f43f9ef2ded5711b30b1f393ac423d8f72' (2024-04-10)
• Updated input 'nixpkgs-overlay':
    'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs/heads/master&rev=32ef4fd545a29cdcb2613934525b97470818b42e' (2024-01-01)
  → 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs/heads/master&rev=2bcb2b6c7b0e04f4ef8e51e00fd93a5e5cb00bf8' (2024-04-12)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/9df3e30ce24fd28c7b3e2de0d986769db5d6225d' (2024-03-06)
  → 'github:nixos/nixpkgs/1042fd8b148a9105f3c0aca3a6177fd1d9360ba5' (2024-04-10)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/25dd60fdd08fcacee2567a26ba6b91fe098941dc' (2024-03-06)
  → 'github:Mic92/sops-nix/538c114cfdf1f0458f507087b1dcf018ce1c0c4c' (2024-04-08)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/66d65cb00b82ffa04ee03347595aa20e41fe3555' (2024-03-03)
  → 'github:NixOS/nixpkgs/e38d7cb66ea4f7a0eb6681920615dfcc30fc2920' (2024-04-06)
2024-04-13 10:39:56 +02:00
Simon Bruder 1f75062bc2
vueko/mail: Add alias 2024-04-04 16:00:01 +02:00
Simon Bruder 526db3d97b
vueko/mail: Add alias 2024-04-02 19:13:43 +02:00
Simon Bruder ad209fa0f7
vueko/mail: Add alias 2024-04-02 15:41:23 +02:00
Simon Bruder 00bada7b12
renge: Fix invidious
The patch is already in upstream, but for multiple reasons, I decided to
only apply the patch and not update.
2024-03-31 19:57:09 +02:00
Simon Bruder f30318869b
vueko/mail: Add alias 2024-03-31 13:07:27 +02:00
Simon Bruder 709f8d5676
ncmpcpp: Follow now playing lyrics 2024-03-31 13:03:35 +02:00
Simon Bruder 51e8dd4169
vueko/mail: Add alias 2024-03-15 14:05:28 +01:00
Simon Bruder fc7f0f8648
co2_exporter: Fix typo in doCheck 2024-03-15 14:01:32 +01:00
Simon Bruder 11d0870f5c
vueko/mail: Add alias 2024-03-14 10:59:43 +01:00
Simon Bruder a1645314f4
games: Drop yuzu
It is dead[1].

[1]: https://arstechnica.com/gaming/2024/03/switch-emulator-makers-agree-to-pay-2-4-million-to-settle-nintendo-lawsuit/
2024-03-07 11:59:36 +01:00
Simon Bruder 47cb7b4b32
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/1ef2e671c3b0c19053962c07dbda38332dcebf26' (2024-01-15)
  → 'github:numtide/flake-utils/d465f4819400de7c8d874d50b982301f28a84605' (2024-02-28)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/043ba285c6dc20f36441d48525402bcb9743c498' (2024-02-14)
  → 'github:nix-community/home-manager/cf111d1a849ddfc38e9155be029519b0e2329615' (2024-03-06)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/0db2e67ee49910adfa13010e7f012149660af7f0' (2024-02-07)
  → 'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/f1b2f71c86a5b1941d20608db0b1e88a07d31303' (2024-02-13)
  → 'github:nixos/nixos-hardware/59e37017b9ed31dee303dbbd4531c594df95cfbc' (2024-03-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/01885a071465e223f8f68971f864b15829988504' (2024-02-13)
  → 'github:nixos/nixpkgs/880992dcc006a5e00dd0591446fdf723e6a51a64' (2024-03-05)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/35ff7e87ee05199a8003f438ec11a174bcbd98ea' (2024-02-13)
  → 'github:nixos/nixpkgs/9df3e30ce24fd28c7b3e2de0d986769db5d6225d' (2024-03-06)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/48afd3264ec52bee85231a7122612e2c5202fa74' (2024-02-13)
  → 'github:Mic92/sops-nix/25dd60fdd08fcacee2567a26ba6b91fe098941dc' (2024-03-06)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/d8cd80616c8800feec0cab64331d7c3d5a1a6d98' (2024-02-10)
  → 'github:NixOS/nixpkgs/66d65cb00b82ffa04ee03347595aa20e41fe3555' (2024-03-03)
2024-03-07 09:50:31 +01:00
Simon Bruder 07cac97bef
vueko/mail: Add alias 2024-03-02 11:47:52 +01:00
Simon Bruder 4c119f0b80
authoritative-dns: Drop INWX secondaries 2024-02-27 15:57:04 +01:00
Simon Bruder 939df6ae2a
wordclock-dimmer: Make logging less verbose
The time is already stored in the journal, so it does not need to be
logged. Only logging changed values makes the log less polluted once a
fixed value has been reached ((3, 3, 3) or (3, 0, 0)):
2024-02-24 20:57:49 +01:00
Simon Bruder 8f1d0a149c
node_exporter: Disable ARP netlink collector
It currently fails (logging an error message on every scrape). This
disables the netlink collector, making it fall back to reading ARP
entries from /proc/net/arp.
2024-02-24 20:52:38 +01:00
Simon Bruder a9f86e7ced
Fix resolving FQDN when resolved is enabled 2024-02-24 19:21:56 +01:00
Simon Bruder 3816e6fc5d
authoritative-dns: Add renge, yuzuru to secondaries 2024-02-24 13:22:17 +01:00
Simon Bruder bb8152d772
vueko/mail: Add alias 2024-02-23 19:21:13 +01:00
Simon Bruder 06958ad544
vueko/mail: Remove alias 2024-02-23 19:21:12 +01:00
Simon Bruder 5375a858bd
Replace steam with flatpak
I am no longer willing to accept hours upon hours of debugging just to
get the client to work. I don’t get why they would ship a 32-bit GTK2
executable that uses CEF with its sandbox disabled in 2024. Obviously,
this makes debugging quite hard as things don’t work well, even when
they work. This leaves red herrings everywhere (“Is this segfault a
symptom of the issue I’m facing or is that also happening to other users
where it works fine?”).

Flatpak also seems to have quite good sandboxing features when Flatseal
is used for every application to take away any unnecessary permissions.
2024-02-23 19:21:11 +01:00
Simon Bruder ef2c667bfe
shinobu: Add NTP server
This also changes the firewall rules for the IoT network to no longer
accept connections to ntp.org pool hosts over 123/UDP. All clients
should use the local NTP server.
2024-02-15 13:39:42 +01:00
Simon Bruder 7f8859f85b
mailserver/postfix: Update copyright year
This was forgotten in c944812a68 and
242a2315be.
2024-02-15 13:10:42 +01:00
Simon Bruder c4a9d39a15
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/10cd9c53115061aa6a0a90aad0b0dde6a999cdb9' (2024-01-19)
  → 'github:nix-community/home-manager/652fda4ca6dafeb090943422c34ae9145787af37' (2024-02-03)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/6b28ab2d798c1c84e24053d95f4ee1dd9d81e2fb' (2024-01-24)
  → 'github:nix-community/home-manager/043ba285c6dc20f36441d48525402bcb9743c498' (2024-02-14)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/f56597d53fd174f796b5a7d3ee0b494f9e2285cc' (2024-01-20)
  → 'github:cachix/pre-commit-hooks.nix/0db2e67ee49910adfa13010e7f012149660af7f0' (2024-02-07)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/e756ff62c2e9db4f7c197bc1849a02024a7bfb2e' (2024-01-24)
  → 'github:nixos/nixos-hardware/f1b2f71c86a5b1941d20608db0b1e88a07d31303' (2024-02-13)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d7f206b723e42edb09d9d753020a84b3061a79d8' (2024-01-22)
  → 'github:nixos/nixpkgs/01885a071465e223f8f68971f864b15829988504' (2024-02-13)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/612f97239e2cc474c13c9dafa0df378058c5ad8d' (2024-01-21)
  → 'github:nixos/nixpkgs/35ff7e87ee05199a8003f438ec11a174bcbd98ea' (2024-02-13)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/ae171b54e76ced88d506245249609f8c87305752' (2024-01-21)
  → 'github:Mic92/sops-nix/48afd3264ec52bee85231a7122612e2c5202fa74' (2024-02-13)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/a1982c92d8980a0114372973cbdfe0a307f1bdea' (2024-01-12)
  → 'github:NixOS/nixpkgs/d8cd80616c8800feec0cab64331d7c3d5a1a6d98' (2024-02-10)
2024-02-15 11:32:16 +01:00
Simon Bruder a5ae1bf7cd
contact-page: Update git hosters 2024-02-14 15:00:25 +01:00
Simon Bruder 74e5dd2639
Add license exceptions to readme 2024-02-14 14:54:46 +01:00
Simon Bruder badd33a312
vueko/mail: Add alias 2024-02-12 11:28:35 +01:00
Simon Bruder db24be0a69
vueko/mail: Add alias 2024-02-12 11:18:49 +01:00
Simon Bruder 0696d74877
vueko/mail: Add alias 2024-02-11 10:58:54 +01:00
Simon Bruder d645aca536
vueko/mail: Add alias 2024-02-09 11:55:45 +01:00
Simon Bruder 4752437cf5
vueko/mail: Add alias 2024-02-04 14:10:12 +01:00
Simon Bruder 242a2315be
mailserver: Disallow requesting DSN over SMTP
This still allows requesting a DSN over submission, so trusted clients
are not affected. It only affects sending DSN to other systems, which
now no longer takes place. This is done to avoid leaking rspamd
internals.
2024-02-03 01:15:17 +01:00
Simon Bruder c944812a68
mailserver: Extend Received header with TLS info 2024-02-03 00:12:05 +01:00
Simon Bruder 0e870e7188
vueko/mail: Add alias 2024-02-02 12:30:29 +01:00
Simon Bruder ef3939403a
yuzuru/static-sites: Add salespointframework
This had previously been hosted on a separate machine that was now
decommissioned.
2024-02-01 00:40:56 +01:00
Simon Bruder a2cf57ec47
vueko/mail: Drop aliases 2024-01-31 12:07:57 +01:00
Simon Bruder f454aafa20
vueko/mail: Drop aliases 2024-01-27 22:56:33 +01:00
Simon Bruder c5f3b172f3
vueko/mail: Add alias 2024-01-27 22:08:11 +01:00
Simon Bruder 7c4b4a5a9b
vueko/mail: Drop aliases 2024-01-27 22:06:25 +01:00
Simon Bruder 7c26753c04
vueko/mail: Add alias 2024-01-27 20:17:40 +01:00
Simon Bruder eecb609dab
vueko/mail: Drop aliases 2024-01-27 19:00:50 +01:00
Simon Bruder 9caef40c21
wkd: Init 2024-01-27 17:22:53 +01:00
Simon Bruder 0d9e100d01
Replace key for SOPS with minimal key
It was exported with
gpg --armor --export-options export-minimal --export KEYID
2024-01-27 11:10:49 +01:00
Simon Bruder a09967c1c4
pass: Enable browserpass for librewolf 2024-01-27 10:33:27 +01:00
Simon Bruder 4ff453a133
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04)
  → 'github:numtide/flake-utils/1ef2e671c3b0c19053962c07dbda38332dcebf26' (2024-01-15)
• Updated input 'home-manager':
    'github:nix-community/home-manager/7e398b3d76bc1503171b1364c9d4a07ac06f3851' (2024-01-01)
  → 'github:nix-community/home-manager/10cd9c53115061aa6a0a90aad0b0dde6a999cdb9' (2024-01-19)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/6e91c5df192395753d8e6d55a0352109cb559790' (2024-01-01)
  → 'github:nix-community/home-manager/6b28ab2d798c1c84e24053d95f4ee1dd9d81e2fb' (2024-01-24)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/9d3d7e18c6bc4473d7520200d4ddab12f8402d38' (2023-12-30)
  → 'github:cachix/pre-commit-hooks.nix/f56597d53fd174f796b5a7d3ee0b494f9e2285cc' (2024-01-20)
• Updated input 'nix-pre-commit-hooks/flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
  → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Updated input 'nix-pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/a20de23b925fd8264fd7fad6454652e142fd7f73' (2022-08-14)
  → 'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5' (2023-12-29)
• Updated input 'nix-pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/c37ca420157f4abc31e26f436c1145f8951ff373' (2023-06-03)
  → 'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356' (2024-01-10)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/f752581d6723a10da7dfe843e917a3b5e4d8115a' (2024-01-01)
  → 'github:nixos/nixos-hardware/e756ff62c2e9db4f7c197bc1849a02024a7bfb2e' (2024-01-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/32f63574c85fbc80e4ba1fbb932cde9619bad25e' (2023-12-31)
  → 'github:nixos/nixpkgs/d7f206b723e42edb09d9d753020a84b3061a79d8' (2024-01-22)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/b0d36bd0a420ecee3bc916c91886caca87c894e9' (2023-12-30)
  → 'github:nixos/nixpkgs/612f97239e2cc474c13c9dafa0df378058c5ad8d' (2024-01-21)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/cfdbaf68d00bc2f9e071f17ae77be4b27ff72fa6' (2023-12-31)
  → 'github:Mic92/sops-nix/ae171b54e76ced88d506245249609f8c87305752' (2024-01-21)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/0aad9113182747452dbfc68b93c86e168811fa6c' (2023-12-30)
  → 'github:NixOS/nixpkgs/a1982c92d8980a0114372973cbdfe0a307f1bdea' (2024-01-12)
2024-01-24 13:26:28 +01:00
Simon Bruder f691f35fcf
Add 1 git-crypt collaborator
New collaborators:

	5885A031 Simon Bruder <simon@sbruder.de>
2024-01-23 23:02:13 +01:00
Simon Bruder 7631a93573
Simplify git-crypt key paths in dep5 2024-01-23 23:01:53 +01:00
Simon Bruder 35949934dd
gpg: Enable notifications for touch interaction 2024-01-23 22:31:06 +01:00
Simon Bruder ec150e5a6c
waybar: Add security key interaction notification 2024-01-22 17:32:04 +01:00
Simon Bruder 013511c1c9
sops: Switch to new PGP key 2024-01-22 17:32:02 +01:00
Simon Bruder a8201dbe9b
sops: Remove old renge 2024-01-22 17:32:01 +01:00
Simon Bruder 097457c451
sops: Fix hitagi’s name 2024-01-22 17:32:00 +01:00
Simon Bruder 5409755de9
Update contact page to include new PGP key 2024-01-22 17:31:58 +01:00
Simon Bruder e600e15141
nitrokey: Only enable on bare metal 2024-01-22 17:31:57 +01:00
Simon Bruder 04c7bc089f
nitrokey: Force learn keys from card on plug
This allows the signing key to be shared among multiple nitrokeys.
2024-01-22 17:31:56 +01:00
Simon Bruder 04a0a6e5ff
nitrokey: Fix module
For some reason, using the // atribute set merge operator does not work
here.
2024-01-22 17:31:54 +01:00
Simon Bruder 54218c7278
Use Nitrokey as PGP smartcard 2024-01-22 17:31:53 +01:00
Simon Bruder 2c35fc4ec0
gpg: Improve output format 2024-01-22 17:31:52 +01:00
Simon Bruder 226ce5035e
qbittorrent/exporter: Expose source code 2024-01-22 17:31:50 +01:00
Simon Bruder ab600a2b16
qbittorrent/exporter: Replace deprecated calls 2024-01-21 21:12:57 +01:00
Simon Bruder 10b8d432d5
Relicense
This applies the REUSE specification to the repository, so the licensing
information can be tracked for every file individually.
2024-01-13 14:39:22 +01:00
Simon Bruder 62dfb36bb8
vueko/mail: Add alias 2024-01-13 14:34:23 +01:00
Simon Bruder 513e0cf383
renge/sbruder.xyz: Make transparency files state 2024-01-10 21:42:34 +01:00
Simon Bruder d86ad02cee
zsh/pass-wrappers: Drop
I can’t remember using them.
2024-01-10 21:31:54 +01:00
Simon Bruder 73e99ec61b
qutebrowser: Drop
It had been nice while it lasted, but the general usability of LibreWolf
is better.
2024-01-10 21:31:54 +01:00
Simon Bruder da349a7113
nginx-iteractive-index: Reimplement humanFileSize
The previous implementation was copy-pasted from a source that did not
allow redistribution or sublicensing. Therefore, I reimplemented the
function myself.
2024-01-10 21:31:54 +01:00
Simon Bruder 9995ff511e
restic/system: Prune on renge
Because of fuuko’s very slow link, the prune had not been successful for
a whole quarter. Now that renge has more RAM, it can finally run the
prune without having to worry about OOM.
2024-01-10 21:27:42 +01:00
Simon Bruder 34231fb13b
Migrate psycho-power-papagei.de out of repo
The files are not compatible with plans for future licensing.
2024-01-06 01:36:51 +01:00
Simon Bruder 492af23f17
static-webserver: Specify default for deploy keys 2024-01-06 01:35:42 +01:00
Simon Bruder e48f367afd
static-webserver: Add optional imprint 2024-01-06 01:34:52 +01:00
Simon Bruder 9e545950f5
shinobu/wlan: Drop
It was not used anyway.
2024-01-06 00:10:02 +01:00
Simon Bruder 8d764fc7e4
mayushii: Allow SMB1
This is required for a Windows XP VM.
2024-01-06 00:08:00 +01:00
Simon Bruder 8757ef7eb8
yuzuru: Add meme site 2024-01-06 00:05:00 +01:00
Simon Bruder afea7afdbf
vueko/mail: Add alias 2024-01-05 13:11:35 +01:00
Simon Bruder 26d85e97aa
infovhost: Init
This avoids boilerplate code for displaying the imprint on the fqdn of
the machine.
2024-01-03 12:09:27 +01:00
Simon Bruder 0393661579
yuzuru: Init 2024-01-03 11:44:34 +01:00
Simon Bruder 1d84379383
Use consistent boot partition size in readme 2024-01-02 22:23:53 +01:00
Simon Bruder a00503d244
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/6761b8188b860f374b457eddfdb05c82eef9752f' (2023-12-10)
  → 'github:nix-community/home-manager/7e398b3d76bc1503171b1364c9d4a07ac06f3851' (2024-01-01)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/d9297efd3a1c3ebb9027dc68f9da0ac002ae94db' (2023-12-12)
  → 'github:nix-community/home-manager/6e91c5df192395753d8e6d55a0352109cb559790' (2024-01-01)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/007a45d064c1c32d04e1b8a0de5ef00984c419bc' (2023-12-13)
  → 'github:cachix/pre-commit-hooks.nix/9d3d7e18c6bc4473d7520200d4ddab12f8402d38' (2023-12-30)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/7763c6fd1f299cb9361ff2abf755ed9619ef01d6' (2023-12-13)
  → 'github:nixos/nixos-hardware/f752581d6723a10da7dfe843e917a3b5e4d8115a' (2024-01-01)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/781e2a9797ecf0f146e81425c822dca69fe4a348' (2023-12-10)
  → 'github:nixos/nixpkgs/32f63574c85fbc80e4ba1fbb932cde9619bad25e' (2023-12-31)
• Updated input 'nixpkgs-overlay':
    'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs/heads/master&rev=37f80d1593ab856372cc0da199f49565f3b05c71' (2023-12-02)
  → 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs/heads/master&rev=32ef4fd545a29cdcb2613934525b97470818b42e' (2024-01-01)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c' (2023-12-11)
  → 'github:nixos/nixpkgs/b0d36bd0a420ecee3bc916c91886caca87c894e9' (2023-12-30)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/d806e546f96c88cd9f7d91c1c19ebc99ba6277d9' (2023-12-10)
  → 'github:Mic92/sops-nix/cfdbaf68d00bc2f9e071f17ae77be4b27ff72fa6' (2023-12-31)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/b8f33c044e51de6dde3ad80a9676945e0e4e3227' (2023-12-09)
  → 'github:NixOS/nixpkgs/0aad9113182747452dbfc68b93c86e168811fa6c' (2023-12-30)
2024-01-02 20:49:34 +01:00
Simon Bruder 2a5da89f53
Do not enable fwupd on virtual machines
It only uses up resources on those hosts but serves no purpose.
2024-01-01 16:11:28 +01:00
Simon Bruder faf159bb66
renge: Discontinue nitter and libreddit 2023-12-31 17:31:18 +01:00
Simon Bruder bf7732bbb0
renge/netbox: Drop
It was disabled anyway.
2023-12-31 17:31:18 +01:00
Simon Bruder 9d7d7cb592
wordclock-dimmer: Migrate to shinobu 2023-12-31 17:31:17 +01:00
Simon Bruder eef5f9b617
renge: Migrate to larger server 2023-12-31 17:31:17 +01:00
Simon Bruder e16ad132fe
flake.lock: Update input password-hash-self-service
Flake lock file updates:

• Updated input 'password-hash-self-service':
    'git+https://git.sbruder.de/simon/password-hash-self-service?ref=refs/heads/master&rev=1b3435ec8615300fd81e96045ca7596e0f5a23f0' (2022-07-16)
  → 'git+https://git.sbruder.de/simon/password-hash-self-service?ref=refs/heads/master&rev=9bddae5f112cdc471faf1a71d34bc4cc2497e946' (2023-12-28)
• Updated input 'password-hash-self-service/naersk':
    'github:nmattia/naersk/cddffb5aa211f50c4b8750adbec0bbbdfb26bb9f' (2022-06-12)
  → 'github:nmattia/naersk/aeb58d5e8faead8980a807c840232697982d47b9' (2023-10-27)
• Updated input 'password-hash-self-service/nixpkgs':
    'github:nixos/nixpkgs/4a01ca36d6bfc133bc617e661916a81327c9bbc8' (2022-07-14)
  → 'github:nixos/nixpkgs/5f64a12a728902226210bf01d25ec6cbb9d9265b' (2023-12-24)
• Updated input 'password-hash-self-service/rust-overlay':
    'github:oxalica/rust-overlay/2cd36d4aef875867ee1d7963541ccb3ae50b358c' (2022-07-16)
  → 'github:oxalica/rust-overlay/347789ef125df15b685e8295364ad8ed331fef94' (2023-12-28)
2023-12-31 17:31:17 +01:00
Simon Bruder abccb6f9e0
initrd-ssh: Make /boot only accessible for root 2023-12-31 17:31:17 +01:00
Simon Bruder c5f5f6a5ca
vueko/mail: Add alias 2023-12-31 11:37:41 +01:00
Simon Bruder 2b91c531e8
okarin: Change domain 2023-12-28 23:27:34 +01:00
Simon Bruder fc53106e1e
secrets: Update media-htpasswd 2023-12-28 17:16:16 +01:00
Simon Bruder 92bbeffca9
renge/prometheus: Shorten instance name for nodes 2023-12-25 23:39:54 +01:00
Simon Bruder 0c108d9e44
renge/element-web: Use snake_case for config
camelCase is deprecated[0].

This also removes an unused jitsi server preference.

[0] https://github.com/element-hq/element-web/blob/develop/docs/config.md#-deprecation-notice
2023-12-24 13:06:57 +01:00
Simon Bruder b645bfbddc
neovim: Use rust-analyzer configuration from docs 2023-12-21 14:45:45 +01:00
Simon Bruder 1255e53e92
sway: Enable touchpad 2023-12-20 23:56:03 +01:00
Simon Bruder 0318ca56f9
Use gpg-agent as ssh agent 2023-12-20 23:55:42 +01:00
Simon Bruder 9107ce034c
nitrokey: Init 2023-12-20 16:53:42 +01:00
Simon Bruder 9d85bbfdc9
vueko/mail: Add alias 2023-12-19 17:32:26 +01:00
Simon Bruder 8f3d1bba06
imprint: Remove residential address 2023-12-19 11:25:16 +01:00
Simon Bruder bf01605517
neovim: Fix tree-sitter configuration
This changes the used parsers from an allowlist to a denylist.
2023-12-18 14:19:34 +01:00
Simon Bruder 95590d6bc3
vueko/mail: Add alias 2023-12-17 18:04:52 +01:00
Simon Bruder cd47e1da97
qbittorrent: Fix DNS in systemd service
With the host’s nsswitch, it tries to query nscd, which fails as the
socket is inaccessible.
2023-12-17 18:03:40 +01:00
Simon Bruder 9bd01d1e8c
vueko/fuuko-proxy: Proxy websockets 2023-12-17 11:57:51 +01:00
Simon Bruder 47998fddd0
media-proxy: Use subdomains instead of paths
This should help with isolating the different services.
2023-12-16 11:56:04 +01:00
Simon Bruder 80fcaab244
nginx: Make recommended settings global 2023-12-16 10:19:20 +01:00
Simon Bruder a5622c3653
librewolf: Lower referer policy 2023-12-16 01:05:58 +01:00
Simon Bruder 178513a21b
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
  → 'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04)
• Updated input 'home-manager':
    'github:nix-community/home-manager/aeb2232d7a32530d3448318790534d196bf9427a' (2023-11-24)
  → 'github:nix-community/home-manager/6761b8188b860f374b457eddfdb05c82eef9752f' (2023-12-10)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/4a8545f5e737a6338814a4676dc8e18c7f43fc57' (2023-12-01)
  → 'github:nix-community/home-manager/d9297efd3a1c3ebb9027dc68f9da0ac002ae94db' (2023-12-12)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25)
  → 'github:cachix/pre-commit-hooks.nix/007a45d064c1c32d04e1b8a0de5ef00984c419bc' (2023-12-13)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/8772491ed75f150f02552c60694e1beff9f46013' (2023-11-29)
  → 'github:nixos/nixos-hardware/7763c6fd1f299cb9361ff2abf755ed9619ef01d6' (2023-12-13)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5de0b32be6e85dc1a9404c75131316e4ffbc634c' (2023-12-01)
  → 'github:nixos/nixpkgs/781e2a9797ecf0f146e81425c822dca69fe4a348' (2023-12-10)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/e92039b55bcd58469325ded85d4f58dd5a4eaf58' (2023-11-29)
  → 'github:nixos/nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c' (2023-12-11)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/e19071f9958c8da4f4347d3d78790d97e98ba22f' (2023-12-02)
  → 'github:Mic92/sops-nix/d806e546f96c88cd9f7d91c1c19ebc99ba6277d9' (2023-12-10)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/dfb95385d21475da10b63da74ae96d89ab352431' (2023-11-25)
  → 'github:NixOS/nixpkgs/b8f33c044e51de6dde3ad80a9676945e0e4e3227' (2023-12-09)
2023-12-13 17:49:34 +01:00
Simon Bruder c4b904d1af
librewolf: Init
This is currently in testing, as qutebrowser has some severe drawbacks.
2023-12-13 17:49:34 +01:00
Simon Bruder 37219a1dd1
bwrap-helper: Include user bus 2023-12-13 14:16:54 +01:00
Simon Bruder 6b9e98fdd3
vueko/mail: Add alias 2023-12-12 12:46:09 +01:00
Simon Bruder 8e1b76e663
renge/forgejo: Migrate from gitea 2023-12-10 15:36:11 +01:00
Simon Bruder 496f0debf6
vueko/mail: Add alias 2023-12-10 14:28:22 +01:00
Simon Bruder 32f4c05be2
vueko/mail: Add alias 2023-12-03 12:27:16 +01:00
Simon Bruder 300c9c5531
vueko/mail: Add alias 2023-12-03 11:51:05 +01:00
Simon Bruder e126adc38d
authoritative-dns: Migrate to settings 2023-12-02 18:54:48 +01:00
Simon Bruder ba843ac8c0
Upgrade to 23.11
Flake lock file updates:

• Updated input 'bang-evaluator':
    'git+https://git.sbruder.de/simon/bangs?ref=refs/heads/master&rev=7fc3d5019c907566abbad8f84ba9555a5786bd01' (2021-08-01)
  → 'git+https://git.sbruder.de/simon/bangs?ref=refs/heads/master&rev=a06c68c44862f74757a203e2df41ea83c33722d9' (2023-12-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/04bac349d585c9df38d78e0285b780a140dc74a4' (2023-11-12)
  → 'github:nix-community/home-manager/aeb2232d7a32530d3448318790534d196bf9427a' (2023-11-24)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/9a4725afa67db35cdf7be89f30527d745194cafa' (2023-11-19)
  → 'github:nix-community/home-manager/4a8545f5e737a6338814a4676dc8e18c7f43fc57' (2023-12-01)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e558068cba67b23b4fbc5537173dbb43748a17e8' (2023-11-15)
  → 'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/1721da31f9b30cbf4460c4ec5068b3b6174a4694' (2023-11-18)
  → 'github:nixos/nixos-hardware/8772491ed75f150f02552c60694e1beff9f46013' (2023-11-29)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9fb122519e9cd465d532f736a98c1e1eb541ef6f' (2023-11-16)
  → 'github:nixos/nixpkgs/5de0b32be6e85dc1a9404c75131316e4ffbc634c' (2023-12-01)
• Updated input 'nixpkgs-overlay':
    'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs/heads/master&rev=c8a17806a75733dec2ecdd8f0021c70d1f9dfc43' (2023-10-04)
  → 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs/heads/master&rev=37f80d1593ab856372cc0da199f49565f3b05c71' (2023-12-02)
• Updated input 'nixpkgs-overlay/poetry2nix':
    'github:nix-community/poetry2nix/093383b3d7fdd36846a7d84e128ca11865800538' (2023-09-22)
  → 'github:nix-community/poetry2nix/7acb78166a659d6afe9b043bb6fe5cb5e86bb75e' (2023-12-01)
• Updated input 'nixpkgs-overlay/poetry2nix/nix-github-actions':
    'github:nix-community/nix-github-actions/165b1650b753316aa7f1787f3005a8d2da0f5301' (2023-07-09)
  → 'github:nix-community/nix-github-actions/4bb5e752616262457bc7ca5882192a564c0472d2' (2023-11-03)
• Added input 'nixpkgs-overlay/poetry2nix/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Added input 'nixpkgs-overlay/poetry2nix/treefmt-nix':
    'github:numtide/treefmt-nix/e82f32aa7f06bbbd56d7b12186d555223dc399d1' (2023-11-12)
• Added input 'nixpkgs-overlay/poetry2nix/treefmt-nix/nixpkgs':
    follows 'nixpkgs-overlay/poetry2nix/nixpkgs'
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad' (2023-11-17)
  → 'github:nixos/nixpkgs/e92039b55bcd58469325ded85d4f58dd5a4eaf58' (2023-11-29)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/49a87c6c827ccd21c225531e30745a9a6464775c' (2023-11-19)
  → 'github:Mic92/sops-nix/e19071f9958c8da4f4347d3d78790d97e98ba22f' (2023-12-02)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/decdf666c833a325cb4417041a90681499e06a41' (2023-11-18)
  → 'github:NixOS/nixpkgs/dfb95385d21475da10b63da74ae96d89ab352431' (2023-11-25)
2023-12-02 18:54:42 +01:00
Simon Bruder e5d32e1607
vueko/mail: Add alias 2023-11-27 22:42:40 +01:00
Simon Bruder f581f20cb3
okarin/static-sites: Add arbeitskampf.work 2023-11-27 21:25:08 +01:00
Simon Bruder f39ce20c60
static-webserver: Init
This module makes it easier to configure static websites.
2023-11-25 12:36:23 +01:00
Simon Bruder 47aa4a11d4
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/07682fff75d41f18327a871088d20af2710d4744' (2023-09-19)
  → 'github:nix-community/home-manager/04bac349d585c9df38d78e0285b780a140dc74a4' (2023-11-12)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/219d268a69512ff520fe8da1739ac22d95d52355' (2023-10-22)
  → 'github:nix-community/home-manager/9a4725afa67db35cdf7be89f30527d745194cafa' (2023-11-19)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/8cc349bfd082da8782b989cad2158c9ad5bd70fd' (2023-10-19)
  → 'github:cachix/pre-commit-hooks.nix/e558068cba67b23b4fbc5537173dbb43748a17e8' (2023-11-15)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/72d53d51704295f1645d20384cd13aecc182f624' (2023-10-19)
  → 'github:nixos/nixos-hardware/1721da31f9b30cbf4460c4ec5068b3b6174a4694' (2023-11-18)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/679cadfdfed2b90311a247b2d6ef6dfd3d6cab73' (2023-10-20)
  → 'github:nixos/nixpkgs/9fb122519e9cd465d532f736a98c1e1eb541ef6f' (2023-11-16)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/7c9cc5a6e5d38010801741ac830a3f8fd667a7a0' (2023-10-19)
  → 'github:nixos/nixpkgs/c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad' (2023-11-17)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/30a0ba4a20703b4bfe047fe5def1fc24978e322c' (2023-10-22)
  → 'github:Mic92/sops-nix/49a87c6c827ccd21c225531e30745a9a6464775c' (2023-11-19)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/fb000224952bf7749a9e8b3779104ef7ea4465c8' (2023-10-21)
  → 'github:NixOS/nixpkgs/decdf666c833a325cb4417041a90681499e06a41' (2023-11-18)
2023-11-19 11:09:26 +01:00
Simon Bruder 27a209c1d5
vueko/mail: Add domain 2023-11-15 23:42:58 +01:00
Simon Bruder e897207daa
tools: Add rlwrap 2023-11-14 16:05:26 +01:00
Simon Bruder 1dc5b83380
pipewire: Enable jack 2023-11-12 01:00:25 +01:00
Simon Bruder 74ae72d161
vueko/mail: Remove alias 2023-11-04 13:59:24 +01:00
Simon Bruder 0055de1c26
shinobu/snmp-exporter: Init 2023-11-04 13:57:59 +01:00
Simon Bruder 4f536a00d2
Switch home domain to shinonome-lab.de
When having DNSSEC activated (as it is the case on sbruder.de), dnsmasq
interfering in queries for hosts on the LAN often causes problems.

This domain is specifically for the case of not having DNSSEC on it.
2023-10-27 23:54:56 +02:00
Simon Bruder 82d26cc548
dns: Do not log stats requests 2023-10-27 23:32:36 +02:00
Simon Bruder c705221f71
okarin/maggus.bayern: Init 2023-10-26 14:05:53 +02:00
Simon Bruder af1d41ffda
dns: Add prometheus exporter 2023-10-26 01:18:17 +02:00
Simon Bruder bfec11bb29
git: Only allow fast-forward merge by default 2023-10-25 21:18:56 +02:00
Simon Bruder 45d4a30aac
git: Add aliases for faster rebase 2023-10-25 21:16:43 +02:00
Simon Bruder 8519bada60
authoritative-dns: Init 2023-10-25 21:16:43 +02:00
Simon Bruder 7a7d38c2f0
shinobu/router: Fix nft set for ntp
Appartently, the family is not optional.
2023-10-24 21:36:40 +02:00
Simon Bruder dc3a17ffe0
wireguard/support: Remove DNS records for peers
For this use case, DNS is not very useful.
2023-10-23 19:38:00 +02:00
Simon Bruder f8fa17c602
neovim: Highlight *.zone as bind DNS zone file 2023-10-22 21:16:16 +02:00
Simon Bruder db5929adec
hitagi: Emulate aarch64-linux binaries 2023-10-22 14:11:02 +02:00
Simon Bruder a7ffb63c72
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/4f02e35f9d150573e1a710afa338846c2f6d850c' (2023-09-29)
  → 'github:nix-community/home-manager/219d268a69512ff520fe8da1739ac22d95d52355' (2023-10-22)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/cb770e93516a1609652fa8e945a0f310e98f10c0' (2023-09-24)
  → 'github:cachix/pre-commit-hooks.nix/8cc349bfd082da8782b989cad2158c9ad5bd70fd' (2023-10-19)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/adcfd6aa860d1d129055039696bc457af7d50d0e' (2023-09-28)
  → 'github:nixos/nixos-hardware/72d53d51704295f1645d20384cd13aecc182f624' (2023-10-19)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5cfafa12d57374f48bcc36fda3274ada276cf69e' (2023-09-27)
  → 'github:nixos/nixpkgs/679cadfdfed2b90311a247b2d6ef6dfd3d6cab73' (2023-10-20)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/8a86b98f0ba1c405358f1b71ff8b5e1d317f5db2' (2023-09-27)
  → 'github:nixos/nixpkgs/7c9cc5a6e5d38010801741ac830a3f8fd667a7a0' (2023-10-19)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/2f375ed8702b0d8ee2430885059d5e7975e38f78' (2023-09-21)
  → 'github:Mic92/sops-nix/30a0ba4a20703b4bfe047fe5def1fc24978e322c' (2023-10-22)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/596611941a74be176b98aeba9328aa9d01b8b322' (2023-09-16)
  → 'github:NixOS/nixpkgs/fb000224952bf7749a9e8b3779104ef7ea4465c8' (2023-10-21)
2023-10-22 14:01:40 +02:00
Simon Bruder c49bf4514b
vueko/mail: Add alias 2023-10-22 14:00:47 +02:00
Simon Bruder f3c69fcc45
vueko/mail: Add alias 2023-10-22 14:00:47 +02:00
Simon Bruder 75cfab8d8e
vueko/mail: Add alias 2023-10-22 14:00:47 +02:00
Simon Bruder a6e9959d12
vueko/mail: Add alias 2023-10-22 14:00:47 +02:00
Simon Bruder 27a96649f8
vueko/mail: Add alias 2023-10-22 14:00:47 +02:00
Simon Bruder 315cc1b50c
shinobu/router: Dynamically allow ntp for iot 2023-10-22 14:00:47 +02:00
Simon Bruder 3f9e9e15e9
shinobu/router: Disable hostapd
The wireless card only supports one AP, so I switched to an OpenWRT
stanadlone AP.
2023-10-22 14:00:47 +02:00
Simon Bruder ef62aac941
shinobu/router: Add qdisc for guest network 2023-10-22 14:00:47 +02:00
Simon Bruder 4611e12772
shinobu/router: Add network segmentation 2023-10-22 14:00:42 +02:00
Simon Bruder 1740570d00
shinobu/router: Use callPackage for common 2023-10-18 20:04:04 +02:00
Simon Bruder 19da5e13b9
shinobu/router/tc: Properly use hex for identifiers 2023-10-18 20:01:57 +02:00
Simon Bruder 5d696d67f0
neovim: Add plantuml syntax 2023-10-18 14:19:52 +02:00
Simon Bruder bb5937c686
vnstat: Use UTC in database 2023-10-15 17:07:16 +02:00
Simon Bruder 8311a2c906
vueko/mail: Add alias 2023-10-13 21:25:06 +02:00
Simon Bruder a884f11f69
renge/gitea: Switch to manual user confirmation
There was too much spam registration going on.
2023-10-13 20:23:54 +02:00
Simon Bruder 95ae4c03c4
neovim: Use nvim-jdtls 2023-10-11 12:08:47 +02:00
Simon Bruder ace6f449c3
renge/gitea: Don’t allow creating org by default 2023-10-08 21:36:33 +02:00
Simon Bruder c0eae808b7
mail: Remove old configuration
I use the new imperative configuration for quite some time and don’t
think I will go back to aerc.
2023-10-08 16:45:14 +02:00
Simon Bruder 816004e80b
restic: Use QoS instead of uploadLimit
This implements a crude mechanism for signalling my router to add the
packets to its own qdisc.

The way in which this is implemented with nftables is hacky because of
NixOS’ limitations on build-time checking (which obviously can’t know
about the existence of cgroups on the target).
2023-10-07 22:49:47 +02:00
Simon Bruder afc9013506
shinobu/router: Implement QoS using HTB
This is an initial implementation and probably still needs tuning.
2023-10-07 22:49:26 +02:00
Simon Bruder 91eb90e9c3
Enable nftables by default 2023-10-07 13:50:18 +02:00
Simon Bruder 4eeae2c1b5
vueko/mail: Add alias 2023-10-07 01:18:48 +02:00
Simon Bruder 3e1cd23aea
tools: Use bandwhich from unstable 2023-10-04 23:42:01 +02:00
Simon Bruder 7b836dd65b
Drastically lower restic upload limit
Welcome in the year 2023, where it apparently is acceptable to offer
internet connectivity with not even 5 Mbit/s upload speed.
2023-10-04 23:42:00 +02:00
Simon Bruder 16c0472bb0
nazuna: Enable torrent 2023-10-04 23:19:44 +02:00
Simon Bruder 3a12a3f53a
qbittorrent: Avoid using nscd 2023-10-04 23:19:44 +02:00
Simon Bruder 7fc8a4694c
nazuna: Init 2023-10-04 23:19:44 +02:00
Simon Bruder 70ee0e1d59
vueko/mail: Add alias 2023-10-04 23:19:44 +02:00
Simon Bruder 4ea0cc32ba
mpd: Add listenbrainz-content-resolver 2023-10-04 23:19:44 +02:00
Simon Bruder b79a088479
vueko/mail: Add alias 2023-10-04 23:19:44 +02:00
Simon Bruder c229c14d4b
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/f9e7cf818399d17d347f847525c5a5a8032e4e44' (2023-08-23)
  → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
• Updated input 'home-manager':
    'github:nix-community/home-manager/9787dffff5d315c9593d3f9fb0f9bf2097e1b57b' (2023-09-11)
  → 'github:nix-community/home-manager/07682fff75d41f18327a871088d20af2710d4744' (2023-09-19)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/5171f5ef654425e09d9c2100f856d887da595437' (2023-09-11)
  → 'github:nix-community/home-manager/4f02e35f9d150573e1a710afa338846c2f6d850c' (2023-09-29)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/4f883a76282bc28eb952570afc3d8a1bf6f481d7' (2023-09-10)
  → 'github:cachix/pre-commit-hooks.nix/cb770e93516a1609652fa8e945a0f310e98f10c0' (2023-09-24)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/ca41b8a227dd235b1b308217f116c7e6e84ad779' (2023-09-11)
  → 'github:nixos/nixos-hardware/adcfd6aa860d1d129055039696bc457af7d50d0e' (2023-09-28)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9a74ffb2ca1fc91c6ccc48bd3f8cbc1501bf7b8a' (2023-09-11)
  → 'github:nixos/nixpkgs/5cfafa12d57374f48bcc36fda3274ada276cf69e' (2023-09-27)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/3a2786eea085f040a66ecde1bc3ddc7099f6dbeb' (2023-09-11)
  → 'github:nixos/nixpkgs/8a86b98f0ba1c405358f1b71ff8b5e1d317f5db2' (2023-09-27)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/ea208e55f8742fdcc0986b256bdfa8986f5e4415' (2023-09-12)
  → 'github:Mic92/sops-nix/2f375ed8702b0d8ee2430885059d5e7975e38f78' (2023-09-21)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/5601118d39ca9105f8e7b39d4c221d3388c0419d' (2023-09-02)
  → 'github:NixOS/nixpkgs/596611941a74be176b98aeba9328aa9d01b8b322' (2023-09-16)
2023-10-04 23:19:44 +02:00
Simon Bruder 3d880316de
shinobu/router: Disable wg-upstream
This only complicates many things and creates too much overhead on such
a slow connection.
2023-10-04 23:19:44 +02:00
Simon Bruder 642fea6b8e
shinobu/router: Route select protocols directly 2023-10-04 23:19:44 +02:00
Simon Bruder 7a7b385b44
shinobu/router: Change nft variable source 2023-10-04 23:19:44 +02:00
Simon Bruder f6694ebb8c
qutebrowser: Do not use fake user agent
C(R)APTCHA services do not like this.
2023-10-04 23:19:44 +02:00
Simon Bruder 8ecf4ecbfd
shinobu/router: Split configuration 2023-10-04 23:19:43 +02:00
Simon Bruder c48d626c68
neovim: Add nftables highlighting 2023-09-24 14:42:31 +02:00
Simon Bruder c0ab0c6977
vueko/mail: Add alias 2023-09-22 22:37:49 +02:00
Simon Bruder 257b000e24
shinobu/router: Add ethtool 2023-09-21 21:11:22 +02:00
Simon Bruder 8a1724fe43
shinobu/router: Clean up nftables rules 2023-09-21 12:59:12 +02:00
Simon Bruder 9c42cb0903
shinobu/router: Fix VPN bypass
This now actually works and I have a better understanding of nftables.
Some of my learnings are documented as comments in the rules.
2023-09-21 12:56:36 +02:00
Simon Bruder caac620ea6
shinobu/router: Add tracing infrastructure 2023-09-21 12:44:27 +02:00
Simon Bruder 1c24743911
shinobu/router: Fix naming of subnets in rules
This has no practical effect, but did cause confusion.
2023-09-21 11:31:00 +02:00
Simon Bruder a39a2ba616
nix: Make nix-shell not fail on non-krops machines
Only krops stores the current configuration under /var/src/config.
As I use krops much less, this is not present on all machines.
2023-09-20 22:11:54 +02:00
Simon Bruder b10b83c207
shinobu/router: Use dns over https
For some reason, this makes DNS more reliable.
2023-09-20 22:11:24 +02:00
Simon Bruder f1c70dce99
Revert "shinobu/router: Switch provider for wg-upstream"
This reverts commit 0bcc5d6141.

This leaves MSS clamping in place.
2023-09-19 12:23:38 +02:00
Simon Bruder 287560e0fa
mpd: Add listenbrainz submitting 2023-09-19 12:23:38 +02:00
Simon Bruder c7895e8427
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
  → 'github:numtide/flake-utils/f9e7cf818399d17d347f847525c5a5a8032e4e44' (2023-08-23)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f' (2023-08-15)
  → 'github:nix-community/home-manager/9787dffff5d315c9593d3f9fb0f9bf2097e1b57b' (2023-09-11)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/6a94c1a59737783c282c4031555a289c28b961e4' (2023-08-17)
  → 'github:nix-community/home-manager/5171f5ef654425e09d9c2100f856d887da595437' (2023-09-11)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/7e3517c03d46159fdbf8c0e5c97f82d5d4b0c8fa' (2023-08-17)
  → 'github:cachix/pre-commit-hooks.nix/4f883a76282bc28eb952570afc3d8a1bf6f481d7' (2023-09-10)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/430a56dd16fe583a812b2df44dca002acab2f4f6' (2023-08-12)
  → 'github:nixos/nixos-hardware/ca41b8a227dd235b1b308217f116c7e6e84ad779' (2023-09-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/b30c68669df77d981ce4aefd6b9d378563f6fc4e' (2023-08-16)
  → 'github:nixos/nixpkgs/9a74ffb2ca1fc91c6ccc48bd3f8cbc1501bf7b8a' (2023-09-11)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/caac0eb6bdcad0b32cb2522e03e4002c8975c62e' (2023-08-16)
  → 'github:nixos/nixpkgs/3a2786eea085f040a66ecde1bc3ddc7099f6dbeb' (2023-09-11)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/f81e73cf9a4ef4b949b9225be3daa1e586c096da' (2023-08-15)
  → 'github:Mic92/sops-nix/ea208e55f8742fdcc0986b256bdfa8986f5e4415' (2023-09-12)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/efeed708ece1a9f4ae0506ae4a4d7da264a74102' (2023-08-12)
  → 'github:NixOS/nixpkgs/5601118d39ca9105f8e7b39d4c221d3388c0419d' (2023-09-02)
2023-09-12 15:00:51 +02:00
Simon Bruder c3365ba881
vueko/mail: Add alias 2023-09-12 15:00:51 +02:00
Simon Bruder aa85febe12
shinobu/router: Fix IPv6 networking
Previously, I did not have IPv6 upstream, so even a wrong configuration
worked. Now it uses a different routing table for IPv4 and IPv6, so it
also works on dual-stack upstreams.

However, how it worked without IPv6 forwarding enabled, is still a
mystery to me.
2023-09-12 15:00:51 +02:00
Simon Bruder 09a9037f1c
Revert "Disable systemd-resolved"
This reverts commit 38f815ecf1fa188d0a5a389f73bcd01177f9687c.
2023-09-12 15:00:51 +02:00
Simon Bruder bc08d06985
renge: Disable netbox
I don’t depend on it (yet) and lately, renge often runs out of memory
during backups.
2023-09-12 15:00:51 +02:00
Simon Bruder e7d740f03c
shinobu/router: Restrict wan 2023-09-12 15:00:51 +02:00
Simon Bruder 94fcee359a
shinobu/router: Reduce semicolon usage
Only use it where it is necessary
2023-09-12 15:00:51 +02:00
Simon Bruder 2dab79f0bc
shinobu/router: Use correct v6 address for vueko
It is not used (yet), therefore it went unnoticed.
2023-09-12 15:00:51 +02:00
Simon Bruder f88669f202
shinobu: Move physically 2023-09-12 15:00:51 +02:00
Simon Bruder 0bcc5d6141
shinobu/router: Switch provider for wg-upstream
The old provider was doing weird stuff with DNS that I wasn’t able to
debug well.

However, apparently, the old provider did MSS clamping on their side.
Therefore, it is now required that I do this on my side.
2023-09-12 15:00:51 +02:00
Simon Bruder fcbd6806b9
Disable systemd-resolved
It always breaks things, makes debugging harder and in general does not
seem to make anything better.
2023-09-12 15:00:50 +02:00
Simon Bruder 926d537986
vueko/mail: Add alias 2023-09-12 15:00:50 +02:00
Simon Bruder 986ad238f8
vueko/mail: Add alias 2023-09-12 15:00:50 +02:00
Simon Bruder 35a65b859a
vueko/mail: Add alias 2023-09-12 15:00:50 +02:00
Simon Bruder ffb123645d
imprint: Change address 2023-09-12 15:00:50 +02:00
Simon Bruder e217be3fc5
vueko/mail: Add alias 2023-09-12 15:00:50 +02:00
Simon Bruder 8dd64f4209
hitagi: Document front panel swap 2023-08-26 18:11:10 +02:00
Simon Bruder d26d1127bc
hitagi: Update installed RAM in readme 2023-08-26 18:10:28 +02:00
Simon Bruder b44662e3cc
vueko/mail: Add alias 2023-08-24 18:20:36 +02:00
Simon Bruder 2efdce8854
programs: Add gpxsee 2023-08-24 17:45:20 +02:00
Simon Bruder 26e6d05db3
vueko/mail: Add alias 2023-08-24 12:04:36 +02:00
Simon Bruder 98dc82f57b
vueko/mail: Add alias 2023-08-23 17:52:43 +02:00
Simon Bruder adafda75bd
vueko/mail: Add alias 2023-08-23 14:07:33 +02:00
Simon Bruder 2421b6dd4c
vueko/mail: Add alias 2023-08-22 22:22:28 +02:00
Simon Bruder 2f71839f58
vueko/mail: Add alias 2023-08-20 14:04:57 +02:00
Simon Bruder 0d92c932ed
fuuko/photoprism: Make reachable from outside
This is not that good, because if I am at home, I want to have a fast
connection without routing everything through the Internet first. I
currently work around this by using an ssh tunnel for this.
2023-08-19 17:30:52 +02:00
Simon Bruder 6b8931d538
hitagi: Use graphics packages from stable
Otherwise there is an impure version conflict.
2023-08-19 10:49:38 +02:00
Simon Bruder 49149fa1d4
fuuko/photoprism: Init 2023-08-18 22:17:02 +02:00
Simon Bruder 30485e7d70
mailserver: Enable postscreen 2023-08-18 15:15:07 +02:00
Simon Bruder 385cf15e02
renge/invidious: Use new hmac_key setting 2023-08-18 12:02:50 +02:00
Simon Bruder 8d50c9ff10
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/07c347bb50994691d7b0095f45ebd8838cf6bc38' (2023-06-27)
  → 'github:nix-community/home-manager/2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f' (2023-08-15)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/6e1eff9aac0e8d84bda7f2d60ba6108eea9b7e79' (2023-08-10)
  → 'github:nix-community/home-manager/6a94c1a59737783c282c4031555a289c28b961e4' (2023-08-17)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/c5ac3aa3324bd8aebe8622a3fc92eeb3975d317a' (2023-08-11)
  → 'github:cachix/pre-commit-hooks.nix/7e3517c03d46159fdbf8c0e5c97f82d5d4b0c8fa' (2023-08-17)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/f61352cf8066ddd3dfe9058e62184bae7382672d' (2023-08-11)
  → 'github:nixos/nixos-hardware/430a56dd16fe583a812b2df44dca002acab2f4f6' (2023-08-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/18784aac1013da9b442adf29b6c7c228518b5d3f' (2023-08-10)
  → 'github:nixos/nixpkgs/b30c68669df77d981ce4aefd6b9d378563f6fc4e' (2023-08-16)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e' (2023-08-10)
  → 'github:nixos/nixpkgs/caac0eb6bdcad0b32cb2522e03e4002c8975c62e' (2023-08-16)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/5f5d9a3c8bc247eb574823b9f16a79e054dafe73' (2023-08-12)
  → 'github:Mic92/sops-nix/f81e73cf9a4ef4b949b9225be3daa1e586c096da' (2023-08-15)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/240472b7e47a641e9e7675f58b64d3626ca7824d' (2023-08-06)
  → 'github:NixOS/nixpkgs/efeed708ece1a9f4ae0506ae4a4d7da264a74102' (2023-08-12)
2023-08-18 11:41:26 +02:00
Simon Bruder abcab70626
vueko/mail: Add domain and user 2023-08-17 13:51:45 +02:00
Simon Bruder 795b80e734
vueko/mail: Add alias 2023-08-14 09:51:19 +02:00
Simon Bruder 7f2ed58e19
fuuko: Do DHCP on both interfaces 2023-08-12 15:32:12 +02:00
Simon Bruder 5741591d5f
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/15043a65915bcc16ad207d65b202659e4988066b' (2023-08-04)
  → 'github:nix-community/home-manager/6e1eff9aac0e8d84bda7f2d60ba6108eea9b7e79' (2023-08-10)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/ebb43bdacd1af8954d04869c77bc3b61fde515e4' (2023-08-03)
  → 'github:cachix/pre-commit-hooks.nix/c5ac3aa3324bd8aebe8622a3fc92eeb3975d317a' (2023-08-11)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/24f9162b26f0debd163f6d94752aa2acb9db395a' (2023-08-02)
  → 'github:nixos/nixos-hardware/f61352cf8066ddd3dfe9058e62184bae7382672d' (2023-08-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e9ca92b55bed47696cc7cc25d3f854a1e2e01f86' (2023-08-03)
  → 'github:nixos/nixpkgs/18784aac1013da9b442adf29b6c7c228518b5d3f' (2023-08-10)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/66aedfd010204949cb225cf749be08cb13ce1813' (2023-08-02)
  → 'github:nixos/nixpkgs/ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e' (2023-08-10)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/c36df4fe4bf4bb87759b1891cab21e7a05219500' (2023-07-24)
  → 'github:Mic92/sops-nix/5f5d9a3c8bc247eb574823b9f16a79e054dafe73' (2023-08-12)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/ce45b591975d070044ca24e3003c830d26fea1c8' (2023-07-22)
  → 'github:NixOS/nixpkgs/240472b7e47a641e9e7675f58b64d3626ca7824d' (2023-08-06)
2023-08-12 14:00:32 +02:00
Simon Bruder 0bdf13b3bd
renge/netbox: Add plugins 2023-08-12 13:59:03 +02:00
Simon Bruder 6f67715a65
renge/netbox: Init 2023-08-12 11:53:11 +02:00
Simon Bruder 72623c05d2
vueko/mail: Add alias 2023-08-12 10:12:28 +02:00
Simon Bruder 0f6a9a1bee
{renge,vueko}: Use correct IPv6 address 2023-08-12 01:00:37 +02:00
Simon Bruder 1ea28cf4b6
vueko/mail: Add alias 2023-08-10 14:50:10 +02:00
Simon Bruder bb0b66d9c1
fuuko: Add r8169 to initrd modules
This allows unlocking with the onboard NIC.
2023-08-08 15:32:00 +02:00
Simon Bruder f71cbedf14
shinobu/router: Exclude vueko from VPN 2023-08-08 14:20:21 +02:00
Simon Bruder 826929571b
shinobu/router: Switch to nftables 2023-08-08 14:19:48 +02:00
Simon Bruder ba1f9262fb
shinobu/router: Make wg-mullvad vendor neutral 2023-08-08 11:44:45 +02:00
Simon Bruder 751e9d51b9
shinobu: Change wg-mullvad peer 2023-08-08 11:42:52 +02:00
Simon Bruder 347f2a0183
programs: Use picard from unstable
The stable version is missing the qtwayland input and therefore only
supports xcb.
2023-08-06 13:16:35 +02:00
Simon Bruder 0ce0c43e5e
games: add pcsx2 2023-08-04 22:31:21 +02:00
Simon Bruder f0e5f3bec0
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/76dd6c66190db0d46ac6b3ca816cc17b581df42c' (2023-07-22)
  → 'github:nix-community/home-manager/15043a65915bcc16ad207d65b202659e4988066b' (2023-08-04)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/eb433bff05b285258be76513add6f6c57b441775' (2023-07-18)
  → 'github:cachix/pre-commit-hooks.nix/ebb43bdacd1af8954d04869c77bc3b61fde515e4' (2023-08-03)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/d4ea64f2063820120c05f6ba93ee02e6d4671d6b' (2023-07-14)
  → 'github:nixos/nixos-hardware/24f9162b26f0debd163f6d94752aa2acb9db395a' (2023-08-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/6da4bc6cb07cba1b8e53d139cbf1d2fb8061d967' (2023-07-21)
  → 'github:nixos/nixpkgs/e9ca92b55bed47696cc7cc25d3f854a1e2e01f86' (2023-08-03)
• Updated input 'nixpkgs-overlay':
    'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs%2fheads%2fmaster&rev=b095898a01dd3bf434488a18f887e718e2f5e528' (2023-03-06)
  → 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs%2fheads%2fmaster&rev=fcd0dc1d7532403fead90e7aad4595133cc994e7' (2023-06-17)
• Added input 'nixpkgs-overlay/poetry2nix':
    'github:nix-community/poetry2nix/e2d2c7a31485aeb801fa85da2d0fa103dd5112ef' (2023-04-22)
• Added input 'nixpkgs-overlay/poetry2nix/flake-utils':
    follows 'nixpkgs-overlay/flake-utils'
• Added input 'nixpkgs-overlay/poetry2nix/nixpkgs':
    follows 'nixpkgs-overlay/nixpkgs'
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/9ca785644d067445a4aa749902b29ccef61f7476' (2023-07-21)
  → 'github:nixos/nixpkgs/66aedfd010204949cb225cf749be08cb13ce1813' (2023-08-02)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/bd695cc4d0a5e1bead703cc1bec5fa3094820a81' (2023-07-16)
  → 'github:Mic92/sops-nix/c36df4fe4bf4bb87759b1891cab21e7a05219500' (2023-07-24)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/13231eccfa1da771afa5c0807fdd73e05a1ec4e6' (2023-07-16)
  → 'github:NixOS/nixpkgs/ce45b591975d070044ca24e3003c830d26fea1c8' (2023-07-22)
2023-08-04 19:24:48 +02:00
Simon Bruder 04b95467f8
vueko/mail: Add alias 2023-08-04 11:32:36 +02:00
Simon Bruder 25ff150b3d
prometheus: Add disk full alert 2023-08-02 23:22:19 +02:00
Simon Bruder ee745afd3d
vueko/mail: Add alias 2023-08-02 14:24:55 +02:00
Simon Bruder 08b2bac970
mailserver: Add ManageSieve 2023-08-01 15:19:24 +02:00
Simon Bruder 167b488ff2
qutebrowser: Allow autoplay on Invidious 2023-07-29 17:34:49 +02:00
Simon Bruder 23b81817ba
vueko/mail: Add alias 2023-07-28 22:48:39 +02:00
Simon Bruder eb2e268377
unfree: Remove packages no longer in use 2023-07-22 15:14:58 +02:00
Simon Bruder f5d62a8cbd
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7' (2023-06-25)
  → 'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/34db2f05219bcb0e41cc85490e4c338e2405546c' (2023-07-07)
  → 'github:nix-community/home-manager/76dd6c66190db0d46ac6b3ca816cc17b581df42c' (2023-07-22)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/c8d18ba345730019c3faf412c96a045ade171895' (2023-07-05)
  → 'github:cachix/pre-commit-hooks.nix/eb433bff05b285258be76513add6f6c57b441775' (2023-07-18)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/429f232fe1dc398c5afea19a51aad6931ee0fb89' (2023-06-15)
  → 'github:nixos/nixos-hardware/d4ea64f2063820120c05f6ba93ee02e6d4671d6b' (2023-07-14)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e11142026e2cef35ea52c9205703823df225c947' (2023-07-05)
  → 'github:nixos/nixpkgs/6da4bc6cb07cba1b8e53d139cbf1d2fb8061d967' (2023-07-21)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/f292b4964cb71f9dfbbd30dc9f511d6165cd109b' (2023-07-05)
  → 'github:nixos/nixpkgs/9ca785644d067445a4aa749902b29ccef61f7476' (2023-07-21)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/5ed3c22c1fa0515e037e36956a67fe7e32c92957' (2023-07-02)
  → 'github:Mic92/sops-nix/bd695cc4d0a5e1bead703cc1bec5fa3094820a81' (2023-07-16)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/f553c016a31277246f8d3724d3b1eee5e8c0842c' (2023-07-02)
  → 'github:NixOS/nixpkgs/13231eccfa1da771afa5c0807fdd73e05a1ec4e6' (2023-07-16)
2023-07-22 14:56:11 +02:00
Simon Bruder 0767d44b45
tools: Install tio system-wide 2023-07-21 15:06:29 +02:00
Simon Bruder 0bf2851100
vueko/mail: Add alias 2023-07-14 08:53:06 +02:00
Simon Bruder f07781d66c
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c' (2023-06-19)
  → 'github:numtide/flake-utils/dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7' (2023-06-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/6ca1e16eb3016c94b7ac16699e1d4158bd4e39a4' (2023-06-24)
  → 'github:nix-community/home-manager/07c347bb50994691d7b0095f45ebd8838cf6bc38' (2023-06-27)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/0ee5ab611dc1fbb5180bd7d88d2aeb7841a4d179' (2023-06-24)
  → 'github:nix-community/home-manager/34db2f05219bcb0e41cc85490e4c338e2405546c' (2023-07-07)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/7807e1851d95828ed98491930d2d9e7ddbe65da4' (2023-06-20)
  → 'github:cachix/pre-commit-hooks.nix/c8d18ba345730019c3faf412c96a045ade171895' (2023-07-05)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/33223d479ffde3d05ac16c6dff04ae43cc27e577' (2023-06-23)
  → 'github:nixos/nixpkgs/e11142026e2cef35ea52c9205703823df225c947' (2023-07-05)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/3ae20aa58a6c0d1ca95c9b11f59a2d12eebc511f' (2023-06-23)
  → 'github:nixos/nixpkgs/f292b4964cb71f9dfbbd30dc9f511d6165cd109b' (2023-07-05)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/2ff6973350682f8d16371f8c071a304b8067f192' (2023-06-22)
  → 'github:Mic92/sops-nix/5ed3c22c1fa0515e037e36956a67fe7e32c92957' (2023-07-02)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/e2e2059d19668dab1744301b8b0e821e3aae9c99' (2023-06-17)
  → 'github:NixOS/nixpkgs/f553c016a31277246f8d3724d3b1eee5e8c0842c' (2023-07-02)
2023-07-07 16:40:32 +02:00
Simon Bruder 527f6ac056
vueko/mail: Add alias 2023-07-04 20:29:56 +02:00
Simon Bruder 0a33de244f
fuuko/qbittorrent: Switch endpoint 2023-07-03 11:46:28 +02:00
Simon Bruder 7dab8814c6
vueko/mail: Add alias 2023-07-01 21:44:48 +02:00
Simon Bruder 8e51f746c9
shinobu: Add eMMC to readme 2023-07-01 20:07:49 +02:00
Simon Bruder bc49acba64
co2_exporter: 2022-11-03 -> 2023-07-01 2023-07-01 13:19:26 +02:00
Simon Bruder 3df0ddcc27
shinobu/co2_exporter: Migrate from fuuko 2023-07-01 13:14:32 +02:00
Simon Bruder 1b44e31627
shinobu: Init 2023-07-01 12:37:12 +02:00
Simon Bruder 9039e60225
readme: Apply small updates to install commands
They don’t change much (if at all), but it makes the installation guide
more streamlined.
2023-07-01 12:01:36 +02:00
Simon Bruder bab7d82373
programs: Add tio 2023-07-01 12:01:22 +02:00
Simon Bruder a59f595562
mayushii: Add hack for better DPMS 2023-06-29 17:51:38 +02:00
Simon Bruder 472ff64011
fuuko: Add SSD for hot storage
Adding a new PCIe device changes the names of the network interfaces, so
they need to be adapted.
2023-06-28 23:13:57 +02:00
Simon Bruder 9c5002517c
vueko/mail: Add alias 2023-06-28 20:06:26 +02:00
Simon Bruder 4a182ff522
fuuko: Make co2 exporter more reliable
This also “fixes” a typo in the variable name.
2023-06-28 12:53:29 +02:00
Simon Bruder af20339f1b
ytcc: Also use correct name for vp9 2023-06-26 19:08:35 +02:00
Simon Bruder e627f21603
vueko/mail: Add alias 2023-06-26 08:50:58 +02:00
Simon Bruder 7cf4b5ac0e
youtube-dl: Update name of vp9 video format
Youtube apparently changed the name to reflect the fourcc code. The only
format still offered as vp9 is a very low quality variant.
2023-06-25 21:46:13 +02:00
Simon Bruder ea175b3361
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31)
  → 'github:numtide/flake-utils/abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c' (2023-06-19)
• Updated input 'home-manager':
    'github:nix-community/home-manager/93db05480c0c0f30382d3e80779e8386dcb4f9dd' (2023-06-01)
  → 'github:nix-community/home-manager/6ca1e16eb3016c94b7ac16699e1d4158bd4e39a4' (2023-06-24)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/29519461834c08395b35f840811faf8c23e3b61c' (2023-06-02)
  → 'github:nix-community/home-manager/0ee5ab611dc1fbb5180bd7d88d2aeb7841a4d179' (2023-06-24)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/ca2fdbf3edda2a38140184da6381d49f8206eaf4' (2023-05-29)
  → 'github:cachix/pre-commit-hooks.nix/7807e1851d95828ed98491930d2d9e7ddbe65da4' (2023-06-20)
• Updated input 'nix-pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8' (2023-03-15)
  → 'github:NixOS/nixpkgs/c37ca420157f4abc31e26f436c1145f8951ff373' (2023-06-03)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/4cc688ee711159b9bcb5a367be44007934e1a49d' (2023-05-24)
  → 'github:nixos/nixos-hardware/429f232fe1dc398c5afea19a51aad6931ee0fb89' (2023-06-15)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/f0ba8235153dd2e25cf06cbf70d43efdd4443592' (2023-06-01)
  → 'github:nixos/nixpkgs/33223d479ffde3d05ac16c6dff04ae43cc27e577' (2023-06-23)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/e635192892f5abbc2289eaac3a73cdb249abaefd' (2023-06-01)
  → 'github:nixos/nixpkgs/3ae20aa58a6c0d1ca95c9b11f59a2d12eebc511f' (2023-06-23)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/876846cde9762ae563f018c17993354875e2538e' (2023-05-30)
  → 'github:Mic92/sops-nix/2ff6973350682f8d16371f8c071a304b8067f192' (2023-06-22)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/ba6e4ddeb3e8ad3f3e3bec63dafbc9fe558729bb' (2023-05-27)
  → 'github:NixOS/nixpkgs/e2e2059d19668dab1744301b8b0e821e3aae9c99' (2023-06-17)
2023-06-25 12:05:35 +02:00
Simon Bruder 13b8781c71
mullvad: Update relays 2023-06-25 12:04:43 +02:00
Simon Bruder c3afd14f8a
fuuko/router: Switch wg-mullvad endpoint 2023-06-23 17:15:06 +02:00
Simon Bruder eea6668c8b
vueko/mail: Add alias 2023-06-22 22:58:07 +02:00
Simon Bruder c85d860c9a
neovim/snippets: Add java negative check 2023-06-19 18:25:03 +02:00
Simon Bruder b2636f87fb
vueko/mail: Add alias 2023-06-17 15:09:22 +02:00
Simon Bruder 7f0eea300f
vueko/mail: Add alias 2023-06-17 13:31:11 +02:00
Simon Bruder aa6d0378cb
vueko/mail: Add alias 2023-06-08 20:26:14 +02:00
Simon Bruder e99a45dba5
pipewire: Add support for Focusrite Scarlett Solo Gen 3
The headphone output of my Behringer UMC202HD had sporadic cutouts.
While short, they were quite annoying.

I hope this interface (which costs 50% more) will work better.
2023-06-08 20:11:00 +02:00
Simon Bruder f492d8311b
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/54a9d6456eaa6195998a0f37bdbafee9953ca0fb' (2023-05-30)
  → 'github:nix-community/home-manager/93db05480c0c0f30382d3e80779e8386dcb4f9dd' (2023-06-01)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/54a9d6456eaa6195998a0f37bdbafee9953ca0fb' (2023-05-30)
  → 'github:nix-community/home-manager/29519461834c08395b35f840811faf8c23e3b61c' (2023-06-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/6b0edc9c690c1d8a729f055e0d73439045cfda55' (2023-05-30)
  → 'github:nixos/nixpkgs/f0ba8235153dd2e25cf06cbf70d43efdd4443592' (2023-06-01)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/5e871d8aa6f57cc8e0dc087d1c5013f6e212b4ce' (2023-05-29)
  → 'github:nixos/nixpkgs/e635192892f5abbc2289eaac3a73cdb249abaefd' (2023-06-01)
2023-06-03 18:34:13 +02:00
Simon Bruder 694616fcc0
neovim: Add java snippets for checks 2023-06-03 18:34:13 +02:00
Simon Bruder ef2ec9d975
easyeffects: Enable daemon 2023-06-03 18:34:13 +02:00
Simon Bruder 42f496ccea
neovim: Migrate icons to Nerd Fonts 3 2023-06-03 18:34:13 +02:00
Simon Bruder 0e0bdf7c3e
Revert "pipewire: Add configuration for UMC202HD"
This reverts commit 5462768f19.

The new pipewire version from 23.05 automatically separates the inputs.
2023-06-03 18:34:12 +02:00
Simon Bruder fdde11774b
deploy-local: Allow not using substituters 2023-06-03 18:34:12 +02:00
Simon Bruder 89855c41cc
deploy-local: Use custom implementation
Using nixos-rebuild for this, while being easy, often was difficult.
2023-06-03 18:34:12 +02:00
Simon Bruder 0bbacae3d0
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
  → 'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2d963854ae2499193c0c72fd67435fee34d3e4fd' (2023-05-27)
  → 'github:nix-community/home-manager/54a9d6456eaa6195998a0f37bdbafee9953ca0fb' (2023-05-30)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/70c8bd08e6c186e5c628a4e5af6f7ad67cd344b8' (2023-05-12)
  → 'github:nix-community/home-manager/54a9d6456eaa6195998a0f37bdbafee9953ca0fb' (2023-05-30)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/fb58866e20af98779017134319b5663b8215d912' (2023-04-27)
  → 'github:cachix/pre-commit-hooks.nix/ca2fdbf3edda2a38140184da6381d49f8206eaf4' (2023-05-29)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/fb1317948339713afa82a775a8274a91334f6182' (2023-05-11)
  → 'github:nixos/nixos-hardware/4cc688ee711159b9bcb5a367be44007934e1a49d' (2023-05-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0f7f5ca1cdec8dea85bb4fa60378258171d019ad' (2023-05-29)
  → 'github:nixos/nixpkgs/6b0edc9c690c1d8a729f055e0d73439045cfda55' (2023-05-30)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
  → 'github:nixos/nixpkgs/5e871d8aa6f57cc8e0dc087d1c5013f6e212b4ce' (2023-05-29)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/36b062a2c85a0efb37de1300c79c54602a094fab' (2023-05-08)
  → 'github:Mic92/sops-nix/876846cde9762ae563f018c17993354875e2538e' (2023-05-30)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/ba0086c178d4ed60a7899f739caea553eca2e046' (2023-05-08)
  → 'github:NixOS/nixpkgs/ba6e4ddeb3e8ad3f3e3bec63dafbc9fe558729bb' (2023-05-27)
2023-06-03 18:34:12 +02:00
Simon Bruder db391a3907
mailserver: Remove rejectSenders
This now gets handled by rspamd with a dynamic map.
2023-06-03 18:34:12 +02:00
Simon Bruder 5b39654159
mailserver: Separate into multiple files 2023-06-02 08:26:57 +02:00
Simon Bruder f84e6d9bee
mailserver: Add option for autoconfig 2023-06-02 08:26:33 +02:00
Simon Bruder 21e139f313
mailserver: Allow using implicit TLS
The configuration dates back quite a bit and then STARTTLS was
considered the best option. However, with RFC 8314 from 2018, which now
recommends implicit TLS for IMAP and SMTP submission, this changed.

This allows using implicit TLS for those services. STARTTLS might become
deprecated and/or removed in the future.
2023-06-01 19:54:26 +02:00
Simon Bruder 75fd40abb3
vueko/mail: Add alias 2023-06-01 19:54:26 +02:00
Simon Bruder e7fa0868ae
mailserver: Allow manually blocking sender domains 2023-06-01 19:54:26 +02:00
Simon Bruder df01f1e00d
zsh/exa: Remove 23.05 guard 2023-06-01 19:54:26 +02:00
Simon Bruder 7441d4eb00
mpv: Remove 23.05 guard 2023-06-01 19:54:26 +02:00
Simon Bruder 7c936fa4cc
waybar: Migrate icons to Nerd Fonts 3 2023-06-01 19:54:25 +02:00
Simon Bruder 704f1e8d7f
fonts: Fix custom iosevka name
They no longer match the old name, only one that looks weird.
2023-06-01 19:54:25 +02:00
Simon Bruder 17cfd6cfb9
hitagi: Use stable nixpkgs 2023-06-01 19:54:25 +02:00
Simon Bruder b135035baa
fuuko/router: Migrate dnsmasq options to 23.05 2023-06-01 19:54:25 +02:00
Simon Bruder 4adeba626a
renge/gitea: Migrate to 23.05 options 2023-06-01 19:54:22 +02:00
Simon Bruder f9b6483fd6
grub: Remove version 2023-06-01 19:54:22 +02:00
Simon Bruder 1ec8a58921
Rename boot.cleanTmpDir 2023-06-01 19:54:22 +02:00
Simon Bruder 2221fcf6c1
deploy-local: Remove -L from nixos-rebuild
It currently wrongly passes this to nix-store, which does not take -L.
2023-06-01 19:54:22 +02:00
Simon Bruder 2f3d5c8b6b
Remove usage of nixFlakes 2023-06-01 19:54:22 +02:00
Simon Bruder d43a2e51b5
ssh: Migrate to 23.05 format 2023-05-30 11:35:13 +02:00
Simon Bruder fa6941bfa0
Upgrade to NixOS 23.05 2023-05-30 11:30:09 +02:00
Simon Bruder 5462768f19
pipewire: Add configuration for UMC202HD
This has some problems (as explained in the comment), but this at least
makes it work for now.
2023-05-25 20:27:07 +02:00
Simon Bruder 838eedcdd9
README: Prefer UEFI in installation instructions 2023-05-25 20:08:42 +02:00
Simon Bruder dc0a64a44e
hitagi: Reinstall on single drive 2023-05-25 20:08:42 +02:00
Simon Bruder 9724413740
hitagi: Remove virtualisation 2023-05-25 20:08:42 +02:00
Simon Bruder 764834c16f
fuuko/router: Change mullvad peer 2023-05-25 20:08:04 +02:00
Simon Bruder bd32d54ebf
vueko/mail: Add alias 2023-05-21 13:42:43 +02:00
Simon Bruder 254e435dde
vdirsyncer: Add todoman 2023-05-19 17:33:14 +02:00
Simon Bruder 73d16d3f09
vueko/mail: Add alias 2023-05-18 12:43:56 +02:00
Simon Bruder 8a574b0417
mailserver: Add default mailboxes
This harmonizes the usage of directory names, and gives clients hints
about what mail should go where.
2023-05-14 20:42:15 +02:00
Simon Bruder 6d5a0533d3
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/38271ead8e7b291beb9d3b8312e66c3268796c0a' (2023-05-05)
  → 'github:nix-community/home-manager/70c8bd08e6c186e5c628a4e5af6f7ad67cd344b8' (2023-05-12)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/51559e691f1493a26f94f1df1aaf516bb507e78b' (2023-05-05)
  → 'github:nixos/nixos-hardware/fb1317948339713afa82a775a8274a91334f6182' (2023-05-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/cc45a3f8c98e1c33ca996e3504adefbf660a72d1' (2023-05-04)
  → 'github:nixos/nixpkgs/a08e061a4ee8329747d54ddf1566d34c55c895eb' (2023-05-09)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/0d8145a5d81ebf6698077b21042380a3a66a11c7' (2023-05-04)
  → 'github:nixos/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/4f308f76633f81253a12b80e7b05b80d325005b2' (2023-04-30)
  → 'github:Mic92/sops-nix/36b062a2c85a0efb37de1300c79c54602a094fab' (2023-05-08)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/db1e4eeb0f9a9028bcb920e00abbc1409dd3ef36' (2023-04-30)
  → 'github:NixOS/nixpkgs/ba0086c178d4ed60a7899f739caea553eca2e046' (2023-05-08)
2023-05-12 15:40:36 +02:00
Simon Bruder cc47b75704
okarin: Init 2023-05-06 11:39:31 +02:00
Simon Bruder 89bc09dcce
wireguard/home: Expose subnet 2023-05-06 11:39:31 +02:00
Simon Bruder 63a2a7e0ed
vueko/mail: Add alias 2023-05-05 18:44:39 +02:00
Simon Bruder 4c3e61db58
vueko/mail: Add alias 2023-05-05 18:38:08 +02:00
Simon Bruder 29438296ca
vueko/mail: Add alias 2023-05-05 17:30:50 +02:00
Simon Bruder ec98efdfd2
mail: Guard thunderbird behind GUI 2023-05-05 17:13:30 +02:00
Simon Bruder 896340bf20
anki: Remove override 2023-05-05 17:03:59 +02:00
Simon Bruder b859e6aa8c
mangohud: Remove override 2023-05-05 16:56:24 +02:00
Simon Bruder ecad7afc22
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/40ebb62101c83de81e5fd7c3cfe5cea2ed21b1ad' (2023-04-15)
  → 'github:nix-community/home-manager/38271ead8e7b291beb9d3b8312e66c3268796c0a' (2023-05-05)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/d3de8f69ca88fb6f8b09e5b598be5ac98d28ede5' (2023-04-13)
  → 'github:cachix/pre-commit-hooks.nix/fb58866e20af98779017134319b5663b8215d912' (2023-04-27)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/3006d2860a6ed5e01b0c3e7ffb730e9b293116e2' (2023-04-07)
  → 'github:nixos/nixos-hardware/51559e691f1493a26f94f1df1aaf516bb507e78b' (2023-05-05)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/fda0d99c2cbbb5c89d8855d258cb0821bd9113ad' (2023-04-14)
  → 'github:nixos/nixpkgs/cc45a3f8c98e1c33ca996e3504adefbf660a72d1' (2023-05-04)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/85b081528b937df4bfcaee80c3541b58f397df8b' (2023-04-15)
  → 'github:nixos/nixpkgs/0d8145a5d81ebf6698077b21042380a3a66a11c7' (2023-05-04)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/b7a6670a28b01cd1f62879921e36be2c69c4137a' (2023-04-16)
  → 'github:Mic92/sops-nix/4f308f76633f81253a12b80e7b05b80d325005b2' (2023-04-30)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/1040ce5f652b586da95dfd80d48a745e107b9eac' (2023-04-16)
  → 'github:NixOS/nixpkgs/db1e4eeb0f9a9028bcb920e00abbc1409dd3ef36' (2023-04-30)
2023-05-05 16:18:38 +02:00
Simon Bruder dd705bb298
Move ripgrep to system closure 2023-05-05 16:17:40 +02:00
Simon Bruder 549b1a90f3
vueko/mail: Add alias 2023-05-03 12:31:13 +02:00
Simon Bruder a8bf73a771
vueko/mail: Add alias 2023-05-03 12:31:13 +02:00
Simon Bruder b6d4aec504
vueko/mail: Add alias 2023-05-03 12:31:13 +02:00
Simon Bruder 247896a92e
vueko/mail: Add alias 2023-05-03 12:31:13 +02:00
Simon Bruder dc0255ab39
vueko/mail: Add alias 2023-05-03 12:31:13 +02:00
Simon Bruder 3312b4daa0
vueko/mail: Re-enable spammy alias
I only get spam on this address, but I might configure it as a spamtrap
later.
2023-05-03 12:31:13 +02:00
Simon Bruder fc0b5902b9
mail: Temporarily switch to Thunderbird
After much struggle with all clients known to me, I now use Thunderbird.
I might not keep using it for a longer time, so I kept the old
configuration and disabled it, so it can be reused at a later time.

Because Thunderbird doesn’t support nice declarative configuration, I
don’t see much sense in configuring the accounts declaratively, when the
settings for the accounts (which is much more) have to be configured
manually.
2023-05-03 12:31:13 +02:00
Simon Bruder 0e27e590e4
mailserver: Add sieve for spam 2023-05-03 12:31:13 +02:00
Simon Bruder 687439cff9
vueko: Expose rspamd prometheus metrics 2023-05-03 12:31:13 +02:00
Simon Bruder 0d3ec89038
mailserver: Add DKIM 2023-05-03 12:31:13 +02:00
Simon Bruder a3030f5dbd
vueko: Expose rspamd 2023-05-03 12:31:13 +02:00
Simon Bruder 0ca15315ad
mailserver: Add spam filter 2023-05-03 12:31:11 +02:00
Simon Bruder cec6a8de65
mailserver: Set up DNS recursor 2023-05-03 12:31:11 +02:00
Simon Bruder 2f39d10a8a
vueko: Migrate to new server 2023-05-03 12:31:11 +02:00
Simon Bruder 199f168c70
Add compress mount option to installation guide 2023-04-29 12:32:01 +02:00
Simon Bruder 4880116919
renge/sbruder.xyz: Add censorship infrastructure
I don’t want to do this, but I might have to. Hetzner’s ToS are very
vague in what content they don’t allow, so I think I might have to
comply with the Russian censorship authority.
2023-04-29 09:41:00 +02:00
Simon Bruder bdbcbd2a0b
vueko/mail: Add alias 2023-04-26 20:15:38 +02:00
Simon Bruder d3b8741eb8
git/delta: Don’t use blame background for code 2023-04-24 15:47:58 +02:00
Simon Bruder a54f8bd4f0
git: Ignore ccls cache 2023-04-24 15:40:05 +02:00
Simon Bruder c3847367f7
neovim: Add ccls 2023-04-21 09:10:40 +02:00
Simon Bruder 9875b7cfbf
vueko/mail: Add alias 2023-04-21 09:10:40 +02:00
Simon Bruder 73c1389435
neovim: Add LanguageTool language server 2023-04-21 09:10:40 +02:00
Simon Bruder 78c2e80868
Remove nixpkgs-2205
It isn’t used anymore.
2023-04-16 11:26:31 +02:00
Simon Bruder 5e9d9181b7
Use unstable home-manager for unstable machines 2023-04-16 11:26:09 +02:00
Simon Bruder 02a77c5cb2
resolved: Don’t cache negative results 2023-04-16 11:16:47 +02:00
Simon Bruder 2a5e20cb36
anki: Use native version
This currently still requires an override to work with wayland, though
there is a nixpkgs PR to fix this.
2023-04-16 11:14:37 +02:00
Simon Bruder dc4a2c27ec
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
  → 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
• Added input 'flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'home-manager':
    'github:nix-community/home-manager/9154cd519a8942728038819682d6b3ff33f321bb' (2023-03-17)
  → 'github:nix-community/home-manager/f9edbedaf015013eb35f8caacbe0c9666bbc16af' (2023-04-10)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/32b1dbedfd77892a6e375737ef04d8efba634e9e' (2023-03-16)
  → 'github:cachix/pre-commit-hooks.nix/d3de8f69ca88fb6f8b09e5b598be5ac98d28ede5' (2023-04-13)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/648021dcb2b65498eed3ea3a7339cdfc3bea4d82' (2023-03-23)
  → 'github:nixos/nixos-hardware/3006d2860a6ed5e01b0c3e7ffb730e9b293116e2' (2023-04-07)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9ef6e7727f4c31507627815d4f8679c5841efb00' (2023-03-22)
  → 'github:nixos/nixpkgs/fda0d99c2cbbb5c89d8855d258cb0821bd9113ad' (2023-04-14)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e' (2023-03-21)
  → 'github:nixos/nixpkgs/85b081528b937df4bfcaee80c3541b58f397df8b' (2023-04-15)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/d8827a8368c307fbc6ed594c9a31d619e7360bed' (2023-03-21)
  → 'github:Mic92/sops-nix/b7a6670a28b01cd1f62879921e36be2c69c4137a' (2023-04-16)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/c3912035d00ef755ab19394488b41feab95d2e40' (2023-03-18)
  → 'github:NixOS/nixpkgs/1040ce5f652b586da95dfd80d48a745e107b9eac' (2023-04-16)
2023-04-16 09:55:19 +02:00
Simon Bruder 2700ee3f50
Revert "Allow access to other machines’ configuration"
This reverts commit ea232b1f58.

This breaks the unlock script.
2023-04-15 18:10:04 +02:00
Simon Bruder a9e9032ab3
Revert "wireguard/home: Add basic overview page"
This reverts commit 642d97cb52.
2023-04-15 18:09:52 +02:00
Simon Bruder 52dab514ca
fuuko: Use additional NIC instead of VLANs 2023-04-15 18:08:46 +02:00
Simon Bruder 62b1b6a37e
vueko/mail: Remove alias 2023-04-15 17:23:18 +02:00
Simon Bruder c2beb57f21
vueko/mail: Add alias 2023-04-11 12:08:00 +02:00
Simon Bruder 1a78049a7a
renge: Use networkd 2023-04-11 11:44:59 +02:00
Simon Bruder 91e739c91b
Fix resolving local names with resolved 2023-04-11 11:33:17 +02:00
Simon Bruder f05ee27364
tools: Add tcpdump
I don’t know I survived without it.
2023-04-09 18:23:29 +02:00
Simon Bruder 9c5da77efc
fuuko: Note router/AP in readme 2023-04-08 18:45:14 +02:00
Simon Bruder a8ace37aa2
mayushii: Switch to MediaTek wireless adapter
Whenever possible, I’ll try to avoid Realtek in the future.
2023-04-08 18:09:08 +02:00
Simon Bruder 8e70f1c790
neovim: Add java language server 2023-04-07 23:28:31 +02:00
Simon Bruder afc328b5ed
git: Use uni email for specific directories 2023-04-07 23:28:16 +02:00
Simon Bruder d0ab2e1d47
Use better fallback resolvers for resolved 2023-04-07 14:36:01 +02:00
Simon Bruder 4d93272cb0
wireguard/home: Switch to systemd-networkd 2023-04-07 14:14:31 +02:00
Simon Bruder 642d97cb52
wireguard/home: Add basic overview page
It is very basic and not pretty, but it is a base that can be extended.
2023-04-07 13:47:40 +02:00
Simon Bruder ea232b1f58
Allow access to other machines’ configuration
This requires removing the filter for other machines. This was
implemented to avoid copying secrets to other machines. I never deployed
this configuration to a system that is not fully encrypted and the
“secrets” are just things I do not want publicly available, not
credentials.
2023-04-07 13:45:01 +02:00
Simon Bruder 1498c3fab6
vueko/mail: Add alias 2023-04-07 13:40:55 +02:00
Simon Bruder 5cd4845dbf
fuuko/router: Add wireless AP
It is anything but great, though I will try to find a better solution
for this.
2023-04-05 10:11:39 +02:00
Simon Bruder 7c0ccbbd6a
fuuko/router: Use bridge for lan 2023-04-05 10:11:39 +02:00
Simon Bruder 67dabb0de5
fuuko: Note that remote unlocking is broken 2023-04-02 12:16:00 +02:00
Simon Bruder 68cc1d32d4
fuuko/router: Add static record for switch 2023-04-02 12:00:19 +02:00
Simon Bruder 444aa962b5
fuuko: Add router service
This now mostly replaces ayu, which has been sitting between upstream
and the switch the last 6 months.

It now also configures routing over Mullvad, which also finally enables
IPv6 (I don’t understand how people get away with not providing it
natively in 2023).

Once I get a WLAN card, it will also host its own access point, which
currently still relies on ayu as “dumb AP” (as OpenWRT calls it).
2023-04-02 01:14:01 +02:00
Simon Bruder a6af0f92b4
fuuko: Note GPU change in README 2023-04-02 00:17:23 +02:00
Simon Bruder 8984961768
vueko/mail: Add alias 2023-03-26 18:12:59 +02:00
Simon Bruder 1eb75bde58
vueko/mail: Add alias 2023-03-26 18:12:46 +02:00
Simon Bruder 2dd93095a3
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13)
  → 'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
• Updated input 'home-manager':
    'github:nix-community/home-manager/b0be47978de5cfd729a79c3f57ace4c86364ff45' (2023-03-08)
  → 'github:nix-community/home-manager/9154cd519a8942728038819682d6b3ff33f321bb' (2023-03-17)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/1a20b9708962096ec2481eeb2ddca29ed747770a' (2023-03-09)
  → 'github:cachix/pre-commit-hooks.nix/32b1dbedfd77892a6e375737ef04d8efba634e9e' (2023-03-16)
• Updated input 'nix-pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/2f9fd351ec37f5d479556cd48be4ca340da59b8f' (2023-01-15)
  → 'github:NixOS/nixpkgs/9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8' (2023-03-15)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/6e303a505ad31a8e68a7f0d43e2170e81c16919b' (2023-03-09)
  → 'github:nixos/nixos-hardware/648021dcb2b65498eed3ea3a7339cdfc3bea4d82' (2023-03-23)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a7cc81913bb3cd1ef05ed0ece048b773e1839e51' (2023-03-07)
  → 'github:nixos/nixpkgs/9ef6e7727f4c31507627815d4f8679c5841efb00' (2023-03-22)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/c90c4025bb6e0c4eaf438128a3b2640314b1c58d' (2023-03-08)
  → 'github:nixos/nixpkgs/19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e' (2023-03-21)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/00e9e9cd46600d68dd98a392025d4894c3711b58' (2023-03-08)
  → 'github:Mic92/sops-nix/d8827a8368c307fbc6ed594c9a31d619e7360bed' (2023-03-21)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/d51554151a91cd4543a7620843cc378e3cbc767e' (2023-03-04)
  → 'github:NixOS/nixpkgs/c3912035d00ef755ab19394488b41feab95d2e40' (2023-03-18)
2023-03-24 13:15:35 +01:00
Simon Bruder 94dabbbe89
neovim: Remove vim-nix
Most of its functionalty is now provided by tree-sitter. Also, it
somehow causes errors for vimtex‽
2023-03-24 13:14:07 +01:00
Simon Bruder c622c86582
renge/sbruder.xyz: Clarify snail mail note 2023-03-23 01:40:28 +01:00
Simon Bruder 712314a300
imprint: Add fax number 2023-03-23 01:38:31 +01:00
Simon Bruder 04138292f7
vueko/mail: Add alias 2023-03-23 00:59:23 +01:00
Simon Bruder 2fc8b9cff4
hitagi: Use kernel from nixpkgs unstable
It now includes 6.2
2023-03-09 21:22:03 +01:00
Simon Bruder cb175687dc
makemkv: Use correct hardcoded paths 2023-03-09 21:22:03 +01:00
Simon Bruder 4cd4ef0e03
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/2cb27c79117a2a75ff3416c3199a2dc57af6a527' (2023-02-13)
  → 'github:nix-community/home-manager/b0be47978de5cfd729a79c3f57ace4c86364ff45' (2023-03-08)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20)
  → 'github:cachix/pre-commit-hooks.nix/1a20b9708962096ec2481eeb2ddca29ed747770a' (2023-03-09)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/d24ea777c57b69c6b143cf11d83184ef71b0dbbf' (2023-02-20)
  → 'github:nixos/nixos-hardware/6e303a505ad31a8e68a7f0d43e2170e81c16919b' (2023-03-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e19f25b587f15871d26442cfa1abe4418a815d7d' (2023-02-20)
  → 'github:nixos/nixpkgs/a7cc81913bb3cd1ef05ed0ece048b773e1839e51' (2023-03-07)
• Updated input 'nixpkgs-overlay':
    'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs%2fheads%2fmaster&rev=d907a415182e3051cb4b06da69320a347be24a78' (2023-01-22)
  → 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs%2fheads%2fmaster&rev=b095898a01dd3bf434488a18f887e718e2f5e528' (2023-03-06)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/b69883faca9542d135fa6bab7928ff1b233c167f' (2023-02-20)
  → 'github:nixos/nixpkgs/c90c4025bb6e0c4eaf438128a3b2640314b1c58d' (2023-03-08)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/2c5828439d718a6cddd9a511997d9ac7626a4aff' (2023-02-21)
  → 'github:Mic92/sops-nix/00e9e9cd46600d68dd98a392025d4894c3711b58' (2023-03-08)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/f27a4e2f6a3a23b843ca1c736e6043fb8b99acc1' (2023-02-19)
  → 'github:NixOS/nixpkgs/d51554151a91cd4543a7620843cc378e3cbc767e' (2023-03-04)
2023-03-09 21:22:00 +01:00
Simon Bruder 962213cc81
neovim: Remove tailwind 2023-03-09 21:21:13 +01:00
Simon Bruder 0a4250330a
neovim: Disable tree sitter bash
It has been broken for a long time.
2023-03-09 21:21:13 +01:00
Simon Bruder b65129018a
neovim: Fix setup_filetype
The function arguments are not what they actually should be.
2023-03-09 21:21:13 +01:00
Simon Bruder e81cbc6539
fuuko/languagetool: Init 2023-03-09 21:21:13 +01:00
Simon Bruder fec939d816
wireguard/support: Init 2023-03-09 21:21:13 +01:00
Simon Bruder 7199515e8c
renge/invidious: Disable popular page 2023-03-09 21:21:12 +01:00
Simon Bruder cc4460f98b
hitagi: Use nixpkgs unstable
This is needed for Intel Arc support (Mesa 22.3+).

This also makes changes so the nixpkgs system evaluates without
errors/warnings (caused by my configuration).
2023-02-25 10:56:10 +01:00
Simon Bruder 2b524f1438
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/b69883faca9542d135fa6bab7928ff1b233c167f' (2023-02-20)
  → 'github:nixos/nixpkgs/988cc958c57ce4350ec248d2d53087777f9e1949' (2023-02-22)
2023-02-25 10:47:18 +01:00
Simon Bruder f1b1eafe38
fuuko: Enable gigabyte_wmi sensors 2023-02-22 17:02:19 +01:00
Simon Bruder af65610fdd
fuuko: Enable udisks2 2023-02-22 17:02:18 +01:00
Simon Bruder 3c858c08d3
qutebrowser: Remove permissions for sipgate
I don’t use it anymore, because they stopped providing services to
private cusomers.
2023-02-22 17:02:18 +01:00
Simon Bruder 797fbb0d35
programs: Clean up
This removes some unused tools, changes the categorisation and moves
some packages into modules that better fit them.
2023-02-22 17:02:18 +01:00
Simon Bruder fbe5a829ea
mail/aerc: Remove stray comment 2023-02-21 23:48:49 +01:00
Simon Bruder 935c82fe9b
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0cf4274b5d06325bd16dbf879a30981bc283e58a' (2023-02-19)
  → 'github:nixos/nixpkgs/e19f25b587f15871d26442cfa1abe4418a815d7d' (2023-02-20)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/5f4e07deb7c44f27d498f8df9c5f34750acf52d2' (2023-02-18)
  → 'github:nixos/nixpkgs/b69883faca9542d135fa6bab7928ff1b233c167f' (2023-02-20)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/1da7257baa1d6801c45d9d3dedae7ce79c0e6498' (2023-02-19)
  → 'github:Mic92/sops-nix/2c5828439d718a6cddd9a511997d9ac7626a4aff' (2023-02-21)
2023-02-21 21:33:20 +01:00
Simon Bruder 21d7bf4e0a
programs: Remove taskell
I haven’t been using it and it currently is broken in unstable.
2023-02-21 21:33:20 +01:00
Simon Bruder 801b9db7a1
fuuko: Note blu-ray burner in readme
It has been in there for some time, but was not noted in the readme.
2023-02-21 21:33:20 +01:00
Simon Bruder a984f1bb04
fuuko: Move into better case 2023-02-21 21:33:20 +01:00
Simon Bruder b1975b9b1e
hitagi: Note case in readme 2023-02-21 21:11:22 +01:00
Simon Bruder b0dc7169cf
pipewire: Use helvum from unstable
The one from 22.11 does not build currently.
2023-02-20 22:35:11 +01:00
Simon Bruder d42f74a209
mayushii: Remove kernel pinning
The problems are fixed in a newer kernel version.

This theoretically is needed after
f760e2cee4, in which linuxPackages_6_0 is
no longer available.
2023-02-20 22:34:16 +01:00
Simon Bruder 371fb43cf8
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
  → 'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13)
• Updated input 'home-manager':
    'github:nix-community/home-manager/65c47ced082e3353113614f77b1bc18822dc731f' (2023-01-23)
  → 'github:nix-community/home-manager/2cb27c79117a2a75ff3416c3199a2dc57af6a527' (2023-02-13)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/ab608394886fb04b8a5df3cb0bab2598400e3634' (2023-02-06)
  → 'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/16b6928ec622fd2356a80c0a9359eb350a94227d' (2023-02-07)
  → 'github:nixos/nixos-hardware/d24ea777c57b69c6b143cf11d83184ef71b0dbbf' (2023-02-20)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/13fdd3945d8a2da5e4afe35d8a629193a9680911' (2023-02-06)
  → 'github:nixos/nixpkgs/0cf4274b5d06325bd16dbf879a30981bc283e58a' (2023-02-19)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/5a350a8f31bb7ef0c6e79aea3795a890cf7743d4' (2023-02-06)
  → 'github:nixos/nixpkgs/5f4e07deb7c44f27d498f8df9c5f34750acf52d2' (2023-02-18)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/5dc9710905bcd8d3fa4b8912a120d9a2f9fe25e5' (2023-02-07)
  → 'github:Mic92/sops-nix/1da7257baa1d6801c45d9d3dedae7ce79c0e6498' (2023-02-19)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/e32c33811815ca4a535a16faf1c83eeb4493145b' (2023-02-05)
  → 'github:NixOS/nixpkgs/f27a4e2f6a3a23b843ca1c736e6043fb8b99acc1' (2023-02-19)
2023-02-20 21:34:44 +01:00
Simon Bruder d0ad4a6286
vueko/mail: Add alias 2023-02-20 19:06:13 +01:00
Simon Bruder ddc2430377
hitagi: Update readme 2023-02-15 17:44:14 +01:00
Simon Bruder f59ba624ba
co2_exporter: Actually apply systemd sandboxing
I don’t know how that FIXME could be in there for so long.
2023-02-15 12:01:46 +01:00
Simon Bruder 42a22e89b7
initrd-ssh: Improve module documentation 2023-02-15 11:35:59 +01:00
Simon Bruder c3d7de1d49
pkgs/mumble: Use 1.5.517 (rc)
The version in nixpkgs opens all fonts (which are quite a lot) at
startup, which takes a few seconds in which no interaction is possible.
2023-02-12 12:47:42 +01:00
Simon Bruder f4efa9b1fc
hitagi: Switch to Intel Arc A770
Things are not very smooth yet. Hwmon only works with Kernel 6.2 and
only supports energy monitoring (and even that doesn’t look too good).
Fan control and temperature is not supported. To get at least usage
statistics, intel_gpu_top can be used. Mangohud in its newest unreleased
version also supports getting stats from it. However, intel_gpu_top
needs cap_perfmon, which is a pain to get working inside the double
bubblewrap sandbox for steam, therefore it is not yet available.

On the positive side, OpenCL works well and oneAPI also works with
blender-bin from nix-warez (nixpkgs doesn’t yet have blender with oneAPI
support).
2023-02-11 22:53:54 +01:00
Simon Bruder f760e2cee4
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/5668d079583a5b594cb4e0cc0e6d84f1b93da7ae' (2023-02-02)
  → 'github:cachix/pre-commit-hooks.nix/ab608394886fb04b8a5df3cb0bab2598400e3634' (2023-02-06)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/b7ac0a56029e4f9e6743b9993037a5aaafd57103' (2023-01-24)
  → 'github:nixos/nixos-hardware/16b6928ec622fd2356a80c0a9359eb350a94227d' (2023-02-07)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/f7543a7539a007e9562e4d8d24e17a4bcf369b68' (2023-02-03)
  → 'github:nixos/nixpkgs/13fdd3945d8a2da5e4afe35d8a629193a9680911' (2023-02-06)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/a100acd7bbf105915b0004427802286c37738fef' (2023-02-02)
  → 'github:nixos/nixpkgs/5a350a8f31bb7ef0c6e79aea3795a890cf7743d4' (2023-02-06)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/a81ce6c961480b3b93498507074000c589bd9d60' (2023-02-01)
  → 'github:Mic92/sops-nix/5dc9710905bcd8d3fa4b8912a120d9a2f9fe25e5' (2023-02-07)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/a3a1400571e3b9ccc270c2e8d36194cf05aab6ce' (2023-02-01)
  → 'github:NixOS/nixpkgs/e32c33811815ca4a535a16faf1c83eeb4493145b' (2023-02-05)
2023-02-11 20:52:20 +01:00
Simon Bruder cf482743a0
vueko/mail: Add alias 2023-02-11 12:58:55 +01:00
Simon Bruder 46b695886a
renge/mautrix-signal: Drop
It never really worked and currently just uses up resources.
2023-02-07 11:29:23 +01:00
Simon Bruder d3e7424562
renge/mautrix-whatsapp: Disable logging to file
It logs *all* messages and the level does not influence this. That is
not desirable, so it should be disabled.
2023-02-07 11:26:42 +01:00
Simon Bruder 011d8a8e0c
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/89a8ba0b5b43b3350ff2e3ef37b66736b2ef8706' (2022-12-28)
  → 'github:nix-community/home-manager/65c47ced082e3353113614f77b1bc18822dc731f' (2023-01-23)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/496e4505c2ddf5f205242eae8064d7d89cd976c0' (2023-01-13)
  → 'github:cachix/pre-commit-hooks.nix/5668d079583a5b594cb4e0cc0e6d84f1b93da7ae' (2023-02-02)
• Updated input 'nix-pre-commit-hooks/flake-compat':
    'github:edolstra/flake-compat/009399224d5e398d03b22badca40a37ac85412a1' (2022-11-17)
  → 'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
• Updated input 'nix-pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/d513b448cc2a6da2c8803e3c197c9fc7e67b19e3' (2022-12-17)
  → 'github:NixOS/nixpkgs/2f9fd351ec37f5d479556cd48be4ca340da59b8f' (2023-01-15)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/7bd6b87b3712e68007823e8dd5c37ee9b114fee3' (2023-01-15)
  → 'github:nixos/nixos-hardware/b7ac0a56029e4f9e6743b9993037a5aaafd57103' (2023-01-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a83ed85c14fcf242653df6f4b0974b7e1c73c6c6' (2023-01-14)
  → 'github:nixos/nixpkgs/f7543a7539a007e9562e4d8d24e17a4bcf369b68' (2023-02-03)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/befc83905c965adfd33e5cae49acb0351f6e0404' (2023-01-13)
  → 'github:nixos/nixpkgs/a100acd7bbf105915b0004427802286c37738fef' (2023-02-02)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/e18eefd2b133a58309475298052c341c08470717' (2023-01-15)
  → 'github:Mic92/sops-nix/a81ce6c961480b3b93498507074000c589bd9d60' (2023-02-01)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/7c65528c3f8462b902e09d1ccca23bb9034665c2' (2023-01-15)
  → 'github:NixOS/nixpkgs/a3a1400571e3b9ccc270c2e8d36194cf05aab6ce' (2023-02-01)
2023-02-04 10:16:45 +01:00
Simon Bruder a06c781a25
vueko/mail: Add alias 2023-01-29 15:25:40 +01:00
Simon Bruder 8f109831e2
mpd: Save lyrics in music directory
That ensures they are synced between devices.
2023-01-28 22:10:04 +01:00
Simon Bruder 00e37c8104
programs: Add linphone
It’s not great, but I couldn’t find any other sip softphone that even
just works.
2023-01-28 22:01:26 +01:00
Simon Bruder f3f651cdc3
vueko/mail: Add alias 2023-01-26 10:06:21 +01:00
Simon Bruder f35118854e
vueko/mail: Add alias 2023-01-26 00:16:37 +01:00
Simon Bruder 09ffba6f9b
vueko/mail: Add alias 2023-01-25 23:08:09 +01:00
Simon Bruder 8b760909f8
hitagi: Add manual fan control for case fans
The firmware does not allow using multiple sensors (CPU and GPU) for one
fan output.
2023-01-22 16:35:02 +01:00
Simon Bruder 049dfd4be8
fancontrol: Init 2023-01-22 16:34:52 +01:00
Simon Bruder cccdd48ff9
programs: Add zbar 2023-01-21 21:29:58 +01:00
Simon Bruder 9234a2bdda
programs: Add ripgrep-all 2023-01-21 21:29:34 +01:00
Simon Bruder 9c88e64138
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/a4548c09eac4afb592ab2614f4a150120b29584c' (2023-01-05)
  → 'github:cachix/pre-commit-hooks.nix/496e4505c2ddf5f205242eae8064d7d89cd976c0' (2023-01-13)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/ca29e25c39b8e117d4d76a81f1e229824a9b3a26' (2023-01-02)
  → 'github:nixos/nixos-hardware/7bd6b87b3712e68007823e8dd5c37ee9b114fee3' (2023-01-15)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2dea8991d89b9f1e78d874945f78ca15f6954289' (2023-01-06)
  → 'github:nixos/nixpkgs/a83ed85c14fcf242653df6f4b0974b7e1c73c6c6' (2023-01-14)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/a518c77148585023ff56022f09c4b2c418a51ef5' (2023-01-05)
  → 'github:nixos/nixpkgs/befc83905c965adfd33e5cae49acb0351f6e0404' (2023-01-13)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/2253120d2a6147e57bafb5c689e086221df8032f' (2023-01-08)
  → 'github:Mic92/sops-nix/e18eefd2b133a58309475298052c341c08470717' (2023-01-15)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/9f11a2df77cb945c115ae2a65f53f38121597d73' (2023-01-07)
  → 'github:NixOS/nixpkgs/7c65528c3f8462b902e09d1ccca23bb9034665c2' (2023-01-15)
2023-01-15 18:48:02 +01:00
Simon Bruder 58ab5ad884
mayushii: Work around broken DP Alt Mode hotplug
This only downgrades the kernel, so that is not a long term option, but
at least makes it possible to not reboot twice a day or so.
2023-01-10 17:49:16 +01:00
Simon Bruder c2c8e70f1e
pkgs/osu-lazer: Rebase patches 2023-01-10 17:49:16 +01:00
Simon Bruder 3a5236fb76
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/0e8125916b420e41bf0d23a0aa33fadd0328beb3' (2022-12-05)
  → 'github:nix-community/home-manager/89a8ba0b5b43b3350ff2e3ef37b66736b2ef8706' (2022-12-28)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/67d98f02443b9928bc77f1267741dcfdd3d7b65c' (2022-12-26)
  → 'github:cachix/pre-commit-hooks.nix/a4548c09eac4afb592ab2614f4a150120b29584c' (2023-01-05)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/9577ab1eaf01a738b015a7a7ab2a4616e158b6cd' (2022-12-21)
  → 'github:nixos/nixos-hardware/ca29e25c39b8e117d4d76a81f1e229824a9b3a26' (2023-01-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/dac57a4eccf1442e8bf4030df6fcbb55883cb682' (2022-12-24)
  → 'github:nixos/nixpkgs/2dea8991d89b9f1e78d874945f78ca15f6954289' (2023-01-06)
• Updated input 'nixpkgs-2205':
    'github:nixos/nixpkgs/79e63f30ed2ff36cd0d9c2f7dadae5925c1a65db' (2022-12-23)
  → 'github:nixos/nixpkgs/0874168639713f547c05947c76124f78441ea46c' (2023-01-01)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/fad51abd42ca17a60fc1d4cb9382e2d79ae31836' (2022-12-25)
  → 'github:nixos/nixpkgs/a518c77148585023ff56022f09c4b2c418a51ef5' (2023-01-05)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/855b8d51fc3991bd817978f0f093aa6ae0fae738' (2022-12-25)
  → 'github:Mic92/sops-nix/2253120d2a6147e57bafb5c689e086221df8032f' (2023-01-08)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/939c05a176b8485971463c18c44f48e56a7801c9' (2022-12-24)
  → 'github:NixOS/nixpkgs/9f11a2df77cb945c115ae2a65f53f38121597d73' (2023-01-07)
2023-01-10 17:49:16 +01:00
Simon Bruder d1a29ef2dd
renge/synapse: Fix synapse log config
The parameter name changed, which lead to synapse ignoring the wrong
config option.
2023-01-10 17:49:16 +01:00
Simon Bruder 4d99a4a232
hitagi: Disable corectrl
I renewed the thermal paste on its GPU and replaced the stock fan with
two Noctua NF-A9 PWM that are controlled via the mainboard’s fan headers
(connected via a Y splitter), so corectrl is no longer necessary.
2023-01-01 03:01:04 +01:00
Simon Bruder 4733d66172
vueko/mail: Add alias 2022-12-31 00:32:32 +01:00
Simon Bruder 43168701cb
vueko/mail: Add alias 2022-12-30 19:55:05 +01:00
Simon Bruder 03492fccad
Migrate sayuri to hitagi 2022-12-30 19:52:58 +01:00
Simon Bruder 25a7383a8b
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/200790e9c77064c53eaf95805b013d96615ecc27' (2022-12-19)
  → 'github:cachix/pre-commit-hooks.nix/67d98f02443b9928bc77f1267741dcfdd3d7b65c' (2022-12-26)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/25010a042c23695ae457a97aad60e9b1d49f2ecc' (2022-12-19)
  → 'github:nixos/nixos-hardware/9577ab1eaf01a738b015a7a7ab2a4616e158b6cd' (2022-12-21)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0938d73bb143f4ae037143572f11f4338c7b2d1c' (2022-12-17)
  → 'github:nixos/nixpkgs/dac57a4eccf1442e8bf4030df6fcbb55883cb682' (2022-12-24)
• Updated input 'nixpkgs-2205':
    'github:nixos/nixpkgs/bfb04388d42ff49e5e81da9f0bfcb48a6367273d' (2022-12-19)
  → 'github:nixos/nixpkgs/79e63f30ed2ff36cd0d9c2f7dadae5925c1a65db' (2022-12-23)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/04f574a1c0fde90b51bf68198e2297ca4e7cccf4' (2022-12-18)
  → 'github:nixos/nixpkgs/fad51abd42ca17a60fc1d4cb9382e2d79ae31836' (2022-12-25)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/32840f16ffa0856cdf9503a8658f2dd42bf70342' (2022-12-19)
  → 'github:Mic92/sops-nix/855b8d51fc3991bd817978f0f093aa6ae0fae738' (2022-12-25)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/87b58217c9a05edcf7630b9be32570f889217aef' (2022-12-19)
  → 'github:NixOS/nixpkgs/939c05a176b8485971463c18c44f48e56a7801c9' (2022-12-24)
2022-12-27 14:40:14 +01:00
Simon Bruder a9619201bb
swaync: Apply more fixes to restore old style 2022-12-27 14:38:46 +01:00
Simon Bruder c419778e67
mayushii: Set charge start threshold to 75
The previous one of 40 did no longer meet my use case.
2022-12-23 18:42:06 +01:00
Simon Bruder e1e1ff06e0
gui: Enable udisks2
It no longer is implicitly enabled, so it has to be enabled explicitly.
2022-12-22 22:52:24 +01:00
Simon Bruder e89cc99a11
swaync: Overhaul style
This replaces the default style sheet that gets overridden with a custom
one from scratch.

One thing that is still not ideal is that notifications with action
buttons have a scoll area for the action buttons, which shouldn’t be the
case.
2022-12-21 19:14:06 +01:00
Simon Bruder 40de497a6a
waybar: Implement stopgap measure for waybar mpd 2022-12-21 19:14:06 +01:00
Simon Bruder 632b712ee7
waybar: Make font display consistent
After the update to the new Iosevka version, the font was smaller
horizontally on non-HiDPI screens. Increasing the font size by .5px
ensures a display that reproduces the behaviour of the old Iosevka
version on all screens I tested.
2022-12-21 19:14:06 +01:00
Simon Bruder 0332206244
fonts/iosevka: Adjust style to match Nerd fonts 2.1 2022-12-21 19:14:06 +01:00
Simon Bruder f609567117
qutebrowser: Bump fake firefox version 2022-12-21 11:21:23 +01:00
Simon Bruder 3abcb17c95
qutebrowser: Use qt6 version 2022-12-21 11:21:13 +01:00
Simon Bruder 9b0884d2f9
qutebrowser: Remove unused userstyle 2022-12-21 11:20:45 +01:00
Simon Bruder 3f639f7e8e
qutebrowser: Only enable when gui is enabled 2022-12-21 11:20:04 +01:00
Simon Bruder e2dd1633bb
flake.lock: Update
Flake lock file updates:

• Updated input 'bang-evaluator':
    'git+https://git.sbruder.de/simon/bangs?ref=master&rev=7fc3d5019c907566abbad8f84ba9555a5786bd01' (2021-08-01)
  → 'git+https://git.sbruder.de/simon/bangs?ref=refs%2fheads%2fmaster&rev=7fc3d5019c907566abbad8f84ba9555a5786bd01' (2021-08-01)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/471c7f1ecace25e39099206431300322632d25c4' (2022-11-30)
  → 'github:cachix/pre-commit-hooks.nix/200790e9c77064c53eaf95805b013d96615ecc27' (2022-12-19)
• Updated input 'nix-pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a' (2022-11-20)
  → 'github:NixOS/nixpkgs/d513b448cc2a6da2c8803e3c197c9fc7e67b19e3' (2022-12-17)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/7883883d135ce5b7eae5dce4bfa12262b85c1c46' (2022-11-28)
  → 'github:nixos/nixos-hardware/25010a042c23695ae457a97aad60e9b1d49f2ecc' (2022-12-19)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/7a6a010c3a1d00f8470a5ca888f2f927f1860a19' (2022-12-08)
  → 'github:nixos/nixpkgs/0938d73bb143f4ae037143572f11f4338c7b2d1c' (2022-12-17)
• Updated input 'nixpkgs-2205':
    'github:nixos/nixpkgs/99ec06122f481588abafd91f2710d80a5320efe6' (2022-12-08)
  → 'github:nixos/nixpkgs/bfb04388d42ff49e5e81da9f0bfcb48a6367273d' (2022-12-19)
• Updated input 'nixpkgs-overlay':
    'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=ff4ce742bffb71fc983cb13a3634ec0d243d869c' (2022-11-04)
  → 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs%2fheads%2fmaster&rev=ff4ce742bffb71fc983cb13a3634ec0d243d869c' (2022-11-04)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/e76c78d20685a043d23f5f9e0ccd2203997f1fb1' (2022-11-30)
  → 'github:nixos/nixpkgs/04f574a1c0fde90b51bf68198e2297ca4e7cccf4' (2022-12-18)
• Updated input 'password-hash-self-service':
    'git+https://git.sbruder.de/simon/password-hash-self-service?ref=master&rev=1b3435ec8615300fd81e96045ca7596e0f5a23f0' (2022-07-16)
  → 'git+https://git.sbruder.de/simon/password-hash-self-service?ref=refs%2fheads%2fmaster&rev=1b3435ec8615300fd81e96045ca7596e0f5a23f0' (2022-07-16)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/8295b8139ef7baadeb90c5cad7a40c4c9297ebf7' (2022-11-29)
  → 'github:Mic92/sops-nix/32840f16ffa0856cdf9503a8658f2dd42bf70342' (2022-12-19)
• Removed input 'sops-nix/nixpkgs-22_05'
• Added input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/87b58217c9a05edcf7630b9be32570f889217aef' (2022-12-19)
2022-12-21 10:40:27 +01:00
Simon Bruder 5316f2d5e7
vueko/mail: Add alias 2022-12-17 11:29:36 +01:00
Simon Bruder 5734279167
vueko/mail: Add alias 2022-12-17 11:24:54 +01:00
Simon Bruder 5584dd3a91
vueko/mail: Add alias 2022-12-15 16:05:25 +01:00
Simon Bruder 54c5cfb240
restic/system: Enable compression
Fixes #66.
2022-12-13 09:59:31 +01:00
Simon Bruder 73c6fe8195
vueko/mail: Add alias 2022-12-12 22:46:37 +01:00
Simon Bruder 3cfb7b1d32
gui: Fix polkit syntax error
Somehow the ECMAscript compatibility was downgraded.
2022-12-11 16:22:23 +01:00
Simon Bruder 5d98924ea1
neovim: Adapt to 22.11 2022-12-10 17:16:34 +01:00
Simon Bruder b6a903551e
fonts: Use custom Iosevka variant
I don’t like the new defaults.
2022-12-10 16:09:10 +01:00
Simon Bruder 91ec565702
nix: Use 22.11 options 2022-12-10 16:08:13 +01:00
Simon Bruder ad89732961
sway: Make everything work again
This sadly has to downgrade some programs, if I find more time, I will
look more into this and try to make it work with the latest versions.
2022-12-10 16:08:03 +01:00
Simon Bruder 47c5bd5338
mail/aerc: Use home-manager module (mostly)
This does not use the home-manager provided account module, because it
does not support notmuch, LOGIN authentication and special characters in
user names.
2022-12-10 16:03:16 +01:00
Simon Bruder 71308a9284
gui: Replace deprecated gtkUsePortal 2022-12-10 15:17:12 +01:00
Simon Bruder 81b3d4590a
renge/hedgedoc: Migrate to 22.11 options 2022-12-10 15:15:58 +01:00
Simon Bruder aa7cf807f2
renge/grafana: Migrate to 22.11 options 2022-12-10 15:15:43 +01:00
Simon Bruder 60577ad4ea
renge/gitea: Migrate to 22.11 options 2022-12-10 15:15:11 +01:00
Simon Bruder a445953d46
Adapt locale configuration to new NixOS defaults 2022-12-10 14:51:07 +01:00
Simon Bruder f81a86235d
ausweisapp: Use upstream module 2022-12-10 14:50:41 +01:00
Simon Bruder 4f184a142c
pkgs: Drop memtest86plus
The version in nixpkgs now is newer.
2022-12-10 14:49:55 +01:00
Simon Bruder 8c317b76bf
Drop temporary unstable packages 2022-12-10 14:49:16 +01:00
Simon Bruder f32e2a5842
zsh/starship: Remove custom patch
Upstream added a patch that should avoid situations in which my patch
was needed.
2022-12-10 14:48:04 +01:00
Simon Bruder 81e22d4eba
Upgrade to NixOS 22.11 2022-12-10 14:45:55 +01:00
Simon Bruder 3e09f07c77
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/0ee9516a0ce5db8529b967ccabb10d79d2bf5483' (2022-11-22)
  → 'github:cachix/pre-commit-hooks.nix/471c7f1ecace25e39099206431300322632d25c4' (2022-11-30)
• Updated input 'nix-pre-commit-hooks/gitignore/nixpkgs':
    'github:NixOS/nixpkgs/2b71ddd869ad592510553d09fe89c9709fa26b2b' (2021-09-28)
  → follows 'nix-pre-commit-hooks/nixpkgs'
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/0099253ad0b5283f06ffe31cf010af3f9ad7837d' (2022-11-22)
  → 'github:nixos/nixos-hardware/7883883d135ce5b7eae5dce4bfa12262b85c1c46' (2022-11-28)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a' (2022-11-20)
  → 'github:nixos/nixpkgs/97e88a936cf18bc8a2c6cf65e4ec8d423e4cb743' (2022-12-01)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/af50806f7c6ab40df3e6b239099e8f8385f6c78b' (2022-11-21)
  → 'github:nixos/nixpkgs/e76c78d20685a043d23f5f9e0ccd2203997f1fb1' (2022-11-30)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/f72e050c3ef148b1131a0d2df55385c045e4166b' (2022-11-20)
  → 'github:Mic92/sops-nix/8295b8139ef7baadeb90c5cad7a40c4c9297ebf7' (2022-11-29)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/b68a6a27adb452879ab66c0eaac0c133e32823b2' (2022-11-20)
  → 'github:NixOS/nixpkgs/6649e08812f579581bfb4cada3ba01e30485c891' (2022-11-27)
2022-12-02 18:57:32 +01:00
Simon Bruder c61023b863
Add tools for using digitizer 2022-12-02 18:54:51 +01:00
Simon Bruder 64c3ccad2a
neovim: Add ctags to environment
It is required for the tagbar.
2022-11-22 22:32:21 +01:00
Simon Bruder 731653c72d
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/ebcbfe09d2bd6d15f68de3a0ebb1e4dcb5cd324b' (2022-11-09)
  → 'github:cachix/pre-commit-hooks.nix/0ee9516a0ce5db8529b967ccabb10d79d2bf5483' (2022-11-22)
• Added input 'nix-pre-commit-hooks/flake-compat':
    'github:edolstra/flake-compat/009399224d5e398d03b22badca40a37ac85412a1' (2022-11-17)
• Added input 'nix-pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/a20de23b925fd8264fd7fad6454652e142fd7f73' (2022-08-14)
• Added input 'nix-pre-commit-hooks/gitignore/nixpkgs':
    'github:NixOS/nixpkgs/2b71ddd869ad592510553d09fe89c9709fa26b2b' (2021-09-28)
• Added input 'nix-pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a' (2022-11-20)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/11a42a580de22355934ffd9235b81b64004a2e98' (2022-11-10)
  → 'github:nixos/nixos-hardware/0099253ad0b5283f06ffe31cf010af3f9ad7837d' (2022-11-22)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/fa842715565307b7e05cdb187b08c05f16ed08f1' (2022-11-09)
  → 'github:nixos/nixpkgs/cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a' (2022-11-20)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/872fceeed60ae6b7766cc0a4cd5bf5901b9098ec' (2022-11-09)
  → 'github:nixos/nixpkgs/af50806f7c6ab40df3e6b239099e8f8385f6c78b' (2022-11-21)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/4407353739ad74a3d9744cf2988ab10f3b83e288' (2022-11-06)
  → 'github:Mic92/sops-nix/f72e050c3ef148b1131a0d2df55385c045e4166b' (2022-11-20)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/6440d13df2327d2db13d3b17e419784020b71d22' (2022-10-30)
  → 'github:NixOS/nixpkgs/b68a6a27adb452879ab66c0eaac0c133e32823b2' (2022-11-20)
2022-11-22 21:59:15 +01:00
Simon Bruder 9d4a7a5a00
renge/mautrix-signal: Use unstable package
The stable package is broken.
2022-11-12 00:09:22 +01:00
Simon Bruder 4fa4bf2d67
vueko/mail: Add alias 2022-11-12 00:09:07 +01:00
Simon Bruder 802487968d
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
  → 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/b81e128fc053ab3159d7b464d9b7dedc9d6a6891' (2022-10-17)
  → 'github:nix-community/home-manager/6639e3a837fc5deb6f99554072789724997bc8e5' (2022-11-08)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/1b436f36e2812c589e6d830e3223059ea9661100' (2022-10-24)
  → 'github:cachix/pre-commit-hooks.nix/ebcbfe09d2bd6d15f68de3a0ebb1e4dcb5cd324b' (2022-11-09)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/419dcc0ec767803182ed01a326f134230578bf60' (2022-10-27)
  → 'github:nixos/nixos-hardware/11a42a580de22355934ffd9235b81b64004a2e98' (2022-11-10)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e6e675cafe6a1d1b0eeb9ac3fe046091244b714e' (2022-10-26)
  → 'github:nixos/nixpkgs/fa842715565307b7e05cdb187b08c05f16ed08f1' (2022-11-09)
• Updated input 'nixpkgs-overlay':
    'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=72d323ca0410a08abc2d981b812c5cd0fd3338bf' (2021-12-01)
  → 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=master&rev=ff4ce742bffb71fc983cb13a3634ec0d243d869c' (2022-11-04)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/1b5f9512a265f0c9687dbff47893180f777f4809' (2022-10-23)
  → 'github:Mic92/sops-nix/4407353739ad74a3d9744cf2988ab10f3b83e288' (2022-11-06)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/f9115594149ebcb409a42e303bec4956814a8419' (2022-10-23)
  → 'github:NixOS/nixpkgs/6440d13df2327d2db13d3b17e419784020b71d22' (2022-10-30)
2022-11-11 08:59:09 +01:00
Simon Bruder fd3bb4284b
Add prometheus co2 exporter 2022-11-03 16:40:05 +01:00
Simon Bruder c906e208e2
neovim: Add conceal for stmaryrd symbols 2022-11-02 00:26:16 +01:00
Simon Bruder dd6e8078dd
vueko/mail: Add alias 2022-10-31 10:30:55 +01:00
Simon Bruder d4ae95549e
vueko/mail: Add alias 2022-10-29 00:26:13 +02:00
Simon Bruder 71dc7a66e9
vueko/mail: Add alias 2022-10-29 00:14:33 +02:00
Simon Bruder 9e09eb3e5a
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e6c8efee1c108bb27522b9fd25b1cd0eb3288681' (2022-10-19)
  → 'github:cachix/pre-commit-hooks.nix/1b436f36e2812c589e6d830e3223059ea9661100' (2022-10-24)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/0e6593630071440eb89cd97a52921497482b22c6' (2022-10-17)
  → 'github:nixos/nixos-hardware/419dcc0ec767803182ed01a326f134230578bf60' (2022-10-27)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ac20a8605b0f79be2d65d995cd347251cd5b984b' (2022-10-21)
  → 'github:nixos/nixpkgs/e6e675cafe6a1d1b0eeb9ac3fe046091244b714e' (2022-10-26)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/301aada7a64812853f2e2634a530ef5d34505048' (2022-10-21)
  → 'github:nixos/nixpkgs/f994293d1eb8812f032e8919e10a594567cf6ef7' (2022-10-25)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/8e470d4eac115aa793437e52e84e7f9abdce236b' (2022-10-18)
  → 'github:Mic92/sops-nix/1b5f9512a265f0c9687dbff47893180f777f4809' (2022-10-23)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/945a85cb7ee31f5f8c49432d77b610b777662d4f' (2022-10-15)
  → 'github:NixOS/nixpkgs/f9115594149ebcb409a42e303bec4956814a8419' (2022-10-23)
2022-10-27 15:57:54 +02:00
Simon Bruder df1aa459be
vdirsyncer: Use displayname
I finally discovered that after running `vdirsyncer metasync`, the
displayname cane be used.
2022-10-24 10:37:05 +02:00
Simon Bruder d734d3b239
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/4a3d01fb53f52ac83194081272795aa4612c2381' (2022-06-25)
  → 'github:nix-community/home-manager/b81e128fc053ab3159d7b464d9b7dedc9d6a6891' (2022-10-17)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/2e4a708918e14fdbd534cc94aaa9470cd19b2464' (2022-10-02)
  → 'github:cachix/pre-commit-hooks.nix/e6c8efee1c108bb27522b9fd25b1cd0eb3288681' (2022-10-19)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/47fd70289491c1f0c0d9a1f44fb5a9e2801120c9' (2022-10-06)
  → 'github:nixos/nixos-hardware/0e6593630071440eb89cd97a52921497482b22c6' (2022-10-17)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ed9b904c5eba055a6d6f5c1ccb89ba8f0a056dc6' (2022-10-06)
  → 'github:nixos/nixpkgs/ac20a8605b0f79be2d65d995cd347251cd5b984b' (2022-10-21)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/37bd39839acf99c5b738319f42478296f827f274' (2022-10-05)
  → 'github:nixos/nixpkgs/301aada7a64812853f2e2634a530ef5d34505048' (2022-10-21)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/912f9ff41fd9353dec1f783170793699789fe9aa' (2022-09-26)
  → 'github:Mic92/sops-nix/8e470d4eac115aa793437e52e84e7f9abdce236b' (2022-10-18)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/00f877f4927b6f7d7b75731b5a1e2ae7324eaf14' (2022-09-26)
  → 'github:NixOS/nixpkgs/945a85cb7ee31f5f8c49432d77b610b777662d4f' (2022-10-15)
2022-10-22 18:16:21 +02:00
Simon Bruder 1e04d339ba
vueko/mail: Add alias 2022-10-20 12:53:20 +02:00
Simon Bruder fd173d065c
vueko/mail: Add alias 2022-10-20 12:53:09 +02:00
Simon Bruder 18dab0ab94
renge/mautrix-signal: Allow file transfer
mautrix-whatsapp places a file in /tmp/ for file transfers. However,
signald is running with PrivateTemp=true. This uses systemd’s feature
that allows a unit to share a namespace with another one and places
mautrix-signal in the same namespace as signald, so they share their
private tmp directory.
2022-10-16 15:52:08 +02:00
Simon Bruder f51bc637da
wireguard/home: Hardcode server’s IPv4 address
Some devices (like fuuko) sadly do not have IPv6 connectivity which
makes their connection fail.
2022-10-15 23:28:33 +02:00
Simon Bruder aaaf7d3ccc
Move Blu-ray drive from sayuri to fuuko
This removes makemkv-specific configuration from sayuri and adds it to
fuuko. It also changes the makemkv sandbox to now hardcode fuuko’s
configuration.
2022-10-15 23:27:12 +02:00
Simon Bruder e4c8012f57
vueko/restic: Increase body size
Some backups have been failing recently.
2022-10-14 23:48:08 +02:00
Simon Bruder f527e08fdf
fuuko/qbittorrent: Change wireguard config 2022-10-14 23:47:35 +02:00
Simon Bruder 19668751b8
renge/mautrix-signal: Init 2022-10-14 08:03:03 +02:00
Simon Bruder 3eaeb5daeb
renge/grocy: Drop 2022-10-07 22:52:04 +02:00
Simon Bruder 0e8b696bb1
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/60cad1a326df17a8c6cf2bb23436609fdd83024e' (2022-09-13)
  → 'github:cachix/pre-commit-hooks.nix/2e4a708918e14fdbd534cc94aaa9470cd19b2464' (2022-10-02)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/12f905b731494bc59010f05a7467df8abdcf8d63' (2022-09-29)
  → 'github:nixos/nixos-hardware/47fd70289491c1f0c0d9a1f44fb5a9e2801120c9' (2022-10-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0c97cb06a5b8f1a266fea43b7335de562ea16d3b' (2022-09-28)
  → 'github:nixos/nixpkgs/ed9b904c5eba055a6d6f5c1ccb89ba8f0a056dc6' (2022-10-06)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/7e52b35fe98481a279d89f9c145f8076d049d2b9' (2022-09-27)
  → 'github:nixos/nixpkgs/37bd39839acf99c5b738319f42478296f827f274' (2022-10-05)
2022-10-07 22:32:49 +02:00
Simon Bruder c0b743a65b
fuuko: Configure to work on-demand
This is so I can only enable it when I don’t mind it generating tons of
noise.
2022-10-07 22:20:29 +02:00
Simon Bruder aa279c8bea
Update address 2022-10-03 20:20:28 +02:00
Simon Bruder c8bdbbda8b
fuuko: Unlock over v4 again
Some people think that not offering IPv6 in 2022 is acceptable.
2022-10-03 20:20:05 +02:00
Simon Bruder 5ea2697c50
unlock: Use system-set resolvers 2022-10-03 20:19:42 +02:00
Simon Bruder e7d90300f3
vueko/mail: Add alias 2022-10-03 20:18:53 +02:00
Simon Bruder 293312b447
mullvad: Add fzf helper 2022-09-30 12:22:28 +02:00
Simon Bruder ecdbe9b936
mullvad: Update relays
This also changes the framework to handle different relay names.
2022-09-30 12:22:07 +02:00
Simon Bruder 41da6fe13f
fuuko/fritzbox-exporter: Drop 2022-09-30 11:36:14 +02:00
Simon Bruder 2a5c666631
fuuko/wordclock-dimmer: Migrate to renge 2022-09-30 11:33:20 +02:00
Simon Bruder 286c5237e9
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/a0df6cd6e199df4a78c833c273781ea92fa62cfb' (2022-09-15)
  → 'github:nixos/nixos-hardware/12f905b731494bc59010f05a7467df8abdcf8d63' (2022-09-29)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9bdbbaa634aa666eb6a27096bdcb991c59181244' (2022-09-21)
  → 'github:nixos/nixpkgs/0c97cb06a5b8f1a266fea43b7335de562ea16d3b' (2022-09-28)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/d6490a0bd9dfb298fcd8382d3363b86870dc7340' (2022-09-21)
  → 'github:nixos/nixpkgs/7e52b35fe98481a279d89f9c145f8076d049d2b9' (2022-09-27)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/bae718a9d1e31ec478ddfcb75149f66e9625a825' (2022-09-18)
  → 'github:Mic92/sops-nix/912f9ff41fd9353dec1f783170793699789fe9aa' (2022-09-26)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/17989edb05615c4f61803b9c427d80b84c289c6b' (2022-09-17)
  → 'github:NixOS/nixpkgs/00f877f4927b6f7d7b75731b5a1e2ae7324eaf14' (2022-09-26)
2022-09-29 14:18:33 +02:00
Simon Bruder 2da1ace487
qutebrowser: Use mirror for easylist 2022-09-27 11:36:54 +02:00
Simon Bruder 712aeca8c4
fuuko: Update GPU in README 2022-09-24 19:30:01 +02:00
Simon Bruder ce90c3363b
cups: Use elma’s new fqdn 2022-09-24 19:29:32 +02:00
Simon Bruder 2cf49b9a18
media-proxy: Add storagebox 2022-09-23 00:14:45 +02:00
Simon Bruder 3889b355d9
vdirsyncer: Remove son calendar 2022-09-23 00:14:32 +02:00
Simon Bruder c816263ad2
sway: Add fcitx 2022-09-23 00:12:12 +02:00
Simon Bruder eb5d270e0b
qbittorrent: Fix exporter vendor sha256
For some reason it changed.
2022-09-22 22:09:37 +02:00
Simon Bruder 6f656f4bda
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/8cb8ea5f1c7bc2984f460587fddd5f2e558f6eb8' (2022-08-18)
  → 'github:cachix/pre-commit-hooks.nix/60cad1a326df17a8c6cf2bb23436609fdd83024e' (2022-09-13)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/504b32caf83986b7e6b9c79c1c13008f83290f19' (2022-09-06)
  → 'github:nixos/nixos-hardware/a0df6cd6e199df4a78c833c273781ea92fa62cfb' (2022-09-15)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/67e45078141102f45eff1589a831aeaa3182b41e' (2022-09-02)
  → 'github:nixos/nixpkgs/9bdbbaa634aa666eb6a27096bdcb991c59181244' (2022-09-21)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/2da64a81275b68fdad38af669afeda43d401e94b' (2022-09-01)
  → 'github:nixos/nixpkgs/d6490a0bd9dfb298fcd8382d3363b86870dc7340' (2022-09-21)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/044ccfe24b349859cd9efc943e4465cc993ac84e' (2022-09-05)
  → 'github:Mic92/sops-nix/bae718a9d1e31ec478ddfcb75149f66e9625a825' (2022-09-18)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/013e8d86d9a3f33074c903c8ffcab0d34087b1ed' (2022-09-03)
  → 'github:NixOS/nixpkgs/17989edb05615c4f61803b9c427d80b84c289c6b' (2022-09-17)
2022-09-22 21:23:55 +02:00
Simon Bruder 47d202ef90
fuuko: Move to new platform
The move already occurred on Tuesday, but I was too lazy to commit it.
2022-09-17 12:02:14 +02:00
Simon Bruder 057037b1b9
wordclock-dimmer: Start after mosquitto 2022-09-13 18:50:19 +02:00
Simon Bruder 24db1faff9
syncthing: Do not harcode fuuko’s address
External reachability is not guaranteed in the future.
2022-09-13 18:49:54 +02:00
Simon Bruder d4d038aeed
vueko/mail: Add domain and alias 2022-09-13 09:11:02 +02:00
Simon Bruder 78564e6ef4
fuuko: Adjust README to its current purpose 2022-09-12 21:02:14 +02:00
Simon Bruder d508543c3c
fuuko: Disable DHCP and DNS server
This is now the main router’s job.
2022-09-12 20:54:59 +02:00
Simon Bruder eeb8f25453
fuuko/scan: Drop 2022-09-12 20:34:52 +02:00
Simon Bruder fa0afa040f
Clean up tools/programs
I haven’t really used some of them, so they don’t need to take space up
in the environment.
2022-09-11 01:21:59 +02:00
Simon Bruder ea43e14792
Add often used tools to environment
I often find myself running them inside a nix shell. Having them
available in the environment makes using them easier and also is
possible when no internet connection is available, which is especially
useful for tools like wl-mirror.
2022-09-11 01:02:30 +02:00
Simon Bruder ac70f97776
mayushii: Adjust charge thresholds
Because I most of the time use it with a charger connected, this avoids
it charging after begin unplugged for a short amount of time and just
barely falling below the threshold.
2022-09-11 00:50:56 +02:00
Simon Bruder eec6cde2ca
vueko/mail: Add alias 2022-09-09 23:22:45 +02:00
Simon Bruder aff63d42f1
vueko/mail: Add alias 2022-09-09 23:22:33 +02:00
Simon Bruder acc05bd2a6
renge/psycho-power-papagei.de: Init 2022-09-08 11:12:44 +02:00
Simon Bruder 45cdf7695e
renge/onlypain.icu: Remove
The redirection didn’t really work anymore and I no longer have to to
this stuff, so it doesn’t really serve a purpose.
2022-09-08 11:12:44 +02:00
Simon Bruder 5750bdaa06
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/12620020f76b1b5d2b0e6fbbda831ed4f5fe56e1' (2022-08-13)
  → 'github:nixos/nixos-hardware/504b32caf83986b7e6b9c79c1c13008f83290f19' (2022-09-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0ba2543f8c855d7be8e90ef6c8dc89c1617e8a08' (2022-08-27)
  → 'github:nixos/nixpkgs/67e45078141102f45eff1589a831aeaa3182b41e' (2022-09-02)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/f3d0897be466aa09a37f6bf59e62c360c3f9a6cc' (2022-08-25)
  → 'github:nixos/nixpkgs/2da64a81275b68fdad38af669afeda43d401e94b' (2022-09-01)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/d92fba1bfc9f64e4ccb533701ddd8590c0d8c74a' (2022-08-28)
  → 'github:Mic92/sops-nix/044ccfe24b349859cd9efc943e4465cc993ac84e' (2022-09-05)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/290dbaacc1f0b783fd8e271b585ec2c8c3b03954' (2022-08-28)
  → 'github:NixOS/nixpkgs/013e8d86d9a3f33074c903c8ffcab0d34087b1ed' (2022-09-03)
2022-09-08 11:12:44 +02:00
Simon Bruder 987798c9d8
vueko/mail: Add alias 2022-09-08 11:12:44 +02:00
Simon Bruder 9a5305bf19
media-mount: Ensure it is owned by user
Otherwise home-manager can’t symlink .envrc.
2022-09-04 15:46:18 +02:00
Simon Bruder 7c81e51d10
network-manger: Switch to iwd as wifi backend
wpa_supplicant often requires multiple tries to get a connection.
2022-09-01 22:30:49 +02:00
Simon Bruder f0dbe8c257
vueko/mail: Add alias 2022-09-01 16:39:08 +02:00
Simon Bruder e3a1e7a8bf
vueko/mail: Add alias 2022-09-01 15:33:29 +02:00
Simon Bruder 4c4fbadb25
vueko/mail: Add alias 2022-08-31 14:53:30 +02:00
Simon Bruder eae4f8f7fd
contact-page: Add note for confused recruiters 2022-08-30 23:46:45 +02:00
Simon Bruder 179f02a644
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/b9fd420fa535fd254c6f1f26df770b32a9dc98b4' (2022-08-23)
  → 'github:nixos/nixpkgs/0ba2543f8c855d7be8e90ef6c8dc89c1617e8a08' (2022-08-27)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/f034b5693a26625f56068af983ed7727a60b5f8b' (2022-08-24)
  → 'github:nixos/nixpkgs/f3d0897be466aa09a37f6bf59e62c360c3f9a6cc' (2022-08-25)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/6068774a8e85fea4b0177efcc90afb3c3b74430b' (2022-08-21)
  → 'github:Mic92/sops-nix/d92fba1bfc9f64e4ccb533701ddd8590c0d8c74a' (2022-08-28)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/9a91318fffec81ad009b73fd3b640d2541d87909' (2022-08-20)
  → 'github:NixOS/nixpkgs/290dbaacc1f0b783fd8e271b585ec2c8c3b03954' (2022-08-28)
2022-08-28 16:08:02 +02:00
Simon Bruder bd249d1d2b
vueko/mail: Add alias 2022-08-28 12:20:45 +02:00
Simon Bruder 87531083b4
flake.nix: Use devShells.default 2022-08-26 16:14:24 +02:00
Simon Bruder e31c264c92
restic: Do not limit upload by default
This allows servers that have a fast internet connection to complete
their backup in seconds instead of minutes.
2022-08-25 23:22:17 +02:00
Simon Bruder 4e78d87bde
restic: Use storage box and restic-rest-server
While this setup complicates things, it also should protect me against
(malicious) deletion of old backups.
2022-08-25 23:12:42 +02:00
Simon Bruder 19eab9411c
ssh: Add all hostnames for storage box 2022-08-25 23:12:42 +02:00
Simon Bruder 1f05bdb4c1
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/6a9402e8f233de16536349d1dd3f4595c23386a4' (2022-08-04)
  → 'github:cachix/pre-commit-hooks.nix/8cb8ea5f1c7bc2984f460587fddd5f2e558f6eb8' (2022-08-18)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/879121648fe522b38cc1cf75aef160a14a1f2e7b' (2022-08-14)
  → 'github:nixos/nixpkgs/b9fd420fa535fd254c6f1f26df770b32a9dc98b4' (2022-08-23)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/6512b21eabb4d52e87ea2edcf31a288e67b2e4f8' (2022-08-14)
  → 'github:nixos/nixpkgs/f034b5693a26625f56068af983ed7727a60b5f8b' (2022-08-24)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/773365016f5202a199f5aff72cac75c64add4528' (2022-08-15)
  → 'github:Mic92/sops-nix/6068774a8e85fea4b0177efcc90afb3c3b74430b' (2022-08-21)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/70b6236f3cbc815f2cae8d597418c714cf83d1c8' (2022-08-13)
  → 'github:NixOS/nixpkgs/9a91318fffec81ad009b73fd3b640d2541d87909' (2022-08-20)
2022-08-25 14:51:55 +02:00
Simon Bruder fa773ca8cf
sway: Add hack for mayushii’s external monitor 2022-08-25 14:49:31 +02:00
Simon Bruder 0bbe240018
tmux: Configure system-wide
This is useful on systems that are only accessed as root (e.g.,
servers).
2022-08-25 14:49:22 +02:00
Simon Bruder 7a7c90f9f9
vueko/media: Init
This also changes fuuko/media to no longer take the htpasswd file from a
file locally stored on fuuko, but rather defines it in sops to be usable
by all systems.
2022-08-22 16:32:26 +02:00
Simon Bruder 8ab2f7b62c
neovim: Add tailwindcss language server 2022-08-20 20:04:46 +02:00
Simon Bruder fb5861b079
mpd: Store playlists in Music directory 2022-08-17 22:48:21 +02:00
Simon Bruder 23e3ba781c
vueko/mail: Add alias 2022-08-16 13:30:20 +02:00
Simon Bruder 016fe02465
zsh: Make history more usable 2022-08-16 10:44:12 +02:00
Simon Bruder 584956bcf6
zsh/direnv: Whitelist ~/mounts/.envrc explicitly
Otherwise I have to run `direnv allow` every time after the home-manager
profile changed because the link target changed.
2022-08-16 00:51:10 +02:00
Simon Bruder f87cfd5d5a
games: Add ryujinx 2022-08-16 00:27:01 +02:00
Simon Bruder 12dd752594
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/ea3efc80f8ab83cb73aec39f4e76fe87afb15a08' (2022-08-01)
  → 'github:nixos/nixos-hardware/12620020f76b1b5d2b0e6fbbda831ed4f5fe56e1' (2022-08-13)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/3c8a5fa9a699d6910bbe70490918f1a4adc1e462' (2022-08-07)
  → 'github:nixos/nixpkgs/879121648fe522b38cc1cf75aef160a14a1f2e7b' (2022-08-14)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/4bdf4169ad2896236895ca607a843f30c9680345' (2022-08-07)
  → 'github:nixos/nixpkgs/6512b21eabb4d52e87ea2edcf31a288e67b2e4f8' (2022-08-14)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/34ee98b8c2ca153a23a63c1841a0a067313856d5' (2022-08-02)
  → 'github:Mic92/sops-nix/773365016f5202a199f5aff72cac75c64add4528' (2022-08-15)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/a26a6f4529878fbfe5f1f287dcdff4a287c58def' (2022-07-31)
  → 'github:NixOS/nixpkgs/70b6236f3cbc815f2cae8d597418c714cf83d1c8' (2022-08-13)
2022-08-15 23:42:35 +02:00
Simon Bruder 947a7d65a3
unfree: Remove yuzu-{ea,mainline} 2022-08-13 17:21:09 +02:00
Simon Bruder 5b1ba16dff
programs: Add darktable 2022-08-13 17:20:54 +02:00
Simon Bruder 6211ea6005
games: Blacklist hid_nintendo
It does not work with my 8BitDo Pro 2. Disabling the kernel module makes
it work with SDL’s hidraw driver.
2022-08-13 11:47:10 +02:00
Simon Bruder 7471719ef2
renge/invidious: Fix mime type in opus patch 2022-08-11 17:54:56 +02:00
Simon Bruder 8e96133b7b
zsh: Patch hardcoded histsize out of grml’s config 2022-08-10 20:37:23 +02:00
Simon Bruder 0b4bfc931c
media-mount: Add storage box 2022-08-09 15:13:50 +02:00
Simon Bruder 685d3fa9f2
zsh/starship: Disable git on network mount 2022-08-09 15:13:12 +02:00
Simon Bruder 7248c854bb
games: Do not override yuzu
Now that it is available in the binary cache, I should leverage this.
2022-08-08 12:33:59 +02:00
Simon Bruder 10ac678bb2
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249' (2022-07-04)
  → 'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/f436e6dbc10bb3500775785072a40eefe057b18e' (2022-07-23)
  → 'github:cachix/pre-commit-hooks.nix/6a9402e8f233de16536349d1dd3f4595c23386a4' (2022-08-04)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/83009edccc2e24afe3d0165ed98b60ff7471a5f8' (2022-07-21)
  → 'github:nixos/nixos-hardware/ea3efc80f8ab83cb73aec39f4e76fe87afb15a08' (2022-08-01)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d9536b9b1e33377fb520e115bc8588d093ed97be' (2022-07-27)
  → 'github:nixos/nixpkgs/3c8a5fa9a699d6910bbe70490918f1a4adc1e462' (2022-08-07)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/2b0dd45aca6a260762395ca2e94beab247f455a7' (2022-07-27)
  → 'github:nixos/nixpkgs/4bdf4169ad2896236895ca607a843f30c9680345' (2022-08-07)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/d7f8cf1b77ebe5f287884f17b1ee4cc4f48bad1d' (2022-07-24)
  → 'github:Mic92/sops-nix/34ee98b8c2ca153a23a63c1841a0a067313856d5' (2022-08-02)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/2e14bc76ab41c60ba57fd57ff52badaa29d349f5' (2022-07-24)
  → 'github:NixOS/nixpkgs/a26a6f4529878fbfe5f1f287dcdff4a287c58def' (2022-07-31)
2022-08-08 11:49:47 +02:00
Simon Bruder 9248f7e70a
vdirsyncer: Add son calendar 2022-08-08 11:47:05 +02:00
Simon Bruder b5cf624337
vueko/mail: Add alias 2022-07-29 17:26:10 +02:00
Simon Bruder a2a70c8e96
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/db3bd555d3a3ceab208bed48f983ccaa6a71a25e' (2022-06-25)
  → 'github:cachix/pre-commit-hooks.nix/f436e6dbc10bb3500775785072a40eefe057b18e' (2022-07-23)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e3583ad6e533a9d8dd78f90bfa93812d390ea187' (2022-07-22)
  → 'github:nixos/nixpkgs/d9536b9b1e33377fb520e115bc8588d093ed97be' (2022-07-27)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/2d372784634e224c5a629d80a19705af655fbc7d' (2022-07-22)
  → 'github:nixos/nixpkgs/2b0dd45aca6a260762395ca2e94beab247f455a7' (2022-07-27)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/6efa719f8d02139ce41398b9e59e06888dc1305a' (2022-07-21)
  → 'github:Mic92/sops-nix/d7f8cf1b77ebe5f287884f17b1ee4cc4f48bad1d' (2022-07-24)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/4e329926df7ee5fa49929a83d31ee7d541f8b45c' (2022-07-17)
  → 'github:NixOS/nixpkgs/2e14bc76ab41c60ba57fd57ff52badaa29d349f5' (2022-07-24)
2022-07-29 13:09:08 +02:00
Simon Bruder d66cf000b0
mail: Add tu-dreden account
Special thanks to whoever thought that a backslash in a user name is a
good idea.
2022-07-29 08:39:59 +02:00
Simon Bruder 5bb1d42abe
mail/aerc: Actually use userName as user name 2022-07-29 08:28:43 +02:00
Simon Bruder cf8ad77f6c
qutebrowser: Grant permissions to sipgate webphone 2022-07-25 20:46:45 +02:00
Simon Bruder 1d9cc1dc17
vueko/mail: Add alias 2022-07-25 12:56:27 +02:00
Simon Bruder 8091bae559
ausweisapp: Init 2022-07-24 18:06:54 +02:00
Simon Bruder 8ef360dafe
vueko/mail: Add alias 2022-07-24 16:20:29 +02:00
Simon Bruder 1f62537e9d
vueko/mail: Add alias 2022-07-24 12:12:53 +02:00
Simon Bruder b9f2230d5f
pkgs/osu-lazer: Rebase patches 2022-07-23 20:38:38 +02:00
Simon Bruder 3e5881fe7a
renge/synapse: Enable MSC2716
It is required for backfill to work with mautrix-whatsapp ≥ 0.6.0.
2022-07-23 20:01:54 +02:00
Simon Bruder 82b1eeac76
renge/invidious: Rebase patch
This is a re-implementation since upstream added a similar functionality
but prefers aac over opus.
2022-07-23 20:01:22 +02:00
Simon Bruder edbb46da7a
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/76c9664813ed7082115ac7efb8a1619a804a631f' (2022-07-14)
  → 'github:nixos/nixos-hardware/83009edccc2e24afe3d0165ed98b60ff7471a5f8' (2022-07-21)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/4aceab3cadf9fef6f70b9f6a9df964218650db0a' (2022-07-12)
  → 'github:nixos/nixpkgs/e3583ad6e533a9d8dd78f90bfa93812d390ea187' (2022-07-22)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/38860c9e91cb00f4d8cd19c7b4e36c45680c89b5' (2022-07-11)
  → 'github:nixos/nixpkgs/2d372784634e224c5a629d80a19705af655fbc7d' (2022-07-22)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/912514e60a6e0227d6a2e0ecc8524752337fcde2' (2022-07-13)
  → 'github:Mic92/sops-nix/6efa719f8d02139ce41398b9e59e06888dc1305a' (2022-07-21)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/0ad6eae04953060dff8ba28af158799c3e13878d' (2022-07-09)
  → 'github:NixOS/nixpkgs/4e329926df7ee5fa49929a83d31ee7d541f8b45c' (2022-07-17)
2022-07-23 19:04:41 +02:00
Simon Bruder 3e9eb7ad31
vueko/mail: Add alias 2022-07-23 19:03:25 +02:00
Simon Bruder 03b800acc0
vueko/mail: Add alias 2022-07-23 09:37:59 +02:00
Simon Bruder 6f39b4cc77
vueko/mail: Add alias 2022-07-21 12:09:52 +02:00
Simon Bruder 33e00ea54c
vueko/mail: Add alias 2022-07-20 12:07:41 +02:00
Simon Bruder 6f43153f59
watson: Init 2022-07-20 12:07:41 +02:00
Simon Bruder 2c61a284b8
vueko/mail: Add alias 2022-07-17 00:28:52 +02:00
Simon Bruder 1f842c3d9a
renge/password-hash-self-service: Init 2022-07-16 19:52:40 +02:00
Simon Bruder 3f69903426
vueko/mail: Add alias 2022-07-16 15:28:37 +02:00
Simon Bruder d8057fecba
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/3bf48d3587d3f34f745a19ebc968b002ef5b5c5a' (2022-07-04)
  → 'github:nixos/nixos-hardware/76c9664813ed7082115ac7efb8a1619a804a631f' (2022-07-14)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/316b762afdb9e142a803f29c49a88b4a47db80ee' (2022-07-06)
  → 'github:nixos/nixpkgs/4aceab3cadf9fef6f70b9f6a9df964218650db0a' (2022-07-12)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/a5c867d9fe9e4380452628e8f171c26b69fa9d3d' (2022-07-06)
  → 'github:nixos/nixpkgs/38860c9e91cb00f4d8cd19c7b4e36c45680c89b5' (2022-07-11)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/3ef9ea29356c17341456a0418cf5b5c2d2cdb129' (2022-07-06)
  → 'github:Mic92/sops-nix/912514e60a6e0227d6a2e0ecc8524752337fcde2' (2022-07-13)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/cc16da2c92041cbe817c40f62aac87c99104e9c2' (2022-07-04)
  → 'github:NixOS/nixpkgs/0ad6eae04953060dff8ba28af158799c3e13878d' (2022-07-09)
2022-07-14 11:12:59 +02:00
Simon Bruder aaf946c78f
vueko/mail: Add alias 2022-07-14 10:52:28 +02:00
Simon Bruder e67d68a05d
anki: Use anki-bin
This also removes ankisyncd, which in its current version in nixpkgs
does not support the latest anki version.
2022-07-13 20:47:15 +02:00
Simon Bruder a88c85993e
vueko/mail: Add alias 2022-07-11 21:31:50 +02:00
Simon Bruder 97a1f12d7b
grub: Disable memtest86
The download URL does not work anymore.
2022-07-11 21:31:41 +02:00
Simon Bruder ebd3629827
khal: Set default calendar
Otherwise grocy, a read-only calendar, is the default.
2022-07-10 12:08:26 +02:00
Simon Bruder 453128db03
waybar: Fix khal cli parsing
Its output format changed between 0.10.4 and 0.10.5.
2022-07-08 11:51:05 +02:00
Simon Bruder 4af15f2139
khal: Use version from unstable
The version from stable throws errors and sometimes even crashes due to
an incompatibility with pytz.
2022-07-08 11:51:05 +02:00
Simon Bruder a44948006c
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/bee6a7250dd1b01844a2de7e02e4df7d8a0a206c' (2022-06-24)
  → 'github:numtide/flake-utils/7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249' (2022-07-04)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/c5308381432cdbf14d5b1128747a2845f5c6871e' (2022-07-01)
  → 'github:nixos/nixos-hardware/3bf48d3587d3f34f745a19ebc968b002ef5b5c5a' (2022-07-04)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/915f5a5b3cc4f8ba206afd0b70e52ba4c6a2796b' (2022-07-01)
  → 'github:nixos/nixpkgs/316b762afdb9e142a803f29c49a88b4a47db80ee' (2022-07-06)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/0ea7a8f1b939d74e5df8af9a8f7342097cdf69eb' (2022-07-02)
  → 'github:nixos/nixpkgs/a5c867d9fe9e4380452628e8f171c26b69fa9d3d' (2022-07-06)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/85907ae7384477e447499f6e942d822d6f2998d8' (2022-07-03)
  → 'github:Mic92/sops-nix/3ef9ea29356c17341456a0418cf5b5c2d2cdb129' (2022-07-06)
• Removed input 'sops-nix/nixpkgs-21_11'
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/18038cee44aa0c3c99a2319c3c1c4d16d6612d81' (2022-07-02)
  → 'github:NixOS/nixpkgs/cc16da2c92041cbe817c40f62aac87c99104e9c2' (2022-07-04)
2022-07-08 11:51:05 +02:00
Simon Bruder caf9f5f764
vdirsyncer: Add grocy 2022-07-08 11:51:05 +02:00
Simon Bruder 1baec2968b
vdirsyncer: Create abstraction 2022-07-08 11:51:05 +02:00
Simon Bruder d93994e029
renge/grocy: Init 2022-07-08 11:51:04 +02:00
Simon Bruder f758d8f59a
vueko/mail: Add alias 2022-07-08 11:51:04 +02:00
Simon Bruder 9a9289f384
vueko/mail: Add alias 2022-07-08 11:51:04 +02:00
Simon Bruder bdd4956599
Switch from alacritty to foot
Some programs have difficulties with foot as TERM (e. g. aerc’s
terminal). Therefore, it is manually set to xterm-256color and true
colour support is forced in tmux.
2022-07-08 11:51:04 +02:00
Simon Bruder 9048611e06
vueko/mail: Clean up aliases 2022-07-08 11:51:04 +02:00
Simon Bruder 9dd20698d1
mullvad: Update relays 2022-07-08 11:51:04 +02:00
Simon Bruder 7f46682c63
vueko/mail: Add alias 2022-07-08 11:51:04 +02:00
Simon Bruder aaf587beb6
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/99e33a57149916ebede78ec13edd9ba310c10f2f' (2022-06-26)
  → 'github:nixos/nixos-hardware/c5308381432cdbf14d5b1128747a2845f5c6871e' (2022-07-01)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/cd90e773eae83ba7733d2377b6cdf84d45558780' (2022-06-26)
  → 'github:nixos/nixpkgs/915f5a5b3cc4f8ba206afd0b70e52ba4c6a2796b' (2022-07-01)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5' (2022-06-26)
  → 'github:nixos/nixpkgs/0ea7a8f1b939d74e5df8af9a8f7342097cdf69eb' (2022-07-02)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/aff5d8542c9eb566a000302b22fcc10715bc2feb' (2022-06-26)
  → 'github:Mic92/sops-nix/85907ae7384477e447499f6e942d822d6f2998d8' (2022-07-03)
• Updated input 'sops-nix/nixpkgs-21_11':
    'github:NixOS/nixpkgs/46af3303651699dc58cfc251d9b18c0f59d857da' (2022-06-25)
  → 'github:NixOS/nixpkgs/573603b7fdb9feb0eb8efc16ee18a015c667ab1b' (2022-07-02)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/72a1f167077060a1a7b6e0104863245d0483fa7f' (2022-06-25)
  → 'github:NixOS/nixpkgs/18038cee44aa0c3c99a2319c3c1c4d16d6612d81' (2022-07-02)
2022-07-08 11:51:04 +02:00
Simon Bruder a68420ca69
Sort modules includes 2022-07-08 11:51:04 +02:00
Simon Bruder 8754cd109c
vueko/mail: Add alias 2022-07-08 11:51:04 +02:00
Simon Bruder 8506c28247
vueko/mail: Add alias 2022-07-08 11:51:04 +02:00
Simon Bruder 22d017999f
syncthing: Init 2022-07-08 11:51:04 +02:00
Simon Bruder dc49c0bb69
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
  → 'github:numtide/flake-utils/bee6a7250dd1b01844a2de7e02e4df7d8a0a206c' (2022-06-24)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ac2287df5a2d6f0a44bbcbd11701dbbf6ec43675' (2022-06-01)
  → 'github:nix-community/home-manager/4a3d01fb53f52ac83194081272795aa4612c2381' (2022-06-25)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/521a524771a8e93caddaa0ac1d67d03766a8b0b3' (2022-05-16)
  → 'github:cachix/pre-commit-hooks.nix/db3bd555d3a3ceab208bed48f983ccaa6a71a25e' (2022-06-25)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/0cab18a48de7914ef8cad35dca0bb36868f3e1af' (2022-06-01)
  → 'github:nixos/nixos-hardware/99e33a57149916ebede78ec13edd9ba310c10f2f' (2022-06-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9ff91ce2e4c5d70551d4c8fd8830931c6c6b26b8' (2022-06-14)
  → 'github:nixos/nixpkgs/cd90e773eae83ba7733d2377b6cdf84d45558780' (2022-06-26)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/6616de389ed55fba6eeba60377fc04732d5a207c' (2022-06-14)
  → 'github:nixos/nixpkgs/f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5' (2022-06-26)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/f075361ecbde21535b38e41dfaa28a28f160855c' (2022-06-05)
  → 'github:Mic92/sops-nix/aff5d8542c9eb566a000302b22fcc10715bc2feb' (2022-06-26)
• Updated input 'sops-nix/nixpkgs-21_11':
    'github:NixOS/nixpkgs/2de556c4cd46a59e8ce2f85ee4dd400983213d45' (2022-06-04)
  → 'github:NixOS/nixpkgs/46af3303651699dc58cfc251d9b18c0f59d857da' (2022-06-25)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/d6cb04299ce8964290ae7fdcb87aa50da0500b5c' (2022-06-04)
  → 'github:NixOS/nixpkgs/72a1f167077060a1a7b6e0104863245d0483fa7f' (2022-06-25)
2022-07-08 11:51:04 +02:00
Simon Bruder d3c063b909
renge/buchborgen: Init 2022-07-08 11:51:04 +02:00
Simon Bruder 8dc59487f3
restic/system: Exclude /var/cache 2022-07-08 11:51:04 +02:00
Simon Bruder d14abbf383
vueko/mail: Add alias 2022-07-08 11:51:04 +02:00
Simon Bruder 43bbd404c6
qutebrowse: Remove exceptions for Microsof Teams
I don’t have to use it anymore, yay!
2022-07-08 11:51:03 +02:00
Simon Bruder 2fc312dd47
flake: Use overlays.default for default overlay
The `overlay` output is deprecated.
2022-07-08 11:51:03 +02:00
Simon Bruder 22d8373376
vueko/mail: Add alias 2022-07-08 11:51:03 +02:00
Simon Bruder b6f4827384
vueko/mail: Add rejected sender 2022-07-08 11:51:03 +02:00
Simon Bruder 2787c28a3d
mail: Add notmuch
Aerc’s notmuch support is not yet very mature, so it needs a hacky
workaround to work somewhat well.
2022-07-08 11:51:03 +02:00
Simon Bruder 6d061fa210
Use home-manager account data structures 2022-07-08 11:51:03 +02:00
Simon Bruder 0d125352a3
git: Setup git send-email 2022-07-08 11:51:03 +02:00
Simon Bruder c1794d2f78
aerc: Init 2022-07-08 11:50:56 +02:00
Simon Bruder d854fe3ac8
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/bda2c80b4c1a8d85c84c343a25ac7303fbc7999d' (2022-05-30)
  → 'github:nix-community/home-manager/ac2287df5a2d6f0a44bbcbd11701dbbf6ec43675' (2022-06-01)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a634c8f6c1fbf9b9730e01764999666f3436f10a' (2022-05-30)
  → 'github:nixos/nixpkgs/9ff91ce2e4c5d70551d4c8fd8830931c6c6b26b8' (2022-06-14)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/f1c167688a6f81f4a51ab542e5f476c8c595e457' (2022-05-30)
  → 'github:nixos/nixpkgs/6616de389ed55fba6eeba60377fc04732d5a207c' (2022-06-14)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/36b5901782e7fbfc191cace910f67f8b8743f678' (2022-05-29)
  → 'github:Mic92/sops-nix/f075361ecbde21535b38e41dfaa28a28f160855c' (2022-06-05)
• Updated input 'sops-nix/nixpkgs-21_11':
    'github:NixOS/nixpkgs/baa82d4b626288c7439eeea073a18aabbe435991' (2022-05-29)
  → 'github:NixOS/nixpkgs/2de556c4cd46a59e8ce2f85ee4dd400983213d45' (2022-06-04)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/db78278ff296cf21eca7e8c08ee99707387a54fa' (2022-05-29)
  → 'github:NixOS/nixpkgs/d6cb04299ce8964290ae7fdcb87aa50da0500b5c' (2022-06-04)
2022-06-15 10:44:41 +02:00
Simon Bruder d177dcc710
Allow users to set set allow_other for fuse mounts 2022-06-15 00:45:51 +02:00
Simon Bruder 43de9d1528
neovim: Fix lsp highlight colours 2022-06-12 22:45:15 +02:00
Simon Bruder fe2a821cfd
neovim: Add tree sitter 2022-06-12 22:44:55 +02:00
Simon Bruder 9bc8933f55
neovim: Add illuminate 2022-06-12 22:42:25 +02:00
Simon Bruder 5555f83fa6
neovim: Restore gitsigns mappings
The defaults were not active anymore after the upgrade to 22.05.
2022-06-12 21:12:50 +02:00
Simon Bruder 2ce6f535d0
neovim: Exclude temp files from persistent undo
Otherwise it is possible to restore cleartext passwords from pass or
sops from the undo files.
2022-06-12 21:08:04 +02:00
Simon Bruder 67b30a52af
Remove private binary cache
I don’t actually use it and it adds complexity to installing new
machines.
2022-06-10 00:03:03 +02:00
Simon Bruder 25785ebd58
{mayushii,sayuri}: Fix samba startup 2022-06-10 00:03:03 +02:00
Simon Bruder ca8f640fbe
mpv: Use archived version of FSRCNNX
The author often replaces the GitHub release artifacts which causes hash
mismatches.
2022-06-10 00:03:03 +02:00
Simon Bruder b948f46fad
nunotaba: Re-init 2022-06-10 00:03:03 +02:00
Simon Bruder 1c085f02f9
vueko/mail: Add alias 2022-06-05 15:11:12 +02:00
Simon Bruder 811e9d485f
vueko/mail: Add alias 2022-06-05 15:11:01 +02:00
Simon Bruder 8ab36d11bf
sayuri: Update documentation 2022-06-03 15:53:50 +02:00
Simon Bruder 98cd9fee9c
okarin: Remove
It was too slow to do anything useful with, so I cancelled it. Unless
something dramatically changes, I won’t rent servers from Contabo
anymore.
2022-06-01 15:39:02 +02:00
Simon Bruder 4f20034777
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/04c1b180862888302ddfb2e3ad9eaa63afc60cf8' (2022-05-17)
  → 'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/39a7bfc496d2ddfce73fe9542af1f2029ba4fe39' (2022-05-25)
  → 'github:nixos/nixos-hardware/0cab18a48de7914ef8cad35dca0bb36868f3e1af' (2022-06-01)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/5ce6597eca7d7b518c03ecda57d45f9404b5e060' (2022-05-24)
  → 'github:nixos/nixpkgs/f1c167688a6f81f4a51ab542e5f476c8c595e457' (2022-05-30)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/7385b12722ce903e477878147794bed9040227e2' (2022-05-25)
  → 'github:Mic92/sops-nix/36b5901782e7fbfc191cace910f67f8b8743f678' (2022-05-29)
• Updated input 'sops-nix/nixpkgs-21_11':
    'github:NixOS/nixpkgs/b5991e4971523a5fcc9413b9003b58e5c15aa7d8' (2022-05-21)
  → 'github:NixOS/nixpkgs/baa82d4b626288c7439eeea073a18aabbe435991' (2022-05-29)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/0c3bf3a5c3ab6be29138b88900c417660a284fbd' (2022-05-25)
  → 'github:NixOS/nixpkgs/db78278ff296cf21eca7e8c08ee99707387a54fa' (2022-05-29)
2022-06-01 15:17:14 +02:00
Simon Bruder c297f378f5
sway: Simplify DPMS toggling
Fixes #59.
2022-06-01 15:17:14 +02:00
Simon Bruder 8de4852418
renge/synapse: Migrate to new settings option 2022-06-01 15:17:14 +02:00
Simon Bruder a68f13967c
fuuko: Only wait for eno1 to be online
Otherwise it waits 120 seconds for eno2 to be online.
2022-06-01 15:17:14 +02:00
Simon Bruder 3e82450879
pipewire: Remove media-session config
It is disabled by default in favour of wireplumber.
2022-06-01 15:17:14 +02:00
Simon Bruder 8cc24be53b
neovim: Temporarily disable pylsp-mypy
Its build is currently broken, see
https://github.com/NixOS/nixpkgs/issues/171524.
2022-06-01 15:17:00 +02:00
Simon Bruder 12be176ecc
neovim: Fix compatibility with newer plugin versions 2022-05-31 21:51:51 +02:00
Simon Bruder f4d2bdfb4a
sway: Force ozone mode 2022-05-31 15:04:53 +02:00
Simon Bruder 23fed18286
programs: Remove broken ones
I don’t really use gatling or snownews, so I don’t plan on fixing them.
2022-05-31 15:04:53 +02:00
Simon Bruder 0bb4f4204d
Use new option for ACME email address 2022-05-31 15:04:53 +02:00
Simon Bruder 37f0d3e1fc
Remove settings no longer necessary
Swaync is in stable, mumble 1.4 is in stable and has pulseaudio enabled
by default, the tray target is defined in home-manager upstream and
nix-direnv comes with flake support by default.
2022-05-31 15:04:52 +02:00
Simon Bruder 7361e03630
flake: Update infinisilSystem
The binary of murmur is now called mumble-server, which is fixed in a
newer version of infinisil’s module.
2022-05-31 14:31:45 +02:00
Simon Bruder 3723c88de4
flake: Update to 22.05 2022-05-31 14:31:13 +02:00
Simon Bruder 52fe800551
vueko/mail: Add alias 2022-05-29 22:51:32 +02:00
Simon Bruder 85e36d697e
vueko/mail: Add alias 2022-05-26 21:39:49 +02:00
Simon Bruder 3fe924575d
pkgs: Remove swaync override
swaync 0.5 is in nixpkgs unstable.
2022-05-26 12:35:22 +02:00
Simon Bruder 157e8c6bf0
renge/invidious: Update patch 2022-05-26 12:32:13 +02:00
Simon Bruder cca81bc96c
flake.lock: Update
Flake lock file changes:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/6b4ebea9093c997c5f275c820e679108de4871ab' (2022-04-21)
  → 'github:nixos/nixos-hardware/39a7bfc496d2ddfce73fe9542af1f2029ba4fe39' (2022-05-25)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2d474d6a4a43a0348b78db68dc00c491032cf5cf' (2022-05-18)
  → 'github:nixos/nixpkgs/06db2e2197401b74fcf82d4e84be15b0b5851c7b' (2022-05-22)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/1d7db1b9e4cf1ee075a9f52e5c36f7b9f4207502' (2022-05-16)
  → 'github:nixos/nixpkgs/5ce6597eca7d7b518c03ecda57d45f9404b5e060' (2022-05-24)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/9681f04fa3b6af5b7eff6b086e46aee2cc2bdde2' (2022-05-15)
  → 'github:Mic92/sops-nix/7385b12722ce903e477878147794bed9040227e2' (2022-05-25)
• Updated input 'sops-nix/nixpkgs-21_11':
    'github:NixOS/nixpkgs/8b3398bc7587ebb79f93dfeea1b8c574d3c6dba1' (2022-05-14)
  → 'github:NixOS/nixpkgs/b5991e4971523a5fcc9413b9003b58e5c15aa7d8' (2022-05-21)
• Added input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/0c3bf3a5c3ab6be29138b88900c417660a284fbd' (2022-05-25)
2022-05-26 11:57:37 +02:00
Simon Bruder 94f58d65fe
vueko/mail: Add alias 2022-05-23 14:55:26 +02:00
Simon Bruder 8882aa0d8d
corectrl: Init and enable on sayuri 2022-05-21 17:42:32 +02:00
Simon Bruder 6be98cb106
vueko/mail: Add alias 2022-05-21 17:08:31 +02:00
Simon Bruder 5d82e663f0
flake.lock: Update
Flake lock file changes:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/0d347c56f6f41de822a4f4c7ff5072f3382db121' (2022-05-12)
  → 'github:numtide/flake-utils/04c1b180862888302ddfb2e3ad9eaa63afc60cf8' (2022-05-17)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e5e7b3b542e7f4f96967966a943d7e1c07558042' (2022-04-04)
  → 'github:cachix/pre-commit-hooks.nix/521a524771a8e93caddaa0ac1d67d03766a8b0b3' (2022-05-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/79385ae0aacf7e02871cc8af0623123419dd7884' (2022-05-13)
  → 'github:nixos/nixpkgs/2d474d6a4a43a0348b78db68dc00c491032cf5cf' (2022-05-18)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/d89d7af1ba23bd8a5341d00bdd862e8e9a808f56' (2022-05-12)
  → 'github:nixos/nixpkgs/1d7db1b9e4cf1ee075a9f52e5c36f7b9f4207502' (2022-05-16)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/c2614c4fe61943b3d280ac1892fcebe6e8eaf8c8' (2022-04-12)
  → 'github:Mic92/sops-nix/9681f04fa3b6af5b7eff6b086e46aee2cc2bdde2' (2022-05-15)
• Added input 'sops-nix/nixpkgs-21_11':
    'github:NixOS/nixpkgs/8b3398bc7587ebb79f93dfeea1b8c574d3c6dba1' (2022-05-14)
2022-05-19 12:35:20 +02:00
Simon Bruder 05da953e22
games/steam-sandbox: Fix hidraw input enumeration
This was broken when no files matched the glob /dev/hidraw* (it was
passed literall to bubblewrap, which failed due to it not existing).
2022-05-16 11:36:09 +02:00
Simon Bruder 23652c4b8f
restic/system: Exclude mounts 2022-05-15 11:14:34 +02:00
Simon Bruder b805fb5ef1
sayuri: Switch to EFI
The legacy BIOS does not show when the HDMI output is used with a 4K
screen.
2022-05-14 22:16:28 +02:00
Simon Bruder 71f868e104
sayuri: Do not disable gui in yolo profile 2022-05-14 22:16:23 +02:00
Simon Bruder 4712cd20be
media-mount: Init 2022-05-14 17:50:11 +02:00
Simon Bruder 322ce8885f
flake.lock: Update
Flake lock file changes:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/a4b154ebbdc88c8498a5c7b01589addc9e9cb678' (2022-04-11)
  → 'github:numtide/flake-utils/0d347c56f6f41de822a4f4c7ff5072f3382db121' (2022-05-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5656d7f92aa8264eb06ba68ad94c87ac5b5312e8' (2022-05-06)
  → 'github:nixos/nixpkgs/79385ae0aacf7e02871cc8af0623123419dd7884' (2022-05-13)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/c777cdf5c564015d5f63b09cc93bef4178b19b01' (2022-05-05)
  → 'github:nixos/nixpkgs/d89d7af1ba23bd8a5341d00bdd862e8e9a808f56' (2022-05-12)
2022-05-14 10:52:12 +02:00
Simon Bruder 1fdea403f0
games/steam-sandbox: Include hidraw devices
This is required for Nintendo Switch controllers (hid_nintendo does not
work with third-party ones).
2022-05-14 10:41:36 +02:00
Simon Bruder f31fb7dc5d
udev: Add rule for TI-84+ SE
If it is plugged in for a longer time (a few minutes are enough), at
least on mayushii, the dock hangs and will not respond unless the
system is rebooted (re-plugging, restarting the dock and suspending does
not work). I couldn’t figure out why this is happening.
2022-05-11 16:38:32 +02:00
Simon Bruder ae81132dfa
vueko/mail: Add alias 2022-05-11 08:45:16 +02:00
Simon Bruder b85ecf5bb1
programs: Add gnucash 2022-05-11 08:44:22 +02:00
Simon Bruder 1e33134742
flake.lock: Update
Flake lock file changes:

• Updated input 'home-manager':
    'github:nix-community/home-manager/d14adb99f3fb562ec74ad18c032efc154b438034' (2022-04-26)
  → 'github:nix-community/home-manager/d93d56ab8c1c6aa575854a79b9d2f69d491db7d0' (2022-05-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/feea25c58657fa81d16e0e51f80e1a02ef4cbd49' (2022-04-27)
  → 'github:nixos/nixpkgs/5656d7f92aa8264eb06ba68ad94c87ac5b5312e8' (2022-05-06)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/e10da1c7f542515b609f8dfbcf788f3d85b14936' (2022-04-26)
  → 'github:nixos/nixpkgs/c777cdf5c564015d5f63b09cc93bef4178b19b01' (2022-05-05)
2022-05-07 15:00:22 +02:00
Simon Bruder 7de19098e5
programs: Install mkvtoolnix-gui if gui is enabled 2022-05-05 17:42:41 +02:00
Simon Bruder 4c01701af3
makemkv: Remove hardcodes/hard dependencies
Even without a drive it is useful for working with disc images.
2022-05-05 16:29:18 +02:00
Simon Bruder 8a116ff2ad
vueko/mail: Add alias 2022-05-05 15:57:30 +02:00
Simon Bruder b1353a34da
sway: Replace mako with swaync
It provides a notification centre and a do not disturb mode.
2022-05-01 21:16:21 +02:00
Simon Bruder 532ebfb7b9
games/steam-sandbox: Add mangohud 2022-05-01 10:30:31 +02:00
Simon Bruder 36b564d978
games/steam-sandbox: Make controllers work
The full sysfs is required for steam to discover controllers. Despite
some individual games detecting them, for full controller support
(especially in wine/proton), steam has to detect them.
2022-05-01 10:14:04 +02:00
Simon Bruder 0313c45b9e
vueko/mail: Add alias 2022-04-29 22:47:00 +02:00
Simon Bruder 0ad1780fce
vueko/mail: Add alias 2022-04-29 18:40:01 +02:00
Simon Bruder 96cfdf9f2d
flake.lock: Update
Flake lock file changes:

• Updated input 'home-manager':
    'github:nix-community/home-manager/7244c6715cb8f741f3b3e1220a9279e97b2ed8f5' (2022-04-13)
  → 'github:nix-community/home-manager/d14adb99f3fb562ec74ad18c032efc154b438034' (2022-04-26)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/1a0ccdbf4583ed0fce37eea7955e8ef90f840a9f' (2022-04-13)
  → 'github:nixos/nixos-hardware/6b4ebea9093c997c5f275c820e679108de4871ab' (2022-04-21)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/7b38b03d76ab71bdc8dc325e3f6338d984cc35ca' (2022-04-18)
  → 'github:nixos/nixpkgs/feea25c58657fa81d16e0e51f80e1a02ef4cbd49' (2022-04-27)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887' (2022-04-17)
  → 'github:nixos/nixpkgs/e10da1c7f542515b609f8dfbcf788f3d85b14936' (2022-04-26)
2022-04-29 16:33:11 +02:00
Simon Bruder 606b203205
zsh: Globally set histsize to 100000
Otherwise this occasionally deletes my user’s history if the user config
is not fully loaded yet.
2022-04-28 09:32:03 +02:00
Simon Bruder 76787d43a0
restic/system: Ignore /root/.cache 2022-04-23 21:10:55 +02:00
Simon Bruder b307f1d518
fonts: Use blobmoji as default emoji font 2022-04-23 21:10:27 +02:00
Simon Bruder ef5204f2f3
vueko/mail: Add alias 2022-04-21 15:21:22 +02:00
Simon Bruder 9476421bbf
flake.lock: Update
Flake lock file changes:

• Updated input 'home-manager':
    'github:nix-community/home-manager/7049cf37a90e19ead7a379ce1c76dccea29450c4' (2022-04-11)
  → 'github:nix-community/home-manager/7244c6715cb8f741f3b3e1220a9279e97b2ed8f5' (2022-04-13)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/5c95599061f04d7e02822981c5967611a475c628' (2022-04-13)
  → 'github:nixos/nixos-hardware/1a0ccdbf4583ed0fce37eea7955e8ef90f840a9f' (2022-04-13)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e7d63bd0d50df412f5a1d8acfa3caae75522e347' (2022-04-10)
  → 'github:nixos/nixpkgs/7b38b03d76ab71bdc8dc325e3f6338d984cc35ca' (2022-04-18)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/33772708c6d0e33f697426ba386aa0149cbcbecb' (2022-04-11)
  → 'github:nixos/nixpkgs/1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887' (2022-04-17)
2022-04-19 09:47:37 +02:00
Simon Bruder e3b4281198
vueko/mail: Add alias 2022-04-18 18:10:40 +02:00
Simon Bruder 6ce8ae1d6f
renge/murmur: Allow spaces in username
Not really useful for real usernames, but very much for meme usernames.
2022-04-15 21:35:48 +02:00
Simon Bruder bff4a58350
flake.lock: Update
Flake lock file changes:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/0f8662f1319ad6abf89b3380dd2722369fc51ade' (2022-03-26)
  → 'github:numtide/flake-utils/a4b154ebbdc88c8498a5c7b01589addc9e9cb678' (2022-04-11)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0bdbdea2e26c984b096f4f7d10e3c88536a980b0' (2022-04-01)
  → 'github:nix-community/home-manager/7049cf37a90e19ead7a379ce1c76dccea29450c4' (2022-04-11)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/feceb4d24f582817d8f6e737cd40af9e162dee05' (2022-03-24)
  → 'github:nixos/nixos-hardware/5c95599061f04d7e02822981c5967611a475c628' (2022-04-13)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ccb90fb9e11459aeaf83cc28d5f8910816d90dd0' (2022-04-05)
  → 'github:nixos/nixpkgs/e7d63bd0d50df412f5a1d8acfa3caae75522e347' (2022-04-10)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/b6966d911da89e5a7301aaef8b4f0a44c77e103c' (2022-04-06)
  → 'github:nixos/nixpkgs/33772708c6d0e33f697426ba386aa0149cbcbecb' (2022-04-11)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/c01f48b055ac776f9831c9d4a0fff83e3b74dbe3' (2022-03-14)
  → 'github:Mic92/sops-nix/c2614c4fe61943b3d280ac1892fcebe6e8eaf8c8' (2022-04-12)
2022-04-13 13:09:12 +02:00
Simon Bruder e82bf23c08
sway/waybar: Make calendar work with special chars
The implementation is not very pretty, but this is a limitation of the
chosen design (parsing the output of a cli tool).
2022-04-13 11:54:11 +02:00
Simon Bruder af4da03c50
zsh: Remove nixpkgs-review wrapper
The token is invalid and I don’t use the github integration anyway.
2022-04-12 18:02:31 +02:00
Simon Bruder 8d55e5093a
neovim: Show live preview of substitution 2022-04-12 17:58:52 +02:00
Simon Bruder 404f1a44e1
vueko/mail: Add alias 2022-04-11 20:33:32 +02:00
Simon Bruder cb6093920c
mayushii: Enable microcode update 2022-04-11 18:03:16 +02:00
Simon Bruder 55e6fc717f
vueko/mail: Add alias 2022-04-11 08:23:35 +02:00
Simon Bruder e52ec80725
vueko/mail: Add alias 2022-04-10 21:12:19 +02:00
Simon Bruder b93e6e9d56
vueko/mail: Add alias 2022-04-09 20:41:30 +02:00
Simon Bruder 141bfa4f46
yuzuru: Remove
It no longer hosts any services so it is going to be removed.
2022-04-09 10:12:12 +02:00
Simon Bruder 049a6357bd
yuzuru/schabernack: Migrate to renge 2022-04-09 10:10:08 +02:00
Simon Bruder 8f7ee06d87
okarin: Mention cancellation in readme 2022-04-07 20:53:42 +02:00
Simon Bruder 909d7864e7
renge/onlypain.icu: Init
This is just a joke, please don’t take it seriously.
2022-04-07 16:13:40 +02:00
Simon Bruder e9414e91ee
flake.lock: Update
Flake lock file changes:

• Updated input 'home-manager':
    'github:nix-community/home-manager/a8d00f5c038cf7ec54e7dac9c57b171c1217f008' (2022-03-13)
  → 'github:nix-community/home-manager/0bdbdea2e26c984b096f4f7d10e3c88536a980b0' (2022-04-01)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/b6bc0b21e1617e2b07d8205e7fae7224036dfa4b' (2022-03-01)
  → 'github:cachix/pre-commit-hooks.nix/e5e7b3b542e7f4f96967966a943d7e1c07558042' (2022-04-04)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/efea022d6fe0da84aa6613d4ddeafb80de713457' (2022-03-30)
  → 'github:nixos/nixpkgs/ccb90fb9e11459aeaf83cc28d5f8910816d90dd0' (2022-04-05)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/710fed5a2483f945b14f4a58af2cd3676b42d8c8' (2022-03-30)
  → 'github:nixos/nixpkgs/b6966d911da89e5a7301aaef8b4f0a44c77e103c' (2022-04-06)
2022-04-07 15:53:18 +02:00
Simon Bruder ead656f4a7
vueko/mail: Add alias 2022-04-03 10:22:47 +02:00
Simon Bruder c2cde74116
sayuri: Load sg module by default
It is required for accessing the optical drive in MakeMKV.
2022-04-03 08:30:22 +02:00
Simon Bruder b8e40b1e67
vueko/mail: Add alias 2022-04-02 23:25:15 +02:00
Simon Bruder 4ccb4ecd02
renge/invidious: Use unstable package 2022-04-02 10:53:39 +02:00
Simon Bruder 72fd16e5f7
makemkv: Allow setting PWD in other variable
When using it with waypipe, the PWD set by env is ignored.
2022-04-02 08:51:51 +02:00
Simon Bruder 26bed20816
sway: Add waypipe 2022-04-02 08:51:37 +02:00
Simon Bruder 4a3253abde
vueko/mail: Add alias 2022-04-01 21:43:24 +02:00
Simon Bruder 8a48247699
vueko/mail: Add alias 2022-04-01 21:31:31 +02:00
Simon Bruder 5cb356c368
makemkv: Init 2022-04-01 18:20:46 +02:00
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 e95c4faad6
flake.lock: Update
Flake lock file changes:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/3cecb5b042f7f209c56ffd8371b2711a290ec797' (2022-02-07)
  → 'github:numtide/flake-utils/0f8662f1319ad6abf89b3380dd2722369fc51ade' (2022-03-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d2caa9377539e3b5ff1272ac3aa2d15f3081069f' (2022-03-22)
  → 'github:nixos/nixpkgs/efea022d6fe0da84aa6613d4ddeafb80de713457' (2022-03-30)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/1d08ea2bd83abef174fb43cbfb8a856b8ef2ce26' (2022-03-23)
  → 'github:nixos/nixpkgs/710fed5a2483f945b14f4a58af2cd3676b42d8c8' (2022-03-30)
2022-03-31 13:20:56 +02:00
Simon Bruder df3851bd82
vueko/mail: Add alias 2022-03-27 10:33:45 +02:00
Simon Bruder a9d7214c60
yuzuru/schabernack: Remove staging environment
It is done now, so there is no need to test changes.
2022-03-26 14:51:36 +01:00
Simon Bruder 7d1149a395
vueko/coturn: Migrate to renge 2022-03-26 14:39:47 +01:00
Simon Bruder 2503b99163
readme: Do not copy channel at installation 2022-03-26 13:05:20 +01:00
Simon Bruder 23fc4bfb28
vueko/readme: Reflect current purpose 2022-03-26 13:01:15 +01:00
Simon Bruder 855f7a7450
vueko/bang-evaluator: Migrate to renge 2022-03-26 12:49:01 +01:00
Simon Bruder c70da831eb
tools: Install sqlite globally
It often is needed on servers where there is no user.
2022-03-26 12:42:45 +01:00
Simon Bruder da56357ad8
zsh: Disable globbing of # globally
Otherwise using nix shell et al. as root is a pain.
2022-03-26 12:37:11 +01:00
Simon Bruder d106f39685
flake.lock: Update
Flake lock file changes:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/32f61571b486efc987baca553fb35df22532ba63' (2022-03-16)
  → 'github:nixos/nixos-hardware/feceb4d24f582817d8f6e737cd40af9e162dee05' (2022-03-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2c66a7a6e036971c4847cca424125f55b9eb0b0b' (2022-03-17)
  → 'github:nixos/nixpkgs/d2caa9377539e3b5ff1272ac3aa2d15f3081069f' (2022-03-22)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/73ad5f9e147c0d2a2061f1d4bd91e05078dc0b58' (2022-03-14)
  → 'github:nixos/nixpkgs/1d08ea2bd83abef174fb43cbfb8a856b8ef2ce26' (2022-03-23)
2022-03-26 12:20:06 +01:00
Simon Bruder 19d69ce682
fuuko: Bind exporters to vpn address 2022-03-25 22:11:28 +01:00
Simon Bruder 8dc3558c7c
qbittorrent/exporter: Do not expose seeding time
It is not useful and just wastes storage space.
2022-03-25 21:54:07 +01:00
Simon Bruder a3784e51de
fuuko/secrets: Remove unused restic credentials
They are specified in the global secrets file.
2022-03-25 21:52:56 +01:00
Simon Bruder ebfa0ec16a
fuuko: Migrate matrix and monitoring to renge
Sadly, they are so interconnected, that it is not easily possible to
migrate it in smaller steps. It should be refactored to make them more
modularised and independent of each other.
2022-03-25 21:49:08 +01:00
Simon Bruder c090a420cf
vueko/element-web: Migrate to renge 2022-03-25 20:30:03 +01:00
Simon Bruder 67f52f8c1c
okarin: Update readme to reflect new purpose 2022-03-23 18:09:43 +01:00
Simon Bruder ea8700ffcd
vueko/murmur: Migrate to renge 2022-03-23 18:07:16 +01:00
Simon Bruder dbb2007f22
okarin: Disable postgresql backup 2022-03-23 17:56:41 +01:00
Simon Bruder 0c10b2269d
okarin/ankisyncd: Migrate to renge 2022-03-23 17:55:55 +01:00
Simon Bruder a20be8b312
okarin/sbruder.xyz: Migrate services to renge 2022-03-23 17:50:43 +01:00
Simon Bruder 68dadcf56c
fuuko/hedgedoc: Migrate to renge 2022-03-23 17:34:56 +01:00
Simon Bruder 3a752b9a3d
renge: Add postgresql backup 2022-03-23 17:34:56 +01:00
Simon Bruder 087e46fde8
okarin/gitea: Migrate to renge 2022-03-23 17:34:56 +01:00
Simon Bruder 954849f763
renge: Init 2022-03-23 17:34:56 +01:00
Simon Bruder 76fee5875a
Revert "fuuko/hedgedoc: Migrate to okarin"
This reverts commit bb6952cc09.

The performance on okarin is unbearably slow which makes hedgedoc time
out on most requests.
2022-03-22 19:02:45 +01:00
Simon Bruder de0b208340
Revert "vueko/murmur: Migrate to okarin"
This reverts commit 50ed985671.

The performance on okarin is unbearably slow which makes mumble almost
unusable.
2022-03-21 20:17:23 +01:00
Simon Bruder b0a87e8c9e
fuuko/hydra: Drop
I don’t really use it and never got around to make it actually work.
2022-03-21 15:33:40 +01:00
Simon Bruder 2df718cea9
Clean up remnants from qbittorrent migration 2022-03-20 19:04:19 +01:00
Simon Bruder 1d64463751
flake.lock: Update
Flake lock file changes:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/64fc73bd74f04d3e10cb4e70e1c65b92337e76db' (2022-03-14)
  → 'github:nixos/nixpkgs/2c66a7a6e036971c4847cca424125f55b9eb0b0b' (2022-03-17)
2022-03-20 14:22:10 +01:00
Simon Bruder cd5a5b8356
games/steam-sandbox: Bind factorio directory
It doesn’t use XDG directories, so all settings are reset and only some
aspects that are synced via Steam Cloud were kept.
2022-03-19 19:29:53 +01:00
Simon Bruder ea88259856
okarin/qbittorrent: Init 2022-03-19 10:35:09 +01:00
Simon Bruder 0e3bd19aa8
media-proxy: Unset referer for same-site requests
The qBittorrent WebUI does not work with it set to a different host than
the target. This implementation does not compromise security, because
the referer is only unset if the real referer was the locally proxied
page. All other referers are passed through verbatim.
2022-03-18 23:43:24 +01:00
Simon Bruder a9b6a17818
fuuko/aria2: Replace with qbittorrent 2022-03-18 23:25:05 +01:00
Simon Bruder faa84c574d
qbittorrent: Init module 2022-03-18 22:14:09 +01:00
Simon Bruder 50ed985671
vueko/murmur: Migrate to okarin 2022-03-18 17:00:44 +01:00
Simon Bruder a0946951e8
fuuko/gitea: Migrate to okarin 2022-03-18 16:22:23 +01:00
Simon Bruder 0a3db765e9
flake.lock: Update
Flake lock file changes:

• Updated input 'home-manager':
    'github:nix-community/home-manager/2860d7e3bb350f18f7477858f3513f9798896831' (2022-02-04)
  → 'github:nix-community/home-manager/a8d00f5c038cf7ec54e7dac9c57b171c1217f008' (2022-03-13)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/816a935bf5aa5f77cb1f03ebfe20ab13b112d0f1' (2022-03-09)
  → 'github:nixos/nixos-hardware/32f61571b486efc987baca553fb35df22532ba63' (2022-03-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9b1c7ba323732ddc85a51850a7f10ecc5269b8e9' (2022-03-07)
  → 'github:nixos/nixpkgs/64fc73bd74f04d3e10cb4e70e1c65b92337e76db' (2022-03-14)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/062a0c5437b68f950b081bbfc8a699d57a4ee026' (2022-03-05)
  → 'github:nixos/nixpkgs/73ad5f9e147c0d2a2061f1d4bd91e05078dc0b58' (2022-03-14)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/4e21493d34f7485a568e05b9cbefa11fe047ecd3' (2022-03-07)
  → 'github:Mic92/sops-nix/c01f48b055ac776f9831c9d4a0fff83e3b74dbe3' (2022-03-14)
2022-03-18 14:36:59 +01:00
Simon Bruder aa347b62a7
fuuko/ankisyncd: Migrate to okarin 2022-03-18 14:36:02 +01:00
Simon Bruder bb6952cc09
fuuko/hedgedoc: Migrate to okarin 2022-03-17 15:59:53 +01:00
Simon Bruder b46d3ba1ae
fuuko/factorio: Drop 2022-03-16 14:29:11 +01:00
Simon Bruder 8f7403e66f
mpv: Overhaul selection of shader-based scalers
This removes ravu-zoom and ravu-lite in favour of standard ravu. It also
adds more nnedi3 shaders with neurons between 2^4 and 2^8, each with a
window size of 8x4. This should give a wide range of options that work
on all machines and still give acceptable results (at least balanced to
the performance).

The reason for this switch is ravu’s subpar performance, since it often
produces more artifacts than it avoids.

It also avoids some code duplication at the cost of making it more
complex.
2022-03-14 22:57:35 +01:00
Simon Bruder 13a0afa269
vueko/mail: Add alias 2022-03-13 09:33:45 +01: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 0de69de256
okarin/nitter: Use package from unstable 2022-03-11 14:53:51 +01:00
Simon Bruder 81a900d437
flake.lock: Update
Flake lock file changes:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/a7bca8d0d8188ae9802ecc467150cf018e19b958' (2022-03-04)
  → 'github:nixos/nixos-hardware/816a935bf5aa5f77cb1f03ebfe20ab13b112d0f1' (2022-03-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/47cd6702934434dd02bc53a67dbce3e5493e33a2' (2022-03-04)
  → 'github:nixos/nixpkgs/9b1c7ba323732ddc85a51850a7f10ecc5269b8e9' (2022-03-07)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/3e072546ea98db00c2364b81491b893673267827' (2022-03-02)
  → 'github:nixos/nixpkgs/062a0c5437b68f950b081bbfc8a699d57a4ee026' (2022-03-05)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/afb0d686dced029ea720c466f693c12ebfd4107b' (2022-02-26)
  → 'github:Mic92/sops-nix/4e21493d34f7485a568e05b9cbefa11fe047ecd3' (2022-03-07)
2022-03-11 07:19:55 +01:00
Simon Bruder 093ae2ab4c
flake: Make pre-commit-hooks use nixpkgs-unstable
It depends on alejandra, which is only in nixpkgs unstable at the time.
2022-03-06 09:22:04 +01:00
Simon Bruder 5d8b0aae8a
flake.lock: Update
Flake lock file changes:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/6799201bec19b753a4ac305a53d34371e497941e' (2022-02-25)
  → 'github:cachix/pre-commit-hooks.nix/b6bc0b21e1617e2b07d8205e7fae7224036dfa4b' (2022-03-01)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/c3c66f6db4ac74a59eb83d83e40c10046ebc0b8c' (2022-02-26)
  → 'github:nixos/nixos-hardware/a7bca8d0d8188ae9802ecc467150cf018e19b958' (2022-03-04)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1622abf0e7890a3dac995f6eb5a92f56819ae38e' (2022-02-26)
  → 'github:nixos/nixpkgs/47cd6702934434dd02bc53a67dbce3e5493e33a2' (2022-03-04)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/7f9b6e2babf232412682c09e57ed666d8f84ac2d' (2022-02-21)
  → 'github:nixos/nixpkgs/3e072546ea98db00c2364b81491b893673267827' (2022-03-02)
2022-03-06 09:18:39 +01:00
Simon Bruder 18832e12df
okarin: Add postgresql backup 2022-03-03 12:51:15 +01:00
Simon Bruder 386b1a7ed7
okarin: Migrate nitter from yuzuru 2022-03-03 12:47:30 +01:00
Simon Bruder 66994eefa6
okarin: Migrate invidious from yuzuru 2022-03-03 12:47:30 +01:00
Simon Bruder bd32b62dd6
okarin: Migrate libreddit from yuzuru 2022-03-03 12:47:30 +01:00
Simon Bruder b3ec53afca
okarin: Migrate sbruder.xyz from yuzuru 2022-03-03 12:47:30 +01:00
Simon Bruder 7ed13269a7
okarin: Init 2022-03-03 10:51:19 +01:00
Simon Bruder be283eecb5
vueko/mail: Add alias 2022-03-02 11:52:20 +01:00
Simon Bruder e6b10fa9b0
vueko/mail: Add alias 2022-02-28 12:26:32 +01:00
Simon Bruder 072f95fdc8
vueko/mail: Add alias 2022-02-28 12:25:20 +01:00
Simon Bruder e3f2061897
flake.lock: Update
Flake lock file changes:

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/ff9c0b459ddc4b79c06e19d44251daa8e9cd1746' (2021-12-18)
  → 'github:cachix/pre-commit-hooks.nix/6799201bec19b753a4ac305a53d34371e497941e' (2022-02-25)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/1ccfe243aa6e94bf80f2a66f6be41d086d37fc87' (2022-02-20)
  → 'github:nixos/nixos-hardware/c3c66f6db4ac74a59eb83d83e40c10046ebc0b8c' (2022-02-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/4afca382d80b68bff9e154a97210e5a7bf5df8b3' (2022-02-18)
  → 'github:nixos/nixpkgs/1622abf0e7890a3dac995f6eb5a92f56819ae38e' (2022-02-26)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/d5f237872975e6fb6f76eef1368b5634ffcd266f' (2022-02-20)
  → 'github:nixos/nixpkgs/7f9b6e2babf232412682c09e57ed666d8f84ac2d' (2022-02-21)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/cda46de69a7acef8df1ac07d27c2c2b1a8be8f21' (2022-02-21)
  → 'github:Mic92/sops-nix/afb0d686dced029ea720c466f693c12ebfd4107b' (2022-02-26)
2022-02-28 09:17:55 +01:00
Simon Bruder d56db834fe
vueko/mail: Add alias 2022-02-24 16:35:57 +01:00
Simon Bruder c4381cd564
games: Use dolphin from unstable 2022-02-23 20:46:33 +01:00
Simon Bruder 18144445e4
flake.lock: Update
Flake lock file changes:

• Updated input 'krops':
    'github:Mic92/krops/0388970c568905fedcbf429e5745aacd4f7a6633' (2021-09-23)
  → 'github:Mic92/krops/86fb3d2ee94fd8306231853b323ed8804edf26ec' (2022-02-15)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/c361b954759195c2ac085fbbed5ad7d513e1585b' (2022-02-12)
  → 'github:nixos/nixos-hardware/1ccfe243aa6e94bf80f2a66f6be41d086d37fc87' (2022-02-20)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/7adc9c14ec74b27358a8df9b973087e351425a79' (2022-02-10)
  → 'github:nixos/nixpkgs/4afca382d80b68bff9e154a97210e5a7bf5df8b3' (2022-02-18)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/48d63e924a2666baf37f4f14a18f19347fbd54a2' (2022-02-10)
  → 'github:nixos/nixpkgs/d5f237872975e6fb6f76eef1368b5634ffcd266f' (2022-02-20)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/fc22eff3205e9742c1b0fd229c267bf237f0c43e' (2022-02-11)
  → 'github:Mic92/sops-nix/cda46de69a7acef8df1ac07d27c2c2b1a8be8f21' (2022-02-21)
2022-02-21 19:24:41 +01:00
Simon Bruder 434b6de398
vueko/mail: Add alias 2022-02-17 17:45:14 +01:00
Simon Bruder 16bdd14e5c
vueko/mail: Add alias 2022-02-16 16:19:02 +01:00
Simon Bruder b088ffc013
flake.lock: Update
Flake lock file changes:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/846b2ae0fc4cc943637d3d1def4454213e203cba' (2022-01-20)
  → 'github:numtide/flake-utils/3cecb5b042f7f209c56ffd8371b2711a290ec797' (2022-02-07)
• Updated input 'home-manager':
    'github:nix-community/home-manager/28b9ae40c45c5e7711c353fee1b7af734e293979' (2022-01-20)
  → 'github:nix-community/home-manager/2860d7e3bb350f18f7477858f3513f9798896831' (2022-02-04)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/57c7dfde9d1de3a6f35dc59447990cde4cd3e466' (2022-02-02)
  → 'github:nixos/nixos-hardware/c361b954759195c2ac085fbbed5ad7d513e1585b' (2022-02-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ceaca998029d4b1ac7fd2bee985a3b0f37a786b5' (2022-01-31)
  → 'github:nixos/nixpkgs/7adc9c14ec74b27358a8df9b973087e351425a79' (2022-02-10)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/554d2d8aa25b6e583575459c297ec23750adb6cb' (2022-02-02)
  → 'github:nixos/nixpkgs/48d63e924a2666baf37f4f14a18f19347fbd54a2' (2022-02-10)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/c86068ac9a317f235be24a468206f874ba00f8d0' (2022-01-24)
  → 'github:Mic92/sops-nix/fc22eff3205e9742c1b0fd229c267bf237f0c43e' (2022-02-11)
2022-02-13 13:09:45 +01:00
Simon Bruder a25c7789ed
vueko/murmur: Remove strict username filter 2022-02-11 16:23:16 +01:00
Simon Bruder 6f1322f29a
vueko/mail: Add alias 2022-02-10 16:22:54 +01:00
Simon Bruder 745b7af584
logitech: Init user module 2022-02-09 20:21:27 +01:00
Simon Bruder 176983d0fa
vueko/mail: Add alias 2022-02-09 07:24:29 +01:00
Simon Bruder 175b5e1ef1
logitech: Init 2022-02-09 07:24:23 +01:00
Simon Bruder 8d5480416c
sway: Scale wallpaper with waifu2x-converter-cpp
This has been disabled since 2e33f18a3a,
but since I now have a 4k screen it is useful again.
2022-02-07 20:09:25 +01:00
Simon Bruder 0e2c83690e
flake.lock: Update
Flake lock file changes:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/87a35a0d58f546dc23f37b4f6af575d0e4be6a7a' (2022-01-12)
  → 'github:nixos/nixos-hardware/57c7dfde9d1de3a6f35dc59447990cde4cd3e466' (2022-02-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/b3d86c56c786ad9530f1400adbd4dfac3c42877b' (2022-01-25)
  → 'github:nixos/nixpkgs/ceaca998029d4b1ac7fd2bee985a3b0f37a786b5' (2022-01-31)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/c07b471b52be8fbc49a7dc194e9b37a6e19ee04d' (2022-01-25)
  → 'github:nixos/nixpkgs/554d2d8aa25b6e583575459c297ec23750adb6cb' (2022-02-02)
2022-02-03 19:04:40 +01:00
Simon Bruder 51f31c8716
vueko/mail: Add alias 2022-02-02 17:08:53 +01:00
Simon Bruder c7e900d4a6
vueko/mail: Add alias 2022-01-28 21:50:40 +01:00
Simon Bruder 8955676edc
flake.lock: Update
Flake lock file changes:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e84444b14cc75a4be17b58fd2c344f47dddf084e' (2022-01-21)
  → 'github:nixos/nixpkgs/b3d86c56c786ad9530f1400adbd4dfac3c42877b' (2022-01-25)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/fc4148a47fa927319186061aa42633c8aa5777f1' (2022-01-22)
  → 'github:nixos/nixpkgs/c07b471b52be8fbc49a7dc194e9b37a6e19ee04d' (2022-01-25)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/7edb4b080023ef12f39262a3aa7aab31015a7a0e' (2022-01-05)
  → 'github:Mic92/sops-nix/c86068ac9a317f235be24a468206f874ba00f8d0' (2022-01-24)
2022-01-26 21:24:37 +01:00
Simon Bruder dc499c4065
vueko/mail: Add alias 2022-01-24 16:42:56 +01:00
Simon Bruder 20b861a994
fuuko/torrent: Use AriaNg’s nixpkgs version
Otherwise node 10 will have to be built from source since it no longer
gets built by Hydra.
2022-01-23 11:58:37 +01:00
Simon Bruder a52cb95d44
flake.lock: Update
Flake lock file changes:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/74f7e4319258e287b0f9cb95426c9853b282730b' (2021-11-28)
  → 'github:numtide/flake-utils/846b2ae0fc4cc943637d3d1def4454213e203cba' (2022-01-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/697cc8c68ed6a606296efbbe9614c32537078756' (2021-12-18)
  → 'github:nix-community/home-manager/28b9ae40c45c5e7711c353fee1b7af734e293979' (2022-01-20)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/386234e2a61e1e8acf94dfa3a3d3ca19a6776efb' (2022-01-11)
  → 'github:nixos/nixpkgs/e84444b14cc75a4be17b58fd2c344f47dddf084e' (2022-01-21)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/b2737d4980a17cc2b7d600d7d0b32fd7333aca88' (2022-01-11)
  → 'github:nixos/nixpkgs/fc4148a47fa927319186061aa42633c8aa5777f1' (2022-01-22)
2022-01-23 11:05:48 +01:00
Simon Bruder 922e007db9
restic/system: Don’t explicitly ignore rust target
Newer cargo versions automatically add a CACHEDIR.TAG file to the target
directory.
2022-01-22 10:33:33 +01:00
Simon Bruder 6499b7b196
restic/system: Start earlier
This avoids the backup failing due to clients being suspended during the
backup.
2022-01-22 10:32:51 +01:00
291 changed files with 11627 additions and 5591 deletions

4
.envrc
View File

@ -1 +1,5 @@
# SPDX-FileCopyrightText: 2020-2021 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: CC0-1.0
use flake

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: CC0-1.0
# Do not edit this file. To specify the files to encrypt, create your own
# .gitattributes file in the directory where your files are.
* !filter !diff

View File

@ -0,0 +1,5 @@
„^,w„ Έσ€@&µ<13>kϊ1 [P<>Λ^wύΗGXφ9Ήƒ„ΔόR΄mΩX~0<¨.Δ"$Α<>$φεW<CEB5><57>jΦψ¶BΧ®H+>€WΞ®2<C2AE>ψ&
ΡΟ«d»ΊΊµeϊ„^ΉΎό|Α ΐ@<40>ν <09> bƒTπ`<60>Ώpς¦ϊΨ<06>γ΅nπµη¤¶Ε*0<>θkσb
Θ.X-θ[M@¦α7ΗκΉiδ¥>»ί<C2BB>DWΖω¥¦βmK‡γ<E280A1>t―ώκ·„^3 ΎTΗc@<40>ΝS5<53>0"<22>η+πBδ[[-!¥:/™ύϋEΦ°-90όWTΡq‡―Χζ=“Α»4{m$hTV2µ΄Ό+ΎΠo?c«TnZ©Χ<03>lJ!Τΐ ρρƒ}:<3A>ll|<7C>ΔaιαΫ.U!B „…/~¶ΊΧο<E280A6>Α¥/†6iW¬ki<06>ΆΦφΧΚ)Ζ^M8<4D>τή<<3C>καΒ%Τ<>GΓfφ+λ2gΑ΄V<CE84> p†«IG|ΥlΈXB<58><>·lχ·«H!
<EFBFBD>»λιΩ„©0Οƒ<CE9F>gκ•9
qgk·<6B>ιCM―΄γσΥ'ΣvνΗh΄cNχZΝcό°gA”/R<>³vΕ$nι_Ο<> !S<> Vτ§fεIήΰ

4
.gitattributes vendored
View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020-2021 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: CC0-1.0
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.svg filter=lfs diff=lfs merge=lfs -text

4
.gitignore vendored
View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: CC0-1.0
/*.qcow2
/.pre-commit-config.yaml
/result*

15
.reuse/dep5 Normal file
View File

@ -0,0 +1,15 @@
# vim: set foldmethod=marker:
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nixos-config
Upstream-Contact: Simon Bruder <simon@sbruder.de>
Source: https://git.sbruder.de/simon/nixos-config
Files:
.git-crypt/keys/default/0/*.gpg
secrets.yaml
**/secrets.yaml
keys/*/*.asc
machines/*/secrets/*.nix
pkgs/contact-page/src/pubkey.asc
Copyright: 2020-2024 Simon Bruder <simon@sbruder.de>
License: CC0-1.0

View File

@ -1,48 +1,111 @@
# SPDX-FileCopyrightText: 2021-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: CC0-1.0
keys:
- &simon 47E7559E037A35652DBBF8AA8D3C82F9F309F8EC
# sops does not (yet) support ADSKs,
# so all encryption subkeys have to be added manually
- &simon 6CD375BD0741F67E5A289BC333A01CBE0554C763 # offline
- &simon-alpha 0C8AF4B4320A511384DF6B5BB9BEFC7CC112A0C0
- &simon-beta 403215E0F99D2582C7055C512C77841620B8F380
- &nunotaba 8C5091AEA213FB0642BD46F943EE19743FAC1D5C
- &sayuri 17FEEBB45E4245330507C960653378F10CA6E00A
- &vueko BB046D773F54739757553A053CB9B8EFD7FED749
- &hitagi 17FEEBB45E4245330507C960653378F10CA6E00A
- &vueko 4EA330328CD0D3076E90960194DFA4953D8729DE
- &fuuko 2372651C56E22972C2D9F3F569C8187C9C43754E
- &mayushii 23EEDF49AAF1B41DCD1CD10F44A37FA8C15053B3
- &yuzuru F4B5F6971A1FAEA1216FCE1C6745A652A31186DB
- &renge 06a917fc4a2a1b6b0f69a830285075cac85b7035
- &nunotaba 3176be14f468c6d43ab2206b4f273abccd49806b
- &okarin e7370b48016c961ef8ad792fda66b19d845b3156
- &shinobu 28677f2e3584b39f528a779caf445ebb39c882b7
- &nazuna 0b8be5d87a10a0e68dda97212c4befad1f9e915c
- &yuzuru a1ee5bc0249163a047440ef2649e770ec6ea16e4
creation_rules:
- path_regex: machines/nunotaba/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *nunotaba
- path_regex: machines/sayuri/secrets\.yaml$
- path_regex: machines/hitagi/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *sayuri
- *simon-alpha
- *simon-beta
- *hitagi
- path_regex: machines/vueko/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *vueko
- path_regex: machines/fuuko/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *fuuko
- path_regex: machines/mayushii/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *mayushii
- path_regex: machines/okarin/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *okarin
- path_regex: machines/renge/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *renge
- path_regex: machines/nunotaba/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *nunotaba
- path_regex: machines/shinobu/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *shinobu
- path_regex: machines/nazuna/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *nazuna
- path_regex: machines/yuzuru/secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *yuzuru
- path_regex: secrets\.yaml$
key_groups:
- pgp:
- *simon
- *simon-alpha
- *simon-beta
- *nunotaba
- *sayuri
- *hitagi
- *vueko
- *fuuko
- *mayushii
- *renge

19
LICENSE
View File

@ -1,19 +0,0 @@
Copyright 2020 Simon Bruder
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -0,0 +1,235 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software.
A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public.
The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version.
An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based on the Program.
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices".
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements.
You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.

73
LICENSES/Apache-2.0.txt Normal file
View File

@ -0,0 +1,73 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

170
LICENSES/CC-BY-SA-4.0.txt Normal file
View File

@ -0,0 +1,170 @@
Creative Commons Attribution-ShareAlike 4.0 International
Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors.
Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensors permission is not necessary for any reasonfor example, because of any applicable exception or limitation to copyrightthen that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public.
Creative Commons Attribution-ShareAlike 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
Section 1 Definitions.
a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
c. BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License.
d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
g. License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike.
h. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
i. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
j. Licensor means the individual(s) or entity(ies) granting rights under this Public License.
k. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
l. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
m. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
Section 2 Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
A. reproduce and Share the Licensed Material, in whole or in part; and
B. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
3. Term. The term of this Public License is specified in Section 6(a).
4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
5. Downstream recipients.
A. Offer from the Licensor Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
B. Additional offer from the Licensor Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapters License You apply.
C. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this Public License.
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
Section 3 License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified form), You must:
A. retain the following if it is supplied by the Licensor with the Licensed Material:
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of warranties;
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
b. ShareAlike.In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
1. The Adapters License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
Section 4 Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
Section 5 Disclaimer of Warranties and Limitation of Liability.
a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
Section 6 Term and Termination.
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
2. upon express reinstatement by the Licensor.
c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
Section 7 Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
Section 8 Interpretation.
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
Creative Commons may be contacted at creativecommons.org.

121
LICENSES/CC0-1.0.txt Normal file
View File

@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

8
LICENSES/ISC.txt Normal file
View File

@ -0,0 +1,8 @@
ISC License:
Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
Copyright (c) 1995-2003 by Internet Software Consortium
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

9
LICENSES/MIT.txt Normal file
View File

@ -0,0 +1,9 @@
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2020-2024 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
# NixOS configuration
## Structure
@ -35,21 +41,16 @@ with random luks passphrase and no LVM).
Set up wifi if no wired connection is available:
wpa_passphrase "SSID" "PSK" | wpa_supplicant -B -i wlp4s0 -c/dev/stdin
systemctl start wpa_supplicant
wpa-cli
add_network
set_network 0 ssid "SSID"
set_network 0 psk "PSK"
set_network 0 key_mgmt WPA-PSK
enable_network 0
Create the partition table (enter the indented lines in the repl):
parted /dev/sdX
mktable GPT
mkpart primary 1MiB 2MiB
mkpart primary 2MiB 500MiB
mkpart primary 500MiB 100%
set 1 bios_grub on
disk_toggle pmbr_boot
quit
On UEFI:
parted /dev/nvmeXnY
mktable GPT
mkpart ESP 1MiB 512MiB
@ -57,10 +58,21 @@ On UEFI:
set 1 esp on
quit
On MBR:
parted /dev/sdX
mktable GPT
mkpart primary 1MiB 2MiB
mkpart primary 2MiB 512MiB
mkpart primary 512MiB 100%
set 1 bios_grub on
disk_toggle pmbr_boot
quit
Format encrypted partition and open it:
cryptsetup luksFormat --type luks2 /dev/sdX3
cryptsetup open --type luks2 /dev/sdX3 HOSTNAME-pv
cryptsetup luksFormat --type luks2 /dev/nvmeXnYp2
cryptsetup open /dev/nvmeXnYp2 HOSTNAME-pv
Create LVM (replace `8G` with desired swap size):
@ -75,21 +87,21 @@ the following after opening the luks partition: `vgchange -ay`.
Create filesystems:
mkfs.ext2 /dev/sdX2
mkfs.fat -F 32 -n boot /dev/nvmeXnYpZ
mkfs.btrfs -L root /dev/HOSTNAME-vg/root
mkswap -L swap /dev/HOSTNAME-vg/swap
On UEFI:
On MBR:
mkfs.fat -F 32 -n boot /dev/nvmeXnYpZ
mkfs.ext2 /dev/sdX2
mkfs.btrfs -L root /dev/HOSTNAME-vg/root
mkswap -L swap /dev/HOSTNAME-vg/swap
Mount the file systems and activate swap:
mount /dev/HOSTNAME-vg/root /mnt
mount -o compress=zstd /dev/HOSTNAME-vg/root /mnt
mkdir /mnt/boot
mount /dev/sdX2 /mnt/boot
mount /dev/nvmeXnYp1 /mnt/boot
swapon /dev/HOSTNAME-vg/swap
Generate hardware configuration and copy hardware configuration to machine
@ -105,7 +117,7 @@ adding an entry to `machines/default.nix`. Then copy this repository to the
target machine and run (`--impure` is needed since `/mnt/nix/store` is not in
`/nix/store`):
nixos-install --impure --flake /path/to/repository#hostname
nixos-install --no-channel-copy --impure --flake /path/to/repository#hostname
Add the krops sentinel file:
@ -116,8 +128,25 @@ Reboot.
## License
Unless otherwise noted in the specific files or directories,
the files in this repository are licensed under the [MIT License](LICENSE).
This only applies to the nix expressions, not the built system or package closures.
Patches may also be licensed differently,
since they may be derivative works of the packages to which they apply.
This repository is [REUSE](https://reuse.software/) compliant.
To get the most correct licensing information,
please consult the [REUSE specification](https://reuse.software/spec/)
or use a tool that parses it.
As a rule of thumb,
most code files are released under the `AGPL-3.0-or-later`,
most generated files are specified as `CC0-1.0` (as they are not copyrightable)
and small independent scripts are licensed under `Apache-2.0`.
However, there are deviations from this,
so always consult the file header and other resources as specified in the REUSE specification.
Please note that those licensing terms only apply to the source files in this repository,
not any build outputs, like system or package closures.
They might be licensed differently, depending on their source.
If you think you have a compelling reason
why you should be able to use part of this repository under a more permissive license,
please contact me,
so we can figure something out.
Please note, that I can only offer this for files that are solely authored by me,
as I do not own the rights to other peoples code.

View File

@ -1,51 +1,5 @@
{
"nodes": {
"AriaNg": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1641157028,
"narHash": "sha256-Da9GR1v2niJCU02NnC3aKLDMkUDEN2GULFgBQAT3tsY=",
"ref": "master",
"rev": "ea678a781a34613cf67c9c81d4f176d531f40630",
"revCount": 604,
"type": "git",
"url": "https://git.sbruder.de/simon/AriaNg"
},
"original": {
"type": "git",
"url": "https://git.sbruder.de/simon/AriaNg"
}
},
"aria2_exporter": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1621073204,
"narHash": "sha256-NXjp8rgWsNwX3WR8F11TAGxYoi8QZjrmuc5nsj/IjdQ=",
"owner": "sbruder",
"repo": "aria2_exporter",
"rev": "4b170f34720be5da2d2b8e791ff891624fe40e51",
"type": "github"
},
"original": {
"owner": "sbruder",
"repo": "aria2_exporter",
"type": "github"
}
},
"bang-evaluator": {
"inputs": {
"flake-utils": [
@ -56,11 +10,11 @@
]
},
"locked": {
"lastModified": 1627835028,
"narHash": "sha256-LHTdNog+0EmRn+4DIz451vvQ2EeC8KwyV3/8JpX9yiw=",
"ref": "master",
"rev": "7fc3d5019c907566abbad8f84ba9555a5786bd01",
"revCount": 52,
"lastModified": 1701527050,
"narHash": "sha256-EphJZX+rhnzUUladmeXvmYHILftHLV5i1sD18pGbxHY=",
"ref": "refs/heads/master",
"rev": "a06c68c44862f74757a203e2df41ea83c33722d9",
"revCount": 54,
"type": "git",
"url": "https://git.sbruder.de/simon/bangs"
},
@ -69,13 +23,32 @@
"url": "https://git.sbruder.de/simon/bangs"
}
},
"flake-utils": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1638122382,
"narHash": "sha256-sQzZzAbvKEqN9s0bzWuYmRaA03v40gaJ4+iL1LXjaeI=",
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "74f7e4319258e287b0f9cb95426c9853b282730b",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
@ -84,6 +57,27 @@
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"nix-pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -91,16 +85,36 @@
]
},
"locked": {
"lastModified": 1639871969,
"narHash": "sha256-6feWUnMygRzA9tzkrfAzpA5/NBYg75bkFxnqb1DtD7E=",
"lastModified": 1712386041,
"narHash": "sha256-dA82pOMQNnCJMAsPG7AXG35VmCSMZsJHTFlTHizpKWQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "697cc8c68ed6a606296efbbe9614c32537078756",
"rev": "d6bb9f934f2870e5cbc5b94c79e9db22246141ff",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-23.11",
"repo": "home-manager",
"type": "github"
}
},
"home-manager-unstable": {
"inputs": {
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1712989663,
"narHash": "sha256-r2X/DIAyKOLiHoncjcxUk1TENWDTTaigRBaY53Cts/w=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "40ab43ae98cb3e6f07eaeaa3f3ed56d589da21b0",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-21.11",
"repo": "home-manager",
"type": "github"
}
@ -108,17 +122,17 @@
"infinisilSystem": {
"flake": false,
"locked": {
"lastModified": 1626615686,
"narHash": "sha256-eXt4eon7oEg1gBUC8myZNACmDisgsQOAHGlnDhyG6zk=",
"lastModified": 1647486090,
"narHash": "sha256-JnhSUUIs7ioGDkZ/P7C0wGZH9fA81uv0R6aHtkr1W5Y=",
"owner": "Infinisil",
"repo": "system",
"rev": "f1fd247eca84abccbad3b57da39454702d7ef2c6",
"rev": "9f7cf7497d26d57996edc7f70edcf7d2cccfdf60",
"type": "github"
},
"original": {
"owner": "Infinisil",
"repo": "system",
"rev": "f1fd247eca84abccbad3b57da39454702d7ef2c6",
"rev": "9f7cf7497d26d57996edc7f70edcf7d2cccfdf60",
"type": "github"
}
},
@ -132,11 +146,11 @@
]
},
"locked": {
"lastModified": 1632420452,
"narHash": "sha256-ncK6vABW/Ku9XI0kqj1otarUfblryoQzSaOCnaZ0oSs=",
"lastModified": 1644957911,
"narHash": "sha256-ggie/j7pdBqzDs4W7OiPmhqH9IGbXAbJxGqBdVxA8jA=",
"owner": "Mic92",
"repo": "krops",
"rev": "0388970c568905fedcbf429e5745aacd4f7a6633",
"rev": "86fb3d2ee94fd8306231853b323ed8804edf26ec",
"type": "github"
},
"original": {
@ -145,21 +159,67 @@
"type": "github"
}
},
"nix-pre-commit-hooks": {
"naersk": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"password-hash-self-service",
"nixpkgs"
]
},
"locked": {
"lastModified": 1639823344,
"narHash": "sha256-jlsQb2y6A5dB1R0wVPLOfDGM0wLyfYqEJNzMtXuzCXw=",
"lastModified": 1698420672,
"narHash": "sha256-/TdeHMPRjjdJub7p7+w55vyABrsJlt5QkznPYy55vKA=",
"owner": "nmattia",
"repo": "naersk",
"rev": "aeb58d5e8faead8980a807c840232697982d47b9",
"type": "github"
},
"original": {
"owner": "nmattia",
"repo": "naersk",
"type": "github"
}
},
"nix-github-actions": {
"inputs": {
"nixpkgs": [
"nixpkgs-overlay",
"poetry2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1698974481,
"narHash": "sha256-yPncV9Ohdz1zPZxYHQf47S8S0VrnhV7nNhCawY46hDA=",
"owner": "nix-community",
"repo": "nix-github-actions",
"rev": "4bb5e752616262457bc7ca5882192a564c0472d2",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-github-actions",
"type": "github"
}
},
"nix-pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": [
"flake-utils"
],
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs-unstable"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1712897695,
"narHash": "sha256-nMirxrGteNAl9sWiOhoN5tIHyjBbVi5e2tgZUgZlK3Y=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "ff9c0b459ddc4b79c06e19d44251daa8e9cd1746",
"rev": "40e6053ecb65fcbf12863338a6dcefb3f55f1bf8",
"type": "github"
},
"original": {
@ -171,11 +231,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1641965797,
"narHash": "sha256-AfxfIzAZbt9aAzpVBn0Bwhd/M4Wix7G91kEjm9H6FPo=",
"lastModified": 1712909959,
"narHash": "sha256-7/5ubuwdEbQ7Z+Vqd4u0mM5L2VMNDsBh54visp27CtQ=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "87a35a0d58f546dc23f37b4f6af575d0e4be6a7a",
"rev": "f58b25254be441cd2a9b4b444ed83f1e51244f1f",
"type": "github"
},
"original": {
@ -187,16 +247,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1641870998,
"narHash": "sha256-6HkxR2WZsm37VoQS7jgp6Omd71iw6t1kP8bDbaqCDuI=",
"lastModified": 1712741485,
"narHash": "sha256-bCs0+MSTra80oXAsnM6Oq62WsirOIaijQ/BbUY59tR4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "386234e2a61e1e8acf94dfa3a3d3ca19a6776efb",
"rev": "b2cf36f43f9ef2ded5711b30b1f393ac423d8f72",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-21.11",
"ref": "nixos-23.11",
"repo": "nixpkgs",
"type": "github"
}
@ -211,14 +271,15 @@
],
"nixpkgs": [
"nixpkgs"
]
],
"poetry2nix": "poetry2nix"
},
"locked": {
"lastModified": 1638388788,
"narHash": "sha256-4t+iDoZO9X8fM1cWfbCbsIagRN0PRkpGcJKaMLJE7yc=",
"ref": "master",
"rev": "72d323ca0410a08abc2d981b812c5cd0fd3338bf",
"revCount": 38,
"lastModified": 1712934106,
"narHash": "sha256-JubHgaV6HUZarwwq4y2rxJaaj2a6euErJfCqpmhrhWk=",
"ref": "refs/heads/master",
"rev": "2bcb2b6c7b0e04f4ef8e51e00fd93a5e5cb00bf8",
"revCount": 66,
"type": "git",
"url": "https://git.sbruder.de/simon/nixpkgs-overlay"
},
@ -227,13 +288,45 @@
"url": "https://git.sbruder.de/simon/nixpkgs-overlay"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1710695816,
"narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "614b4613980a522ba49f0d194531beddbb7220d3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1712437997,
"narHash": "sha256-g0whLLwRvgO2FsyhY8fNk+TWenS3jg5UdlWL4uqgFeo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e38d7cb66ea4f7a0eb6681920615dfcc30fc2920",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1641887635,
"narHash": "sha256-kDGpufwzVaiGe5e1sBUBPo9f1YN+nYHJlYqCaVpZTQQ=",
"lastModified": 1712791164,
"narHash": "sha256-3sbWO1mbpWsLepZGbWaMovSO7ndZeFqDSdX0hZ9nVyw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "b2737d4980a17cc2b7d600d7d0b32fd7333aca88",
"rev": "1042fd8b148a9105f3c0aca3a6177fd1d9360ba5",
"type": "github"
},
"original": {
@ -243,13 +336,79 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1703438236,
"narHash": "sha256-aqVBq1u09yFhL7bj1/xyUeJjzr92fXVvQSSEx6AdB1M=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5f64a12a728902226210bf01d25ec6cbb9d9265b",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"password-hash-self-service": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"naersk": "naersk",
"nixpkgs": "nixpkgs_2",
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1703801091,
"narHash": "sha256-ay1oI2IxhODG4KheqdxqlHlt6bUmvAogRZbzIcavR+k=",
"ref": "refs/heads/master",
"rev": "9bddae5f112cdc471faf1a71d34bc4cc2497e946",
"revCount": 16,
"type": "git",
"url": "https://git.sbruder.de/simon/password-hash-self-service"
},
"original": {
"type": "git",
"url": "https://git.sbruder.de/simon/password-hash-self-service"
}
},
"poetry2nix": {
"inputs": {
"flake-utils": [
"nixpkgs-overlay",
"flake-utils"
],
"nix-github-actions": "nix-github-actions",
"nixpkgs": [
"nixpkgs-overlay",
"nixpkgs"
],
"systems": "systems_2",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1701399357,
"narHash": "sha256-QSGP2J73HQ4gF5yh+MnClv2KUKzcpTmikdmV8ULfq2E=",
"owner": "nix-community",
"repo": "poetry2nix",
"rev": "7acb78166a659d6afe9b043bb6fe5cb5e86bb75e",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "poetry2nix",
"type": "github"
}
},
"root": {
"inputs": {
"AriaNg": "AriaNg",
"aria2_exporter": "aria2_exporter",
"bang-evaluator": "bang-evaluator",
"flake-utils": "flake-utils",
"home-manager": "home-manager",
"home-manager-unstable": "home-manager-unstable",
"infinisilSystem": "infinisilSystem",
"krops": "krops",
"nix-pre-commit-hooks": "nix-pre-commit-hooks",
@ -257,21 +416,48 @@
"nixpkgs": "nixpkgs",
"nixpkgs-overlay": "nixpkgs-overlay",
"nixpkgs-unstable": "nixpkgs-unstable",
"password-hash-self-service": "password-hash-self-service",
"sops-nix": "sops-nix"
}
},
"rust-overlay": {
"inputs": {
"flake-utils": [
"password-hash-self-service",
"flake-utils"
],
"nixpkgs": [
"password-hash-self-service",
"nixpkgs"
]
},
"locked": {
"lastModified": 1703729606,
"narHash": "sha256-5QlUMNPKv++mWlS2r3F8bffoSBHXq1qHg+V5mnfSixg=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "347789ef125df15b685e8295364ad8ed331fef94",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
],
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1641374494,
"narHash": "sha256-a56G6Um43+0+n+yNYhRCh/mSvDdRVzQHSKcFaDEB9/8=",
"lastModified": 1712617241,
"narHash": "sha256-a4hbls4vlLRMciv62YrYT/Xs/3Cubce8WFHPUDWwzf8=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "7edb4b080023ef12f39262a3aa7aab31015a7a0e",
"rev": "538c114cfdf1f0458f507087b1dcf018ce1c0c4c",
"type": "github"
},
"original": {
@ -279,6 +465,57 @@
"repo": "sops-nix",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"id": "systems",
"type": "indirect"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs-overlay",
"poetry2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1699786194,
"narHash": "sha256-3h3EH1FXQkIeAuzaWB+nK0XK54uSD46pp+dMD3gAcB4=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "e82f32aa7f06bbbd56d7b12186d555223dc399d1",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",

3
flake.lock.license Normal file
View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2021-2024 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC0-1.0

View File

@ -1,14 +1,20 @@
# SPDX-FileCopyrightText: 2021-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{
description = "NixOS system configuration";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-21.11";
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager-unstable.url = "github:nix-community/home-manager";
home-manager-unstable.inputs.nixpkgs.follows = "nixpkgs-unstable";
krops.url = "github:Mic92/krops";
krops.inputs.flake-utils.follows = "flake-utils";
@ -18,12 +24,12 @@
nix-pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix/master";
nix-pre-commit-hooks.inputs.flake-utils.follows = "flake-utils";
nix-pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
nix-pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs-unstable";
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
infinisilSystem.url = "github:Infinisil/system/f1fd247eca84abccbad3b57da39454702d7ef2c6";
infinisilSystem.url = "github:Infinisil/system/9f7cf7497d26d57996edc7f70edcf7d2cccfdf60";
infinisilSystem.flake = false;
nixpkgs-overlay.url = "git+https://git.sbruder.de/simon/nixpkgs-overlay";
@ -35,13 +41,8 @@
bang-evaluator.inputs.flake-utils.follows = "flake-utils";
bang-evaluator.inputs.nixpkgs.follows = "nixpkgs";
aria2_exporter.url = "github:sbruder/aria2_exporter";
aria2_exporter.inputs.flake-utils.follows = "flake-utils";
aria2_exporter.inputs.nixpkgs.follows = "nixpkgs";
AriaNg.url = "git+https://git.sbruder.de/simon/AriaNg";
AriaNg.inputs.flake-utils.follows = "flake-utils";
AriaNg.inputs.nixpkgs.follows = "nixpkgs";
password-hash-self-service.url = "git+https://git.sbruder.de/simon/password-hash-self-service";
password-hash-self-service.inputs.flake-utils.follows = "flake-utils";
};
outputs =
@ -66,6 +67,13 @@
black.enable = true;
nixpkgs-fmt.enable = true;
shellcheck.enable = true;
reuse = {
enable = true;
name = "reuse";
entry = "reuse lint";
pass_filenames = false;
};
};
};
};
@ -111,13 +119,30 @@
deploy-local = lib.recurseIntoAttrs (lib.mapAttrs
(hostname: machine: pkgs.writeShellScript "deploy-local-${hostname}" ''
${pkgs.nixos-rebuild.override { nix = pkgs.nixFlakes; }}/bin/nixos-rebuild \
switch \
--flake .#${hostname} \
-L \
--build-host localhost \
--target-host root@${machine.config.deployment.targetHost} \
--use-substitutes
set -euo pipefail
SUBSTITUTE="-s"
for i in "$@"; do
case $i in
-S)
SUBSTITUTE=""
;;
esac
done
closure="$(nix build -L --print-out-paths .#nixosConfigurations.${hostname}.config.system.build.toplevel)"
nix copy \
$SUBSTITUTE \
-L \
--to ssh://root@${machine.config.deployment.targetHost} \
"$closure"
ssh root@${machine.config.deployment.targetHost} nix-env -p /nix/var/nix/profiles/system --set ''${closure}
ssh root@${machine.config.deployment.targetHost} ''${closure}/bin/switch-to-configuration switch
return="$?"
if [ "$return" != 0 ]; then
echo "Error(s) occurred while Switching configuration"
exit "$retuen"
fi
'')
self.nixosConfigurations);
@ -135,11 +160,7 @@
ssh \
${lib.optionalString unlockOverV4 "-4"} \
-p 2222 \
"root@$(${pkgs.dnsutils}/bin/dig \
+short \
@${if unlockOverV4 then "8.8.8.8" else "2001:4860:4860::8888"} \
${targetHost} \
${if unlockOverV4 then "A" else "AAAA"})" \
"root@${targetHost}" \
"cat > /crypt-ramfs/passphrase" < <(pass "devices/${hostname}/luks")
'')
self.nixosConfigurations);
@ -150,10 +171,11 @@
});
devShell = pkgs.mkShell {
devShells.default = pkgs.mkShell {
buildInputs = (with pkgs; [
black
nixpkgs-fmt
reuse
shellcheck
sops
ssh-to-pgp
@ -164,7 +186,7 @@
'' + self.checks.${system}.pre-commit-check.shellHook;
};
}) // {
overlay = import ./pkgs;
overlays.default = import ./pkgs;
nixosConfigurations = nixpkgs.lib.mapAttrs
(hostname: { system
@ -204,10 +226,10 @@
};
})
] ++ (with inputs; [
home-manager.nixosModules.home-manager
# Use newest home-manager for hosts that use unstable, otherwise there are conflicts
(if nixpkgs == inputs.nixpkgs-unstable then home-manager-unstable else home-manager).nixosModules.home-manager
sops-nix.nixosModules.sops
aria2_exporter.nixosModules.aria2_exporter
bang-evaluator.nixosModules.bang-evaluator
]) ++ (builtins.attrValues nixpkgs-overlay.nixosModules)
++ extraModules;

28
keys/machines/nazuna.asc Normal file
View File

@ -0,0 +1,28 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
xsFNBAAAAAABEACFObg8AdI3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e7BX+pkm4NHHF6qESVUrnkgP
O6P/ClduwYhMDrbM24tcKJuBFWpBBRW0djdhSOL4inu0UL5roWb3pvPhctJk7pVK
N+zd8LeVelJRNnN4y2SPx6m5ASIHjkVp74S8LfbuFI1EhrJEoe9IzWsZtQARAQAB
zSlyb290IChJbXBvcnRlZCBmcm9tIFNTSCkgPHJvb3RAbG9jYWxob3N0PsLBYgQT
AQgAFgUCAAAAAAkQKFB1yshbcDUCGw8CGQEAALl9EACCvN/6gqcq6kFi4BeinyoE
BFCYt4kdLPw17yyMXSMBY+wdy8tp1z0Fe97wIVU/zYoHQYks8r4P890kNHj8QftI
rQ9zXrJvzAzYGfE0EfIARSZY5dH9LT/qi0pGadNJ+5ru33cKtTEHDXwyI4sF/0a8
GmNtUH1Wd+EFIbi6C4s9BEjuin2dhJrqUvthwj++Exy2jk4RXk1PTDhwDPmrGfvr
TnA8kjppP23ytVbAflE9mEOKMx7lEatsgtZsnzxqW4eF7/xuIVOOJdkTFvKGV0No
I1q83EwfkSZioSncH3SFSEL3GN1yCXG7KLFbYawzTIabEozSmi16A1C4VVtOLeIB
++MdypKMArLGReun0P5t+KCUmjqfkfOltXgfjIlTKy6/9ZiIyuueLstJG0L2aByQ
s4WLkDgnqBfpd+t5KsIkwL9bC20myccoKr1+GH48RRxP6fmujh+Dzq9rhwWA4X0E
CQD6qldQPQqQsO4LdNCmNgrElME27HceoYMxKiwUvcnL76kcAddkJIh96NMFu+Bv
457ekx/CLR/LZW3HVg7nie+VcrHFwPvItLlosciARgOwUmJ5hIvqWATuBJs81Q+O
edNZDIQ31dhdm5ThVF8+fWX1xpdtegHkY1UeoYqlPktkakpIjoHtMMSnQueL+U7k
C2y+adnVye+TTy0KfsIsLg==
=kq4d
-----END PGP PUBLIC KEY BLOCK-----

28
keys/machines/shinobu.asc Normal file
View File

@ -0,0 +1,28 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
xsFNBAAAAAABEADNBcn9+nyc5vgZt2xhOwKnNaLys5m7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cef8DMowEAgA5A3aSX8x9+p34t
6ZX1dbgItWYS1a2bvqlEkvUBnwa4MwRlrX8yFgkrBgEEAdpHDwEBB0D37Ln0CHRc
1itQdbnpQs7fFyWqLm5UT59YI2b7pkhK/oh+BBgWCgAmFiEE1IoayrHNvRcBUWYr
saC0pFiFoDEFAmWtfzICGyAFCQPCZwAACgkQsaC0pFiFoDFaJgEAmtpmq5QnshEE
HDs9yBTxWAnrYfPnvyOi4KID6FbJTI0BAPNohV+XiBbQKmmKrWb5ui0BXNISPCYk
H6R7fxacajUC
=361S
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,44 +1,79 @@
# SPDX-FileCopyrightText: 2021-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ ... }@inputs:
let
hardware = inputs.nixos-hardware.nixosModules;
in
{
sayuri = {
nunotaba = {
system = "x86_64-linux";
extraModules = [
hardware.common-cpu-intel
hardware.common-pc-ssd
];
};
vueko = {
hitagi = {
system = "x86_64-linux";
extraModules = [
"${inputs.infinisilSystem}/config/new-modules/murmur.nix"
hardware.common-cpu-amd
hardware.common-pc-ssd
];
};
vueko = {
system = "aarch64-linux";
targetHost = "vueko.sbruder.de";
};
fuuko = {
system = "x86_64-linux";
extraModules = [
hardware.common-cpu-intel
hardware.common-cpu-amd
hardware.common-pc-ssd
];
targetHost = "fuuko.home.sbruder.de";
unlockOverV4 = false; # gets slaac ipv6 address from router
targetHost = "fuuko.lan.shinonome-lab.de";
};
mayushii = {
system = "x86_64-linux";
extraModules = [
hardware.common-cpu-amd
#hardware.lenovo-thinkpad-p14s-amd-gen2
(import "${inputs.nixos-hardware}/lenovo/thinkpad/p14s/amd/gen2")
hardware.common-pc-ssd
];
};
renge = {
system = "aarch64-linux";
extraModules = [
"${inputs.infinisilSystem}/config/new-modules/murmur.nix"
];
targetHost = "renge.sbruder.de";
};
okarin = {
system = "x86_64-linux";
targetHost = "okarin.sbruder.de";
};
shinobu = {
system = "x86_64-linux";
extraModules = [
hardware.common-cpu-intel
hardware.common-pc-ssd
];
targetHost = "shinobu.lan.shinonome-lab.de";
};
nazuna = {
system = "x86_64-linux";
targetHost = "nazuna.sbruder.de";
};
yuzuru = {
system = "x86_64-linux";
targetHost = "yuzuru.sbruder.xyz";
targetHost = "yuzuru.sbruder.de";
};
}

View File

@ -1,26 +1,32 @@
<!--
SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
# fuuko
## Hardware
HP MicroServer Gen8 with an [Intel Xeon E3-1220L
v2](https://ark.intel.com/content/www/us/en/ark/products/65735/intel-xeon-processor-e3-1220l-v2-3m-cache-2-30-ghz.html)
and 8GiB ECC RAM (1600MHz). It isnt the best choice, but I already had it
lying around and it is acceptable after changing the CPU from the original
Celeron. I decided not to use another consumer-grade computer for this, since
the server offers ECC memory and therefore should be more reliable.
Custom build in a be quiet! Pure Base 600.
The SSD (Intel DC S4500 480GB) is connected to the first drive slot in a 3.5 ″
adapter. I originally wanted to connect it to the internal ODD SATA port, but
since it only supports SATA2 (3Gbit/s) and does not support booting from it,
requiring an additional boot drive, I decided against this.
For storage it has two Hard drives (Seagate Exos E 7E8 ST8000NM000A and WD
Ultrastar DC HC320 0B36404) in BTRFS RAID1. They are connected to the 2rd and
3th bay. Bay 3 is only SATA2, but that should not be the bottleneck.
* Motherboard: GIGABYTE B450M S2H
* CPU: AMD Ryzen 5 1400
* RAM: 2×8GB GOODRAM DDR4-2666 CL19
* PSU: be quiet! System Power B9 450W
* SSD: Intel DC S4500 480GB
* SSD: Lexar NM620 TB (for frequently accessed data that is not very important)
* HDD: Seagate Exos E 7E8 ST8000NM000A and WD Ultrastar DC HC320 0B36404 (both 8TB) in btrfs RAID1
* GPU (required for text console/firmware due to lack of integrated graphics in R5 1400): NVIDIA Quadro NVS 290 (the PCIe x1 variant)
* Case fan: Noctua NF-A9 PWM
* Blu-ray burner LG WH16NS60
* Additional NIC: Intel I225-V
## Purpose
It is my main server handling most long-runing tasks and services.
It is my main storage server
that is responsible for handling storage and processing of big files
to which I need a high throughput connection.
## Name

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
{
imports = [
@ -5,21 +9,11 @@
../../modules
../../users/simon
./services/ankisyncd.nix
./services/binary-cache.nix
./services/dnsmasq.nix
./services/factorio.nix
./services/gitea.nix
./services/grafana.nix
./services/hedgedoc.nix
./services/hydra.nix
./services/matrix
./services/languagetool.nix
./services/media-backup.nix
./services/media.nix
./services/prometheus.nix
./services/scan.nix
./services/photoprism.nix
./services/torrent.nix
./services/wordclock-dimmer.nix
];
sbruder = {
@ -27,51 +21,31 @@
nginx.hardening.enable = true;
restic.system = {
enable = true;
qos = true;
extraPaths = [
"/data"
];
extraExcludes = [
"/data/cold/media/video"
"/data/cold/misc"
"/data/cold/torrent"
"/data/hot/torrent"
"/data/media/video"
"/data/misc"
"/data/torrent"
];
prune = true;
};
unfree.allowSoftware = true;
};
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."fuuko.home.sbruder.de" = {
enableACME = true;
forceSSL = true;
};
virtualHosts."sbruder.de" = {
enableACME = true;
forceSSL = true;
root = pkgs.sbruder.contact;
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
systemd.services.nginx.serviceConfig.SupplementaryGroups = lib.singleton "keys";
services.postgresqlBackup = {
enable = true;
startAt = [ ]; # triggered by restic system backup
location = "/data/backup/postgresql";
};
systemd.services.restic-backups-system = {
after = [ "postgresqlBackup.service" ];
wants = [ "postgresqlBackup.service" ];
};
services.syncthing.enable = true;
services.udisks2.enable = true; # does not have gui, but often deals with removable storage
networking.hostName = "fuuko";

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, modulesPath, pkgs, ... }:
{
@ -7,26 +11,21 @@
];
boot = {
kernelModules = [ "kvm-intel" ];
blacklistedKernelModules = [ "acpi_power_meter" ]; # constantly pollutes kernel log
kernelModules = [ "kvm-amd" "sg" ];
extraModulePackages = [ ];
extraModprobeConfig = ''
options gigabyte_wmi force_load=1
'';
supportedFilesystems = [ "btrfs" ];
kernelParams =
let
mainInterface = config.systemd.network.networks.eno1;
first = lib.flip lib.elemAt 0;
in
[
"ip=${first mainInterface.address}::${first mainInterface.gateway}::${config.networking.hostName}:${mainInterface.name}"
];
kernelParams = [ "ip=dhcp" ];
initrd = {
availableKernelModules = [
"aesni_intel" # hardware crypto for luks
"ahci"
"ehci_pci"
"cryptd"
"igc" # network interface for remote unlocking
"r8169" # "
"sd_mod"
"tg3" # network interface
"uhci_hcd"
"usb_storage"
"usbhid"
"xhci_pci"
@ -45,9 +44,12 @@
loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSC2KB480G7_PHYS749202D6480BGN";
};
# Getting this to work with NixOS is a headache,
# so trusty old crypttab comes to help.
environment.etc.crypttab.text = ''
data0 UUID=aa692e73-2b75-4239-8a87-5f5b69ea56c5 /root/luks-data luks
data1 UUID=1f4120b6-a3a0-4973-8c4c-a4d6703eea2a /root/luks-data luks
data-hot UUID=c9aeade0-4c96-4786-9b22-3161d935d644 /root/luks-data-hot luks,discard
'';
fileSystems = {
@ -60,16 +62,27 @@
device = "/dev/disk/by-uuid/0f1822e1-643b-49e0-b279-5e3373c6a26c";
fsType = "ext2";
};
"/data" = {
"/data/cold" = {
device = "/dev/mapper/data0";
fsType = "btrfs";
options = [ "compress=zstd" ];
};
"/data/hot" = {
device = "/dev/mapper/data-hot";
fsType = "btrfs";
options = [ "compress=zstd" "discard" "noatime" ];
};
};
systemd.tmpfiles.rules = [
"d /data 0755 root root - -"
"d /data/hot 0755 root root - -"
"d /data/cold 0755 root root - -"
];
services.btrfs.autoScrub = {
enable = true;
fileSystems = [ "/data" ];
fileSystems = [ "/data/cold" "/data/hot" ];
};
swapDevices = [
@ -79,20 +92,15 @@
}
];
powerManagement.cpuFreqGovernor = "performance";
powerManagement.cpuFreqGovernor = "schedutil";
networking.useDHCP = false;
systemd.network = {
enable = true;
networks = {
eno1 = {
name = "eno1";
dns = [ "192.168.100.1" ];
domains = [ "home.sbruder.de" ];
address = [ "192.168.100.61/24" ];
gateway = [ "192.168.100.1" ];
};
};
networking = {
useDHCP = false;
interfaces.enp10s0.useDHCP = true;
interfaces.enp9s0.useDHCP = true;
};
services.resolved.enable = false;
services.logind.extraConfig = ''
HandlePowerKey=suspend
'';
}

View File

@ -1,62 +1,83 @@
gitea-mail: ENC[AES256_GCM,data:ck4S9YJ1BLUb6+mOrRmg22KWI1xQwsdIw1dowNk1OOk=,iv:+aQiTSGzmBOLYbIVgwH/SIhslKgdJKoL1ZaGAXCeqHY=,tag:H3vCEGMktqAV/9BASVR5tg==,type:str]
go-neb-overrides: ENC[AES256_GCM,data:Ws/2yCNNLLEpa9MbN7mZk6BBBaJxtHN2X9I41baWJylZeUld6/h4WCxyHw4MWzigK7k26E+7CGVGThF5Ucd6AuvuD9dd21uaoOtwsAKJVsCavk6VPQvfAuSqYJcBYY2pSwDpA6KbXbQqhC9OgcktvYQdnvNPbsSffK4zhrDjcFpDYYyBRQWxqHu/ZGh2088ECbhm2OCWeC9/5u/2id8dHutip6tUXBIalFmWObc6zgx4atCJGdq9/bOPgajQzrpWlauV0h3ioMwp0gsulOJl2LuI7Lvbsvm+UWe8hVd9ZLqR+4ZAwC5oCQht68AxekKrLNl02KQ8rM4fmWJpbK4NsR/m8+ifMZhqIe8tqUUhWGvJqbxEI/Rsbqm92ToIHL5x9hNSZ/crm+hF4c2Uh9jnSA3E/tOxjZaMU5hB+2Y4tF83nz61tzFnwhQ32VxFeq6IHyMOhgQzGZkDPAyFg2e4tbG6zp5oMx2lsUlgbaXrSrzBU73CjWiLDiJFNyGLx7ADeZ4aZVsZnvGL6y7K4p0uVuK7KSNzoW0=,iv:tniWSP8RgSDJ8ap+PK83TcPAvRdaXWC/gchF6+8uffs=,tag:SC6RB8zyVmjjbLA73cFb4A==,type:str]
hcloud_exporter-environment: ENC[AES256_GCM,data:TPMeNK7uC716PC8UqDCnUKtriueIkg3l1ql9e3lse46Ko3TVvwW1oAQRSbwK8CG5AjuF2s2Y8GJdYcI8PN6Z5kERYF1RL2GDpN4pLSuw/l0YqsFkt0uK,iv:cmB+hZHvbk1p8uRmLDyYdPr6rTsFxKcoTcQVo729sAQ=,tag:nkiSvy7rsoInDN0l+1FOOQ==,type:str]
nix-binary-cache-htpasswd: ENC[AES256_GCM,data:IktPHrrvExeZlCPmP82W9AovC59ILPbMQExVDO7U2S9lJ9cQKP14mQPuYwA+yKTycIdA01MwRDbt/SxhVleZ+aKkyOPwx/iG5B0cQX6cVqQWVTNVmxlW2sjupnnwwibcdikU21CIw6YsDKs7pMqRAfC/U2OJ3POo2qH5GgFY,iv:ofzEQ143HQQGZIEVkdWCrcENz0i6JPljLDGmG0A7aJ8=,tag:a557cdgRD25jWHhZeT+CnQ==,type:str]
prometheus-htpasswd: ENC[AES256_GCM,data:eJOWrcTC3YISJJLuQV6sxzD0r8Gr8uoUt48D9sSEHhsbNUUy3pDgIPqJHrkG0ek2sIF6NvpWdDGK1kFcduRAL9h7nLxQLOtf7dxsdObGlPH5nwe6CwdR+1wTE/2WzrsmTGnUrMjMiBgLPV2yRiQg3VJ7W1Me8tHPYHrqYhM=,iv:WvgwIoIfxc3vyjF+znyUzOElv+sd/thoYpxWVaIavx0=,tag:9FnRw7ol++1PCbl1c2IyoA==,type:str]
restic-password: ENC[AES256_GCM,data:IVFXmuzzvvqDS0T3P0R5ZMIn2wdkbE1AqwDMkWqMpDdCOVMP4/HhP4jF+tEarq22,iv:Eu6Wspzm0rPl0CuSoYTTLz+MmaEtmwCD57nH2JTBuaA=,tag:tKqt5Z7nF7lLcSsDKS4E3A==,type:str]
restic-s3: ENC[AES256_GCM,data:VJ/jgYnUSkbsNMb1ciLiCcRVEpuaznsSFf0QkEnPhTRHpFv4Nt0f8ARnNtG5j3iXSIT4+H2+5HWKXEsjhvL85p0XE3xe4h45xGKnvvVO2obF+b/zsMDdceFJtLbcq+APzPBjchYU,iv:W+80GhAvYD/52dNZsNYiEhiLo4dhO8oxkd+GAbk42NU=,tag:Kj9CaGo/xAmYxdoLE/Lo1Q==,type:str]
synapse-registration-shared-secret: ENC[AES256_GCM,data:lNzK/7QAk4Scv+lNM8bTTKvowI139c4R4Y7Qpq60n8R61aahlxrnWc/PUEOv85Pdx+8IdBOLnV0kp7OQF6tStGBBCOkAicYmnsLoR36DmuDCvTSKVArryV7BrxL8pv0=,iv:ZT9IIF7W0NHqvnU3lPQclVS5uXXK5HIQUzXNYwYFMIo=,tag:a/sUixOlHEvn5ZOINPwQlg==,type:str]
synapse-turn-shared-secret: ENC[AES256_GCM,data:sAvP4/jVma7Uq9TR4W/zEoJA17Stj75uG+G4niYaQ1tflxRhE+/HfrhMn7whnmpSgXDb/ZPtLfVaW1DCfU2jovz3Y9Ij1kveXar2aAjlPSsSVwTbFmei,iv:S7uVlE2rhK7ta2S/eX+KXBMQyc69onHYjfMNro3OCjM=,tag:rvI299PQ9TVfVzQjgfUKww==,type:str]
wg-aria-private-key: ENC[AES256_GCM,data:qbxpfNRocrXDbUJ3MwR5WMXX8LB4Vnv9HMXN403ANaBbCLrRTEL9hy93roY=,iv:l2DYXGY1wN1rP2bG/s9uSwRhbvCUm2T6IJy5LKzguqk=,tag:51S+m1P1EtHk1QWEjdUCUA==,type:str]
wg-home-private-key: ENC[AES256_GCM,data:6l3CgB4qCsPuyYOWuwU2vNiEeC0D1wl6yZvXGGYVsZfYvdPjRz8j5yV7ekQ=,iv:slB/qr+cxi8r7cnTuZAd8CuzWVnvp24Li6A/AnZaFzo=,tag:ynh1Z2+IELAJcgBbHwFC0A==,type:str]
wg-mullvad-private-key: ENC[AES256_GCM,data:4smAYjzrMz6bapthHwTdeDJSvnEqnGmDFRZjJwnXWXLSYnEhzhvRttVrmFw=,iv:94o7E8IlZ6V+wez5+Zr9xv92rr06MlUfBCvtMW8VnEA=,tag:SJjrbBseVyWwhf9IHRi7rQ==,type:str]
wg-qbittorrent-private-key: ENC[AES256_GCM,data:xahW0lKU7yhinWJylyetdHWcdPdeKg3SMAm5WQhJEIIAFe+i2zeiSb2erq4=,iv:wTIsR7SXp4janh6QLA7RhzGdR7mDAMtAqROxFxKfneo=,tag:K/nDVrBv0ctoynxAEStr6w==,type:str]
hostapd-config: ENC[AES256_GCM,data:d4ZOax0k3lM0BEsb9XiyFL1yC5q52RWqwBpyuY9ZGcDk7xLUeeRJdN8S7jeFUzzpQhXsn2FpP/fff/9uqOsPX+01eBM2HMfoR/2VjHTUWUqx6GqSccjj/YaPGM0Z1fMhLZkHyP/LRUBgMnOuUf3NMI97PSYePLD40b0H5rrB/T+m6TtZoRm/hOkOWJRf8oWV5UU/Wqjy4oAFg3VJX0LUi1udei2RK+FgpeFUL3QiUmd4/CyatI6VAtXjVT479hsLu5JZ6ZXTBUVbxnfpTXRDH86OoIGW2HgKhGiTYUjtRc1sPsFIBOJXsu2pK/Z13qPkOXbx1zqlmuD6I39KeckbAfod0TdyUtu30kKhby165ODs7UIgF+BWCSHBm3J/efsplrYnX/izJ54pfeIti0fE3SdepAj4Q/Z15B2wcrQV+fpyVI8YuQmUTYYHH3ZIe+Btavq7I24Qjf6bex36Xp0CNXdPTLUidU2/Iy3lskzVpKFx,iv:eu+wYsRt05WgMUYcII3iHtxXD5cj96Vg6wtPWQCUOmA=,tag:jDSP45H5Ix5oTMpsr4IsCw==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2022-01-14T16:18:19Z"
mac: ENC[AES256_GCM,data:i6TJ+X85H+ptli5GaodNh6KbjqBLuJcs/Cy88JIQdq5az6nVJUtB55SuhkOAu35pPqlGX4tTBRO7OHupkEwS0Gpl2rC+OQB8gvnfuANzK8uFKGs4EK29BJsqNjsRdDmH1NjGjrIjau4spLz0wfELUcKtKofkZeLvzITsgzjRj+4=,iv:ZuFOIeXb+k1PWfWYPyIBKAnBaLZu+E4SeThysXCQ+iI=,tag:BFMwx9Am66pRSmWQWnVpgA==,type:str]
lastmodified: "2024-01-10T18:29:18Z"
mac: ENC[AES256_GCM,data:askmYGMX50W3U/86DBj9CXhLOZdBrTjbMqRtvegDjfFkOtHLInGuh5urfXGnEBDLtLTjGwdWHCU5DZz9AvBNcl0X6wOM3BGxkMF7+CrZ2FL7ZYw+hJ7JOywNryO/vJLdUZ1MUc0uH1YZdYYHjD7nkyVeDj6aDDkO0UOiLsDNEDw=,iv:gpY4O08YheKFAanPkccp6I7z80ygqMj2IdQnYK9clwI=,tag:OAre51qIvnhfj/vwqSy3wQ==,type:str]
pgp:
- created_at: "2021-04-06T11:27:21Z"
enc: |
- created_at: "2024-01-22T00:20:01Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAwDgSONkM+d4AQ/+KSo1N4aEuIAF2JMX+3RborUdEMIJNqIQsBYejPF4o5UD
25XVDt+GrC4Lx6OJsWobLOHm+FDLPzm4Zfo+grU+JaEBo0ZSthUul610iqChwEGF
zVMkNKARsZE7lDQ3uN54Mq/A7RQaav4mrt1AbHTOwBR9UdG5hrEJ8JZjObS7Gqz2
/OFpX4xr214IA9ALx+O2UIkSAJT9u9Ann/xcKL5GpwE9etcGZbYqOhAPaSzbOSDr
BtWuM8Z5nKb1O90pXEe16yVUmFXyO7T+lU1gDrDReSXJJFg7zcjMY4s9rro2H7xq
u0z/ufl4sf1E5u7fLLpzrVcqKJAOw+fvfoPeqMrNsGy3r3AdATw9jPp6giRoB8qL
xm3gGvs/VedBBqbXMDSCTIuhBcTu3/rrTWb0TJeuMz9RM01owkvtTrL3zjwK81BK
pNTwz2a49ylCiDS8Vin2u2jwjoRlri4mPTzw5pvcGqNAoNopv6cjawGQ2toCD5qG
tqx0hY0uXAE1cnfewFC63VGFbaBwfCYLryjGLefRH7XFOAcqZ3dlZFi5lJTVnnXO
44uO7dW8wfJj45USIEoG6D0BiRU7JPUhgPIjMa1cEI4XpoBSj13EACxovE3z5AYa
pX72eJHMkKZ5u+eRrXkrFSGFWkYBGKtgIdbgXn1i9Zw/Ewbf7Qz8kC83kxkih7jS
XAEbvfL1DTAHDEyAXFoI2ekIoTTGAtCpsadQcTZ3+3DeWU5R8X29vflEG/kSeRO4
m2npmJ9OCKyEN+zAd/WRIQ0wChFgadlTugsDcmXazdvzJ1qJiuNGmzpRn3QF
=dltN
hF4DLHeEFiC484ASAQdApd5fpI1rAWa2hEaoASuyhgmYixdVXWmzjQJhwpGaaxIw
C2H4YeQ+KznZCxF3mDjP40s0u7fTIiO6o4FcbX+dxOcGxdGZQUcVevaHmjflvOH4
hF4Dub78fMESoMASAQdA+1akzujPUkSYGKB1DLidjjoIqIoNnj5H6BKgON3D52kw
v7UYLYbBGxVK1bWyW5MPkQcz/U0pvHknDOusmpxncqVxycULOGTTEhDjRpp+YPxc
hF4DM6AcvgVUx2MSAQdAdvJ9f2HwLQyhk74QTek8Ws0hOKkR9X/sTcq1jh5lcnsw
pZ8iJJ42qK5QyxjsvFsWSy5XVr4ox692aiwssztfFHIFG8y77NmybXL+Y7BJOSGi
1GgBCQIQYTWrLZCbusHNwhoM4gC/YqeR3JnlnAuz8gVggCa6bWaALdGXcaflgRMX
XIq3G5jsz/bR2rv90A3RrEvrTmMOMpij2lsmGYVkluPJsisDDCMeYmQa0Imc6x7v
oqDzRp0oRSDVmA==
=qGmR
-----END PGP MESSAGE-----
fp: 47E7559E037A35652DBBF8AA8D3C82F9F309F8EC
- created_at: "2021-04-06T11:27:21Z"
enc: |
fp: 6CD375BD0741F67E5A289BC333A01CBE0554C763
- created_at: "2024-01-22T00:20:01Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMA2nIGHycQ3VOAQ//RC1NMySQoeqfTGEKFB7LwC3o0yLTMHAqoi4qm2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ut2ygV/3Mk7DMQ1WNuk8Hyo7Sad65ssXow
iQzZarz+XIjKENnd2n87iSuYXKk/zHYmygJOUlv2bH02N7jP5X1QYlqtd5mdRhDb
1GgBCQIQ4ZwPyN81LkydDrCBNEQ3+rSgiN2jp9pZe6A9Nk6pR6mswRDC8/Si6v0J
59W7pkX7DFA58RaIpMbPvqVOdVjY4jFOnwt7GZHYSItvmbSuulZZJr4qR5B0drWQ
mdD0v2K963Tpqg==
=aEWp
-----END PGP MESSAGE-----
fp: 0C8AF4B4320A511384DF6B5BB9BEFC7CC112A0C0
- created_at: "2024-01-22T00:20:01Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAHmEpe3x/65AW3G5QTuNSd1rEr9KPVmPUG8ewZiU/1xEw
S17RzFsJ8zD5n4BL6jC/mcCkaSm9ngLbVFGuEspAtUrmPzEQFOT9EE8UGhyQeB5S
hF4Dub78fMESoMASAQdAd2Rc9l7t/rB+AJFgk1XgksR4OM/HT0FiKTK1OehI+jcw
ihQKyJNHqhQ74Kv1HlSsyAG9nKJA4AZ0W3YfElKS90STrD/g0P7TWegL97LsXaqr
hF4DM6AcvgVUx2MSAQdAMrhVNU6d6fVHqrVaggQIxB01J0sS2IW1T+mtSAC8aisw
VEcSKyalAZAMS5CUcdPpZzeZELYNpRJ7B0n5WHC+QboMUXA0B5eVMrb8c5hFqXdC
1GgBCQIQt70LOwtTpmbWL2LFZ/Xz1TuPGhyv3fJfA4u1NaYhRdkp/+4h1kIp+UfQ
AoQWhr9mdtGiqW69AfCZAbmnVTLBe/9GRU7a3adM/p5BbPLbLb+74nUs/mv8q8SY
gEVVHTjvN9xEqw==
=WU7j
-----END PGP MESSAGE-----
fp: 403215E0F99D2582C7055C512C77841620B8F380
- created_at: "2024-01-22T00:20:01Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMA2nIGHycQ3VOARAAivyxBqm4MG95W6YeiRZ54F1ljeE30osfOy9fIHDceGpU
Uf6fUFsljjS+jJeBorg1s2DLH+kl1NnI3TwJFxL+RQNUXvKpT4GyTkf7V7iJ1kSZ
7cfTkYAZ7+ZTeXk1StvKEck3EUIIR5rh5K1JdLBWdC5BQRmastGKKoRgZMR+kMKi
OoMsIo/aQqeo1L+CvL0RHNBC0nEVW2UvipeLOiKmdxwRaXB5F5/l7CSOBjh4FILR
aFOV+lpnZ9OBBpA0PPGpOw6hIXdOFPVH/72IBgaVNB47+70T/8QpSJ+ZVwrSoXOC
lonX3mBawpdYDoiGQLho0jnCQCp36ZTQIgLvqsYwGX/zt5P7w0ZFV0mxYiLnlBQ2
5UMoburfJSujVs5j/p82xv7jv4xIH0OYfmKlLpni+muxLZa+GXfyehWoQlZOuH4+
dZR9OX9/Scryg5O1GfB3Ehs36ei2tZnquuziefc+I0R8AqXvEqtjq1LedRDCfBcH
yRjVeSNggn9jtqv2W/hZ+iUFvBSXDKXF8r6LnNelZTy4IWi39BoxWAIiYzjws7/v
7sNQVa2C+Y+PW+VRpFR74xov0sYVqEDJ7gKSZLlYK06xhzfSp7J7ceXKUeurFFJR
5JzKNX0UHIQ4sOZdWW9QzbaRfaASqt9Ycu2065uewJLwkQF7MGuh8d/8KxCwx8rS
WAFiPNHJDUzPShfOMAxq3Ktt3l3XzM9WIIIZT7JBWm7Rm5FRZIKWgV2EXPtJyLho
hM7UIfxCTqsy3YXJX5fsSWc0mAjObSz6GzQniWGAQ+/xXh0/9aBZCzo=
=p2GO
-----END PGP MESSAGE-----
fp: 2372651C56E22972C2D9F3F569C8187C9C43754E
unencrypted_suffix: _unencrypted
version: 3.7.1
version: 3.8.1

Binary file not shown.

View File

@ -1,17 +0,0 @@
{ config, ... }:
let
cfg = config.services.ankisyncd;
in
{
services.ankisyncd = {
enable = true;
host = "127.0.0.1";
};
services.nginx.virtualHosts."anki.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://${cfg.host}:${toString cfg.port}";
};
}

View File

@ -1,76 +0,0 @@
# This serves a local binary cache. If the request comes from my home network,
# it will set its priority higher than cache.nixos.org (which has a priority of
# 40), so local devices get a faster binary cache. If the request coes from
# outside my home network, it will set its priority lower, only store paths
# exclusive to this cache will be substituted.
# This only works well when a host does not change its “location”, since nix
# caches binary caches locally (per-user, also for root!) in
# ${XDG_CACHE_HOME:-$HOME/.cache}/.cache/nix/binary-cache-v6.sqlite and does
# not re-check or invalidate them. Devices that often are not at home should
# ensure that the cached priority is 50 to avoid slow substitutions.
{ config, lib, pkgs, ... }:
let
binaryCachePath = "/data/cache/nix-binary-cache";
in
{
sops.secrets.nix-binary-cache-htpasswd = {
owner = "nginx";
sopsFile = ../secrets.yaml;
};
services.nginx = {
appendHttpConfig = ''
geo $nix_binary_cache_priority {
default 50;
192.168.100.0/24 30;
2001:470:1f0b:abc::/64 30;
}
'';
virtualHosts."nix-cache.sbruder.de" = rec {
enableACME = true;
forceSSL = true;
root = binaryCachePath;
locations = {
"/nix-cache-info" = {
return = "200 \"StoreDir: /nix/store\\nPriority: $nix_binary_cache_priority\\n\"";
};
"/".extraConfig = ''
log_not_found off;
client_max_body_size 5G;
# WebDAV (for uploading)
dav_methods PUT DELETE;
create_full_put_path on; # nar/ does not exist by default
dav_access user:rw group:r all:r;
# same filesystem for temporary files
client_body_temp_path ${root}/.upload-tmp;
limit_except GET {
auth_basic "restricted upload";
auth_basic_user_file ${config.sops.secrets.nix-binary-cache-htpasswd.path};
}
# workaround for nginx dropping parent headers
# see https://github.com/yandex/gixy/blob/master/docs/en/plugins/addheaderredefinition.md
${lib.concatStringsSep "\n" (lib.filter
(lib.hasPrefix "add_header ")
(lib.splitString "\n" config.services.nginx.commonHttpConfig))}
add_header Access-Control-Allow-Origin https://hydra.sbruder.de;
'';
"/nix/store/".proxyPass = "http://localhost:${toString config.services.nar-serve.port}";
};
};
};
systemd.services.nginx.serviceConfig.ReadWritePaths = lib.singleton binaryCachePath;
services.nar-serve = {
enable = true;
cacheURL = "file://${binaryCachePath}";
};
# nar-serve logs multiple lines on every request
systemd.services.nar-serve.serviceConfig.StandardOutput = "null";
}

View File

@ -1,44 +0,0 @@
{ config, lib, pkgs, ... }:
{
services.dnsmasq = {
enable = true;
extraConfig = ''
bogus-priv # do not forward revese lookups of internal addresses
domain-needed # do not forward names without domain
local-service # only respond to queries from local network
no-hosts # do not resolve hosts from /etc/hosts
no-resolv # only use explicitly configured resolvers
cache-size=10000
server=/fritz.box/192.168.100.1
domain=home.sbruder.de
dhcp-range=192.168.100.20,192.168.100.150,12h
dhcp-option=option:router,192.168.100.1
'';
servers = [
"9.9.9.9" # dns.quad9.net
"2620:fe::fe"
"194.150.168.168" # dns.as250.net
];
};
# Make `local-service` work (requires network interface with all addresses)
systemd.services.dnsmasq = {
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
};
services.prometheus.exporters.dnsmasq = {
enable = true;
listenAddress = "127.0.0.1";
leasesPath = "/var/lib/dnsmasq/dnsmasq.leases";
};
networking.firewall.allowedUDPPorts = [ 53 67 ];
networking.firewall.allowedTCPPorts = [ 53 ];
}

View File

@ -1,21 +0,0 @@
{ lib, pkgs, ... }:
{
services.factorio = {
enable = true;
package = pkgs.factorio-headless.overrideAttrs (o: o // rec {
name = "factorio-headless-${version}";
version = "1.1.42";
src = pkgs.fetchurl {
name = "factorio_headless_x64-${version}.tar.xz";
url = "https://factorio.com/get-download/${version}/headless/linux64";
sha256 = "sha256-QpCZBqJY3NU4FIJY3LDungPKBjhR09jKA9FxJpk7QdA=";
};
});
openFirewall = true;
admins = [ "sbruder" ];
game-name = "factorio.sbruder.de";
game-password = "MoinMoin";
};
}

View File

@ -1,75 +0,0 @@
{ config, lib, pkgs, ... }:
let
cfg = config.services.gitea;
in
{
sops.secrets.gitea-mail = {
owner = cfg.user;
sopsFile = ../secrets.yaml;
};
systemd.services.gitea.serviceConfig.SupplementaryGroups = lib.singleton "keys";
services.gitea = {
enable = true;
rootUrl = "https://git.sbruder.de/";
appName = "sbrudergit";
cookieSecure = true;
log.level = "Warn";
lfs = {
enable = true;
contentDir = "/data/gitea/lfs/";
};
enableUnixSocket = true;
ssh = {
clonePort = 2022;
};
database.type = "postgres";
mailerPasswordFile = config.sops.secrets.gitea-mail.path;
settings = {
mailer = {
ENABLED = true;
HOST = "vueko.sbruder.de:587";
FROM = "gitea@sbruder.de";
USER = "gitea@sbruder.de";
};
avatar = {
DISABLE_GRAVATAR = true;
};
server = {
# privacy
DISABLE_ROUTER_LOG = true;
OFFLINE_MODE = true;
# internal ssh server
BUILTIN_SSH_SERVER_USER = "git";
START_SSH_SERVER = true;
SSH_SERVER_HOST_KEYS = "ssh/gitea.ed25519,ssh/gitea.rsa";
};
service = {
DEFAULT_KEEP_EMAIL_PRIVATE = true;
ENABLE_NOTIFY_MAIL = true;
NO_REPLY_ADDRESS = "users.git.sbruder.de";
REGISTER_EMAIL_CONFIRM = true;
};
session = {
PROVIDER = "file";
};
};
};
networking.firewall.allowedTCPPorts = [ cfg.ssh.clonePort ];
services.nginx.virtualHosts."git.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://unix:/run/gitea/gitea.sock";
};
extraConfig = ''
client_max_body_size 1G; # Git LFS
'';
};
}

View File

@ -1,52 +0,0 @@
{ config, ... }:
let
cfg = config.services.grafana;
in
{
services.grafana = {
enable = true;
# grafana supports sockets, but no permission management (always 660 grafana:grafana)
addr = "127.0.0.1";
domain = "grafana.sbruder.de";
rootUrl = "https://%(domain)s/";
database = {
type = "postgres";
host = "/run/postgresql";
user = "grafana";
};
provision = {
enable = true;
datasources = [
{
name = "Prometheus";
type = "prometheus";
url = "http://${config.services.prometheus.listenAddress}:${toString config.services.prometheus.port}";
isDefault = true;
}
];
};
analytics.reporting.enable = false;
};
systemd.services.grafana.after = [ "postgresql.service" ];
services.postgresql = {
enable = true;
ensureDatabases = [ cfg.database.name ];
ensureUsers = [
{
name = cfg.database.user;
ensurePermissions = { "DATABASE ${cfg.database.name}" = "ALL PRIVILEGES"; };
}
];
};
services.nginx.virtualHosts."grafana.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations = {
"/".proxyPass = "http://${cfg.addr}:${toString cfg.port}";
};
};
}

View File

@ -1,54 +0,0 @@
{ config, lib, pkgs, ... }:
let
cfg = config.services.hydra;
in
{
services.hydra = {
enable = true;
listenHost = "127.0.0.1";
port = 3003;
hydraURL = "https://hydra.sbruder.de";
notificationSender = "hydra@sbruder.de";
buildMachinesFiles = [
(pkgs.writeText "hydra-build-machines" ''
# hostname system sshKey maxJobs speedFactor mandatory+supportedFeatures mandatoryFeatures
localhost x86_64-linux - 4 1 kvm,nixos-test
'')
];
useSubstitutes = true;
minimumDiskFreeEvaluator = 10;
minimumDiskFree = 10;
extraConfig = ''
store_uri = file:///data/cache/nix-binary-cache?secret-key=${config.sops.secrets.binary-cache-secret-key.path}
server_store_uri = file:///data/cache/nix-binary-cache
upload_logs_to_binary_cache = true
log_prefix = https://nix-cache.sbruder.de/
'';
};
sops.secrets.binary-cache-secret-key.owner = "hydra-queue-runner";
systemd.services.hydra-queue-runner.serviceConfig = {
SupplementaryGroups = lib.singleton "keys";
Nice = 10;
IOSchedulingPriority = 5;
};
# Hydra uses restricted eval, which by default does not work with flakes that
# use git+https inputs
nix.extraOptions = ''
allowed-uris = https://git.sbruder.de/
'';
services.nginx.virtualHosts."hydra.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://${cfg.listenHost}:${toString cfg.port}";
};
};
}

View File

@ -0,0 +1,30 @@
# SPDX-FileCopyrightText: 2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, pkgs, ... }:
let
cfg = config.services.languagetool;
in
{
services.languagetool = {
enable = true;
#allowOrigin = "https://languagetool.sbruder.de";
allowOrigin = "*";
settings = {
languageModel = "/var/lib/languagetool/ngrams";
word2vecModel = "/var/lib/languagetool/word2vec";
fasttextModel = "/var/lib/languagetool/fasttext/lid.176.bin";
fasttextBinary = "${pkgs.fasttext}/bin/fasttext";
};
};
# default log level is INFO, no easy way to reduce it.
#systemd.services.languagetool.serviceConfig.StandardOutput = "null";
services.nginx.virtualHosts."languagetool.sbruder.de" = {
locations = {
"/".proxyPass = "http://127.0.0.1:${toString cfg.port}";
};
};
}

View File

@ -1,7 +0,0 @@
{
imports = [
./synapse.nix
./mautrix-whatsapp.nix
./go-neb.nix
];
}

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# This creates a backup of my media files when a specific hard drive is
# hotplugged. The hard drive has a btrfs filesystem inside of a luks container.
# The filesystem can be created with commands similar to this:

View File

@ -1,14 +1,27 @@
{
services.nginx.virtualHosts."media.sbruder.de" = {
enableACME = true;
forceSSL = true;
# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
basicAuthFile = "/data/media/.htpasswd";
{ config, ... }:
{
sops.secrets.media-htpasswd.owner = "nginx";
services.nginx.virtualHosts."media.sbruder.de" = {
basicAuthFile = config.sops.secrets.media-htpasswd.path;
root = "/data/media/";
locations."=/.htpasswd".return = "403";
};
services.nginx-interactive-index.virtualHosts."media.sbruder.de".locations."/".enable = true;
users.users.media = {
home = "/data/media";
isSystemUser = true;
group = "media";
openssh.authorizedKeys.keys = [
"restrict,command=\"internal-sftp\" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMt91kAEA7ezIdve/64sv1kV4sd50ayzM09f5s5uOD+V"
];
};
users.groups.media = { };
}

View File

@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: 2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, ... }:
{
services.photoprism = {
enable = true;
originalsPath = "/data/cold/photoprism";
settings = {
PHOTOPRISM_SITE_URL = "https://photoprism.sbruder.de/";
};
};
sbruder.restic.system.extraExcludes = [
"/var/lib/private/photoprism"
];
services.nginx.virtualHosts."photoprism.sbruder.de" = {
locations = {
"/" = {
proxyPass = "http://127.0.0.1:${toString config.services.photoprism.port}";
proxyWebsockets = true;
};
};
};
}

View File

@ -1,89 +0,0 @@
{ lib, pkgs, ... }:
{
users.users.scan = {
home = "/var/lib/scans";
isSystemUser = true;
group = "scan";
# this is a low-risk account and since the only thing the account can do is
# login to the ftp server from my home network, you can also sniff the
# password since the connection is unencrypted
password = "meeB3laodoo8na3z";
};
users.groups.scan = { };
systemd.tmpfiles.rules = [
"d /var/lib/scans 0755 scan root 7d"
];
sbruder.restic.system.extraExcludes = [ "/var/lib/scans" ];
services.vsftpd = {
enable = true;
writeEnable = true;
localUsers = true;
userlist = [ "scan" ];
extraConfig = ''
# I only want this to be reachable from within my home network. Since
# IPv6 has all ports forwarded, it is disabled here.
listen=YES
listen_ipv6=NO
# users shell is nologin
check_shell=NO
# scans should be readable
local_umask=022
pasv_min_port=30000
pasv_max_port=30009
'';
};
services.nginx.virtualHosts."scan.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
root = "/var/lib/scans";
extraConfig = ''
autoindex on;
allow 192.168.100.0/24;
allow 2001:470:1f0b:abc::/64;
deny all;
'';
};
};
networking.firewall = {
allowedTCPPorts = [ 21 ];
allowedTCPPortRanges = [{ from = 30000; to = 30009; }];
};
systemd.services.scan-converter = {
wantedBy = [ "multi-user.target" ];
script = ''
set -euo pipefail
${pkgs.inotify-tools}/bin/inotifywait -m --include "\.tif$" -e close_write /var/lib/scans | while read path action file; do
echo "Converting ''${file}"
${pkgs.imagemagick}/bin/convert -strip "/var/lib/scans/$file" "/var/lib/scans/''${file%.*}.png"
rm "/var/lib/scans/$file"
done
'';
serviceConfig = {
User = "scan";
Restart = "always";
# systemd-analyze --no-pager security scan-converter.service
CapabilityBoundingSet = null;
PrivateDevices = true;
PrivateNetwork = true;
PrivateTmp = true;
PrivateUsers = true;
ProtectHome = true;
RestrictNamespaces = true;
SystemCallFilter = "@system-service";
};
};
}

View File

@ -1,199 +1,32 @@
{ config, lib, pkgs, ... }:
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, ... }:
let
homeDir = "/var/lib/aria2";
downloadDir = "/data/torrent";
sessionFile = "${homeDir}/session";
settings = {
# locations
dir = downloadDir;
# logging
show-console-readout = false;
summary-interval = 0;
# rpc
enable-rpc = true;
# permanent queue
bt-load-saved-metadata = true;
bt-save-metadata = true;
force-save = true;
input-file = sessionFile;
save-session = sessionFile;
save-session-interval = 900; # automatic saving
# network
async-dns-server = "193.138.218.74"; # aria2 does not respect netns resolv.conf
dht-listen-port = 56595;
listen-port = 56718;
interface = "wg-aria";
# limits
max-concurrent-downloads = 65536;
max-overall-download-limit = "6M";
max-overall-upload-limit = "4M";
seed-ratio = 0; # do not stop seeding after reaching ratio
};
toString' = value:
if lib.isBool value
then (if value then "true" else "false")
else (toString value);
configFile = pkgs.writeText "aria2.conf" (lib.concatStringsSep
"\n"
(lib.mapAttrsToList
(k: v: "${k}=${toString' v}")
settings));
mkProxyService = socket: port: {
wantedBy = [ "multi-user.target" ];
after = [ "wireguard-wg-aria.service" ];
partOf = [ "wireguard-wg-aria.service" ];
serviceConfig = {
PrivateNetwork = true;
NetworkNamespacePath = "/run/netns/aria2";
Restart = "always";
ExecStart = "${pkgs.socat}/bin/socat UNIX-LISTEN:${socket},fork,reuseaddr,mode=660,unlink-early TCP:127.0.0.1:${toString port}";
User = "aria2";
Group = "nginx";
# systemd-analyze --no-pager security aria2-rpc-proxy.service
CapabilityBoundingSet = null;
PrivateDevices = true;
PrivateTmp = true;
PrivateUsers = true;
ProtectHome = true;
RestrictNamespaces = true;
SystemCallFilter = "@system-service";
};
};
endpoint = lib.splitString ":" (lib.elemAt (import ../secrets/wireguard-qbittorrent.nix).peers 0).endpoint;
endpointAddress = lib.elemAt endpoint 0;
endpointPort = lib.toInt (lib.elemAt endpoint 1);
in
{
users.users.aria2 = {
group = "aria2";
uid = config.ids.uids.aria2;
home = homeDir;
};
users.groups.aria2.gid = config.ids.gids.aria2;
systemd.tmpfiles.rules = [
"d '${downloadDir}' 0775 aria2 users - -"
"d '${homeDir}' 0771 aria2 aria2 - -"
];
sops.secrets.wg-aria-private-key.sopsFile = ../secrets.yaml;
networking.wireguard.interfaces.wg-aria = {
interfaceNamespace = "aria2";
preSetup = "ip netns add aria2 && ip -n aria2 link set lo up";
postShutdown = "ip netns del aria2";
privateKeyFile = config.sops.secrets.wg-aria-private-key.path;
} // (import ../secrets/aria2-wireguard.nix); # potentially sensitive data
environment.etc."netns/aria2/resolv.conf".text = ''
nameserver 193.138.218.74
'';
systemd.services.aria2 = {
description = "aria2 Service";
after = [ "wireguard-wg-aria.service" ];
requires = [ "wireguard-wg-aria.service" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
if [[ ! -e "${sessionFile}" ]]; then
touch "${sessionFile}"
fi
'';
serviceConfig = {
PrivateNetwork = true;
NetworkNamespacePath = "/run/netns/aria2";
Restart = "always";
ExecStart = "${pkgs.aria2}/bin/aria2c --conf-path=${configFile}";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = "aria2";
Group = "aria2";
# Increase number of open file descriptors (default: 1024)
LimitNOFILE = 65536;
# systemd-analyze --no-pager security aria2.service
CapabilityBoundingSet = null;
PrivateDevices = true;
PrivateTmp = true;
PrivateUsers = true;
ProtectHome = true;
RestrictNamespaces = true;
SystemCallFilter = "@system-service";
};
};
systemd.services.aria2-rpc-proxy = mkProxyService "${homeDir}/rpc.sock" 6800;
services.aria2_exporter = {
sbruder.qbittorrent = {
enable = true;
listenAddress = "localhost:9578";
downloadDir = "/data/hot/torrent";
fqdn = "torrent.sbruder.de";
};
systemd.services.aria2_exporter = {
after = [ "wireguard-wg-aria.service" ];
partOf = [ "wireguard-wg-aria.service" ];
serviceConfig = {
PrivateNetwork = true;
NetworkNamespacePath = "/run/netns/aria2";
};
};
systemd.services.aria2_exporter-proxy = mkProxyService "${homeDir}/metrics.sock" 9578;
services.nginx.virtualHosts."torrent.sbruder.de" = {
enableACME = true;
forceSSL = true;
# treated as state
basicAuthFile = "${homeDir}/htpasswd";
locations = {
"/" = {
root = pkgs.AriaNg;
};
"/jsonrpc" = {
proxyPass = "http://unix:${homeDir}/rpc.sock";
proxyWebsockets = true;
};
"/download/" = {
alias = "${downloadDir}/";
extraConfig = ''
autoindex on;
'';
};
"=/metrics" = {
proxyPass = "http://unix:${homeDir}/metrics.sock";
};
};
enableACME = false;
forceSSL = false;
};
services.nginx.virtualHosts."aria2-metrics" = {
listen = lib.singleton {
addr = "127.0.0.1";
port = 9578;
};
locations."=/metrics" = {
proxyPass = "http://unix:${homeDir}/metrics.sock";
};
};
environment.systemPackages = with pkgs; [
aria2
mktorrent
];
networking.nftables.ruleset = ''
table inet qbittorrent {
chain output {
type filter hook output priority mangle
# AF13 = Class 1 (lowest), high drop probability
ip daddr ${endpointAddress} udp dport ${toString endpointPort} ip dscp set af13
}
}
'';
}

39
machines/hitagi/README.md Normal file
View File

@ -0,0 +1,39 @@
<!--
SPDX-FileCopyrightText: 2020-2023 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
# hitagi
## Hardware
Custom build in a be quiet! Pure Base 500
with the front panel changed to a Pure Base 500DXs (for better airflow).
* Motherboard: GIGABYTE B550 AORUS ELITE V2 (rev 1.0)
* CPU: AMD Ryzen 7 5800X
* RAM:
2×16GB G.Skill Aegis F4-3200C16-16GIS
\+ 2×32GB G.Skill Ripjaws V F4-3200C16-32GVK
(both DDR4 3200MHz CL16-18-18-38)
* PSU: be quiet! System Power 10 750W
* SSD: 1TB Samsung 980 Pro NVMe
* GPU: Intel Arc A770 Limited Edition (16GB VRAM)
* Case fans: 2 be quiet! Pure Wings 2 140mm (included in case), 3 more with PWM
* CPU Cooler: Noctua NH-U12S with an additional NF-F12 PWM
This replaces sayuri,
which features an enterprise HP firmware without fan control,
an ancient Intel platform that is only usable in YOLO mode (`mitigations=off`)
and proprietary case, motherboard and power supply.
## Purpose
Tasks that require large amounts of CPU power,
a high amount of GPU power
or have to run while I do other things (on my laptop).
## Name
Senjougahara Hitagi is a student from the *Monogatari Series*.

View File

@ -0,0 +1,47 @@
# SPDX-FileCopyrightText: 2020-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
../../users/simon
];
sbruder = {
games = {
enable = true;
performanceIndex = 8;
};
gui.enable = true;
media-proxy.enable = true;
mullvad.enable = true;
restic.system = {
enable = true;
qos = true;
extraPaths = [
"/data"
];
};
unfree.allowSoftware = true;
wireguard.home.enable = true;
};
services.tor = {
enable = true;
client.enable = true;
};
services.privoxy = {
enable = true;
enableTor = true;
};
networking.hostName = "hitagi";
system.stateVersion = "20.03";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
}

View File

@ -0,0 +1,137 @@
# SPDX-FileCopyrightText: 2020-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, modulesPath, pkgs, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
# Intel arc
kernelPackages = pkgs.linuxPackages_latest;
# fan control configuration from https://gist.github.com/bakman2/e801f342aaa7cade62d7bd54fd3eabd8
kernelModules = [ "kvm-amd" "it87" ];
kernelParams = [ "acpi_enforce_resources=lax" ]; # allow it87 to load
extraModulePackages = with config.boot.kernelPackages; [ it87 ];
extraModprobeConfig = ''
options it87 force_id=0x8688
'';
loader = {
grub.enable = false;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd = {
availableKernelModules = [ "aesni_intel" "ahci" "ehci_pci" "nvme" "sd_mod" "sr_mod" "usb_storage" "usbhid" "xhci_pci" ];
kernelModules = [ "dm-snapshot" ];
luks.devices = {
root = {
name = "root";
device = "/dev/disk/by-uuid/63c6aa7c-47c5-43f5-b0eb-c32b0768327b";
preLVM = true;
allowDiscards = true;
};
};
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/3994f497-9848-459e-9642-cbc14a7d3c97";
fsType = "btrfs";
options = [ "discard=async" "noatime" "compress=zstd" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/96B6-34BD";
fsType = "vfat";
};
};
swapDevices = [
{ device = "/dev/disk/by-uuid/98de7ced-4d7c-4915-bf5b-1a0300458ea6"; }
];
# GPU
hardware.opengl = {
package = pkgs.mesa.drivers;
package32 = pkgs.pkgsi686Linux.mesa.drivers;
extraPackages = with pkgs; [
intel-compute-runtime
intel-compute-runtime.drivers
intel-media-driver
level-zero
libvdpau-va-gl
vaapiIntel
vaapiVdpau
];
};
environment.systemPackages = with pkgs; [
clinfo
nvtop-amd # also returns basic stats for intel
];
security.wrappers."intel_gpu_top" = {
owner = "root";
group = "root";
capabilities = "cap_perfmon+p";
source = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top";
};
# https://www.reddit.com/r/gigabyte/comments/p5ewjn/b550i_pro_ax_f13_bios_sleep_issue_on_linux/
systemd.services.suspend-fix = {
wantedBy = [ "multi-user.target" ];
description = "Fix suspend";
script = ''
if grep -q "GPP0 .* \*enabled" /proc/acpi/wakeup; then
echo GPP0 > /proc/acpi/wakeup
echo "Disabled wakeup for GPP0"
else
echo "Wakeup for GPP0 already disabled"
fi
'';
serviceConfig = {
Type = "oneshot";
};
};
sbruder.fancontrol = {
enable = false; # no hwmon for intel arc (yet)
enableDefaultMapping = true;
fans = {
front = {
pwmFile = "/sys/class/hwmon/hwmon1/pwm4";
rpmFile = "/sys/class/hwmon/hwmon1/fan4_input";
pwmLineStart = 50;
neverStop = true;
};
back = {
pwmFile = "/sys/class/hwmon/hwmon1/pwm2";
rpmFile = "/sys/class/hwmon/hwmon1/fan2_input";
};
};
sensors = {
cpu = {
file = "/sys/class/hwmon/hwmon2/temp3_input";
min = 50;
max = 80;
};
gpu = {
file = "/sys/class/hwmon/hwmon4/temp1_input";
min = 50;
max = 70;
};
nvme = {
file = "/sys/class/hwmon/hwmon0/temp1_input";
min = 40;
max = 70;
};
};
};
}

View File

@ -0,0 +1,80 @@
wg-home-private-key: ENC[AES256_GCM,data:0KVRmI3QrtLF5rPwL1XjVcI1q3UT8iJojXrzXhnvdyDiDAh6zk1ppPwZ/tM=,iv:CWkCy9EBT7zubB9BsnIp95fdc1/aSzBzBcgjWaiROzE=,tag:beDPXpB/L2c3+jwoJvKJwg==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2021-04-10T09:42:48Z"
mac: ENC[AES256_GCM,data:kKi9fAbikpohqIUEBR8c5ge0/fStxkrnWXfVhPvQMMeMO+rN/UPHpHJJMCC/v6TjFMC5ckTKTBflpGWL7xYiREoKONLIx9tMtaH02NrTs/MxVJZ4Ji+GKG0TY8mKGfidoJ4tM6a+8Yk1kgugeePmRXwCJDQKxQyEFyZ3BNKMxcA=,iv:l0OmGCg+DTs9KuFj2ZdW5DDH/0kKxjjX3ej43+X9x5c=,tag:/x8CigyZZJQIV3ZvqqVeXg==,type:str]
pgp:
- created_at: "2024-01-22T00:20:12Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAhnTen617FhDP4kxRunYZV2fsmEYbvw8K5S0R69dBWgAw
C2wdjH0PXsDxuz21PFbqb0k2T1iHuBiVIH4psDLGVaM4MOJamcFwIcHK4uLZZvU7
hF4Dub78fMESoMASAQdAz5HfOjvVVkQIaKNIhk63trrZLb9fhXs8NVulb6R69BQw
NgdhzIKZ6Srg+Z35jBNcsuqSTsYQfcv3iL5bvOyqAI/wnxI3SAfNweFIiJw0P59X
hF4DM6AcvgVUx2MSAQdAAmbYw/lRxofcaejX5A4hLEgU2NOTT15nzqGf5Ft/FFQw
3lf8NEAN9o1T+p0fHo+mQM2SbXWcEZBZkdQzgm7ky+bme9Uw1jORQOogUykyj9xU
1GgBCQIQzuJUUDp+qsDmhGaTtdBZUl0J92svOwnjIuKB4mvJcbvuqpyaxdiwODVz
pj6kWaOQTNtKR7w13Qgz1GGD7t5qtnMp9Bu3hTMrrXqV7XqAp3jK+m+8OtmDC323
tX2td01cvwr8ww==
=LyEL
-----END PGP MESSAGE-----
fp: 6CD375BD0741F67E5A289BC333A01CBE0554C763
- created_at: "2024-01-22T00:20:12Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAm1dAnFLB2GBuSif2258t7ixnBXzB0+y5BGLP+y1y8AIw
PywjeHtwB6QKgZNmqArSsqzjOV8oCVfDv+yerMkuG4Hr24rAl4H8yTIGyF3p0QSS
hF4Dub78fMESoMASAQdAdGP0AsHD69DsE380RhSsPKGij4ETUhrMlikxzANg4jow
jImzPHVLXCi8a3j8gwypovqPCHkhrxBvfCOErSktYLLRks9ekME/S2E2+s2OrIGf
hF4DM6AcvgVUx2MSAQdAFkQpv3jPCNxHHPbDRErZ9Cpe5apb/38leQATEN6R0Xgw
G/8TyOYavyaUvNUWxYf/jRwCKEp9brNKtfSNEm6xJkQ0AmJexvk9RnokgfUDYR1L
1GgBCQIQ49V/6WXlwWfOmPMQ/IfbnwY3QussWqT1Fd2DwEPawXSqIbp1nEjGaRmg
xKF9kGlRNHiOafHr1LLpJfti/NmKiB3o38p/aZQXJ53tn3TYLE9v1mj5Tj5OtsxX
pWgrjURY0s/puw==
=YdU1
-----END PGP MESSAGE-----
fp: 0C8AF4B4320A511384DF6B5BB9BEFC7CC112A0C0
- created_at: "2024-01-22T00:20:12Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdA+Vig+61+7PNXNsMR8Kjf/5iA4Cvva6R2Jb5Eqbwju38w
2q1Aq4ZuzqluJgdObUJizhG8A87pMUF24U7wc1c7QJzCn1DZwwT4LL07EI+Kfsc9
hF4Dub78fMESoMASAQdAD6uMKMhN5w5gm4z1j4D9rq9J12Snb3flwmcREs3ckm8w
ZB66UNfq/ClThzr+L+MrnLkBZBIcLXpnZIWc2mr6TIerYdCnlTFgB7brQX/Wztm3
hF4DM6AcvgVUx2MSAQdAwOgcxmmXQe/mOK6WjVTh9BUxvWpclp9WKslO0BB5uXkw
lOp/UFiySxZTfLxSNExfdvAE1xz4k0mgkGSRnKEAZxA6JpIA8CsodkhssUsSkshU
1GgBCQIQHbtdTFPwhQbrCzU3C0FbBtwGurGUbvqj1nCcYaYZhroJ7gJexEk9dKgV
ahwaBvaqXBVijrjg8DRmzzgJWoYYKl9FkA93115IXV5AsJ/xjz0Hq6GETLvH2Wkc
fT8aDvn9w9qOhg==
=iP6n
-----END PGP MESSAGE-----
fp: 403215E0F99D2582C7055C512C77841620B8F380
- created_at: "2024-01-22T00:20:12Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMA2UzePEMpuAKAQ/9H88PfyF1okYtUiO+hwspq7NQibEXDxWRu5oT7UykVpyf
G9gA4OEfuvYnRXyqiR/CuffDGb9skogQy5yMM1qk9taCv7CxQVc9XBtxlvu2hRty
H610g7AvneN82MPWaSNjPLwtYebDq9TaTMddbXKCTLOLjT+NC5h13h3Mk8ExVtoX
BnxkcioP4S8eKkZlBqTM1EHvSSxNgwuiT6sceOT4RscE8Yirv7D0EJyRoMU1Ufa4
AqiS15l+UMtp/Qt1h6YQ1s7l6e/KxM268m0MHJcoDfP9wS/ca/fmZDUrswPCHgcY
4ejmhyqOxGqYIc43wQtjucQF33ipQPc3GGcFaz287/vf8lqoxyfxJk+GdJinsPHf
JJE/98A4oEqFyS5iZuy+PQBbdHepSHuIrM4QdAMulyVzPnGdYhD1gKv47q3AxbIX
F0htqTZAHxZAw8nBrtKCU1dgfRy6nqPifsmlcglleCJA/0n2hgcJyg0Pos3MesWv
wu8AIRni8hUfzH1vsOId3Ij9/TMidyUwUJ94BX9TdIEUMsESnuF/AJSww4ny7Vsy
iYAYGLaWPQvduux/nESp9jY7TUS8fT62fbB02DdDXd72Ua/vViPpnjHYTlAQz0uU
FWgf5zmkR0p7WqP87sx49cHKOhqBu2uXnBRI04MlEIa8FyoZZtqEAs1nB83PEfLS
WAEvl5Ca23bXNIjc7TCym9BCNeQ2zBVmSlSlT2GteiTvkiWbCIn7H0Jtb61ewUUd
R1E2x/J87iWrrRNfzn3B06DBJ+WecaRE1Tec5ba5BRdj7xK3vUUTPq0=
=7yzB
-----END PGP MESSAGE-----
fp: 17FEEBB45E4245330507C960653378F10CA6E00A
unencrypted_suffix: _unencrypted
version: 3.6.0

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
# mayushii
## Hardware
@ -8,7 +14,8 @@ ThinkPad P14s AMD Gen2 (≈ T14 AMD Gen2).
* 32 GiB DDR4 3200 MHz non-ECC memory
* 1TB Samsung PM981a NVMe SSD
* 1920×1080 IPS 400nits screen
* Realtek RTL8852AE Wireless
* MediaTek MT7922 (branded as AMD RZ616) Wireless
(changed from Realtek RTL8852AE, which is the worst wireless device I ever used)
Often used docked to a ThinkPad USB-C Dock Gen2 (40AS),
because paying 300€ for a mechanical dock is ridiculous.

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ pkgs, ... }:
{
@ -15,7 +19,10 @@
gui.enable = true;
media-proxy.enable = true;
mullvad.enable = true;
restic.system.enable = true;
restic.system = {
enable = true;
qos = true;
};
unfree.allowSoftware = true;
wireguard.home.enable = true;
};
@ -37,6 +44,9 @@
disable spoolss = yes
usershare max shares = 0
acl allow execute always = True
server min protocol = NT1
ntlm auth = ntlmv1-permitted
'';
shares = {
qemu = {
@ -49,6 +59,10 @@
};
};
networking.firewall.trustedInterfaces = [ "virbr0" ];
systemd.services.samba-nmbd = {
wants = [ "libvirtd.service" ];
after = [ "libvirtd.service" ];
};
services.tor = {
enable = true;
@ -62,4 +76,6 @@
networking.hostName = "mayushii";
system.stateVersion = "21.05";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
}

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, modulesPath, pkgs, ... }:
{
@ -48,7 +52,7 @@
enable = true;
settings = {
START_CHARGE_THRESH_BAT0 = 75;
STOP_CHARGE_THRESH_BAT0 = 92;
STOP_CHARGE_THRESH_BAT0 = 90;
USB_DENYLIST = lib.concatStringsSep " " [
];
};

View File

@ -8,44 +8,72 @@ sops:
lastmodified: "2021-10-05T18:14:40Z"
mac: ENC[AES256_GCM,data:Uck/kX7BE3gqpMD8wgsksEX3DKzNSUinSRAPqpafH5UbVfQLYVOD637j7wltrtcHSOLjqGSrSbf6jhql/Ve3yTthYB72cHKcJ1UOk5cTD9xCpUJCx56Eid0yj9UZpifIM3PLRjnqqZFF2TYa/s8HcmsY4uvcN+U5dyXYpS6XYMU=,iv:2mhjUTxjU9xH0wFS0ZbgQ3GYRL+8BQboeQuVBpAQvsI=,tag:ZhAKuPo6iPE8890tkxHdaw==,type:str]
pgp:
- created_at: "2021-10-05T18:14:16Z"
enc: |
- created_at: "2024-01-22T00:20:04Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAwDgSONkM+d4ARAAvcpLQ4pl2zWfpNnyoi5Vu7Ok6kiQF2UveJQkxkvgQom0
TtvlazVEy7kBebM9sgYz9NtcWlTFTMCXC04gpJz9fGYAyssnZ9+D7J/yekK6vyEY
5vY9Dd6FX9HGOQuG3wAwBr98AgNHB76Rt31LBSUjIzNZj6RdsbakM2GRIRocFB9V
mykpRozkE1ju9l+E3NqnBm65AhjEX9q8W48oyrZLd0lFlfo3Lseda3AlGIMz+PV+
MNZ9jTERJZQStpeenE2u2+cS+tMJZbXGk0QBY3+Clz7fTOBlA30ePiWefy1ix3XG
mIm5WM12GP5cCpLc1mwAJvyNi/kTw4Myfy0+xth9j65nZCOl2xLIAGqgfikcmQoc
/NK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MESSAGE-----
fp: 403215E0F99D2582C7055C512C77841620B8F380
- created_at: "2024-01-22T00:20:04Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMA0Sjf6jBUFOzAQ/+KOp6PTM6m8T3Qtbs/8tpnQPQ5g0QM05iuRdbofEgCls9
+HfEayd5AqO3VoIqgPea3amtxHUIunVXc7edlJCuOFLDxZJysZrX1BFoFHewwDKQ
u1h/tLAhJJpE5wA/iewXtXus+jXgRXThFSiXR5qwQGnBWdsK2XNnTQ67vBjEeH33
My1r484LxAZst5kCJ92VuHJevqjvsvp6Pw//zSutSGKUcUnLp/J4A+rlfglItCpv
vhzULQXmb9d/kX2DY46nwxjw1CfRyLmAWVhLE2RWhm6TR93eDs+G10voO/Egd0OF
/xOI6o3gW3fP/zhWgBQ5E82Fx1mhGdnTDwTL5UGGbzK3zS/g8uSHRiEzIM51wdjp
GjqiZRCHO32fGYnnX8lF+z2HdyTdnUoTS6Omch2YTrNs5aDV75qif/9yaKV7yRb+
0LrOaoWaSM0vfN/0gwEPd7FVt07Kov3Yxpfa/GxPIIZWAkwpAcI57u8KzeSfzYCp
odwMgu43TdOoL+IRiQxz3IziiY9+eQJY7pOOE1+6h8BSt3VjAoiGqwWQro8xC3eh
HR54/FnLrYOHlVmle4VvuAunv1HZ5iAq3dz8t2VG+Q36tPl9JjPTcCnnFdAtErDN
7mkw1zba5bBrlzsGiSK+7f088hGOkisy/QpptG90BVhDlBLJ2tl+fhN2LrDCVX/S
WAE0t8aZHva/fpbSYi0dxd9lF0/LX7lZFDNZyLrvcsaFraFC8Xx3Iodu0qtzbjSk
IXJ0Wn0aWVAPQ9X9mcuEzgIMWkYYdCW7ssuCdWhmZ9Gvqaf+UCb22xs=
=U1in
-----END PGP MESSAGE-----
fp: 23EEDF49AAF1B41DCD1CD10F44A37FA8C15053B3
unencrypted_suffix: _unencrypted

19
machines/nazuna/README.md Normal file
View File

@ -0,0 +1,19 @@
<!--
SPDX-FileCopyrightText: 2023 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
# nazuna
## Hardware
[Alwyzon](https://www.alwyzon.com) Storage Server 1T (1 Xeon Silver 4416+ vCore, 2 GB RAM, 1 TB HDD).
## Purpose
It provides services that need large storage and a fast network connection.
## Name
Nazuna Nanakusa is a character from *Call of the Night*

View File

@ -0,0 +1,36 @@
# SPDX-FileCopyrightText: 2023-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
];
sbruder = {
nginx.hardening.enable = true;
wireguard.home.enable = true;
infovhost.enable = true;
};
networking.hostName = "nazuna";
system.stateVersion = "23.05";
services.nginx.enable = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
systemd.services.nginx.serviceConfig.SupplementaryGroups = lib.singleton "keys";
sbruder.qbittorrent = {
enable = true;
fqdn = "sturzbach.sbruder.de";
};
services.nginx.virtualHosts."sturzbach.sbruder.de" = {
enableACME = true;
forceSSL = true;
};
}

View File

@ -0,0 +1,59 @@
# SPDX-FileCopyrightText: 2023-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
sbruder.machine.isVm = true;
boot = {
kernelParams = [ "ip=86.106.183.111/26::86.106.183.65::nazuna" ];
initrd = {
availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
kernelModules = [ "dm-snapshot" ];
network.enable = true; # remote unlocking
luks.devices."root".device = "/dev/disk/by-uuid/b20be409-adb6-47fc-ba9b-c07e61503070";
};
loader.grub.device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0";
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/05b0918e-3c24-45bf-950e-4af9d89d3be2";
fsType = "btrfs";
options = [ "compress=zstd" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/7e93d8ba-516b-424e-a8e5-149c1654212a";
fsType = "ext2";
};
};
swapDevices = [
{
device = "/dev/disk/by-partuuid/08140a4b-38d7-4af3-b302-ccc952b085eb";
randomEncryption.enable = true;
}
];
networking = {
useDHCP = false;
usePredictableInterfaceNames = false;
};
systemd.network = {
enable = true;
networks = {
eth0 = {
name = "eth0";
domains = [ "sbruder.de" ];
address = [ "86.106.183.111/26" "2a0d:f302:123:8d61::1/48" ];
gateway = [ "86.106.183.65" "2a0d:f302:123::1" ];
};
};
};
}

View File

@ -0,0 +1,81 @@
wg-home-private-key: ENC[AES256_GCM,data:fqdPyTa/0Ixr0sO8m06Q1xoAFYBA3q2P4Ho7k6AZBakcKvaXyqFiaISsIuk=,iv:tFANTuH8NHs7cHGduzn66njpCfK1tyydRlBCwv/ffyQ=,tag:Q+dBhMjjHG0cZlfindxBhQ==,type:str]
wg-qbittorrent-private-key: ENC[AES256_GCM,data:ui0klTtpg1DYl2A1R1PbGngnv0WFY7/qjcTdUpmpTiZVmxJxCdMId/ussvo=,iv:2vpZN1rjipjdBQKRAKv9Qf5EP1PSUBGKWg9j78WoXLs=,tag:WxNLrGNCa9ozYJjN9xRK6w==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2023-10-04T14:34:22Z"
mac: ENC[AES256_GCM,data:LjETyB9nqN6y/mevYOGXSkWNCNtu/fTXazy3VmZANNQCTuP5J5j6QmS3o9u+VCmrLpntpeNa+BT5VSbHgdlN70zdvgSZFhKSw/cn66L+dfO9bqUwDVDN2S8RSE6RGbFz4oYxS950JHEOKPyD8svtlT8xLq9seeMcvwp+KcSZqMY=,iv:70PeKVRqKj/6/o46TAzICQZDi83m4qPTTR1K3S6JiOo=,tag:9rQR9e9ZGYMgbklV9lWdLA==,type:str]
pgp:
- created_at: "2024-01-22T00:20:14Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdA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h3
SIn+/jOxnUdWEOOlSavKUWgqEaID3vgdBAB/RBkF0v76wTrZcKa2QORDUQgwmoF4
VjH/F6dxXWA=
=Oszh
-----END PGP MESSAGE-----
fp: 0C8AF4B4320A511384DF6B5BB9BEFC7CC112A0C0
- created_at: "2024-01-22T00:20:14Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAjzgyMWrNc5GsAEHQObWpCkz/1zcJ7kHfd3Wn88aDPzcw
+D2kSbSMqGXc7IRW/czBgY/m2j8z7alj1neDIx8w5moXKWgjWubDryVJVoXQV19A
hF4Dub78fMESoMASAQdAbvYXma4/upOcBXhIwox1co1c4HZh4n5en12in+rqJVUw
/gvqzxL1B+XKw958yj8288gBUcA1jw6l7Dx4BARGsrbA9ShRzRzXqi1atpbE6+Ap
hF4DM6AcvgVUx2MSAQdAooPut4kS7cYZI5XyUFEr+WWFVKbqxAxF0aXoH8yozkQw
gSzcNN+YJA+DYTPjhTPq/RYkU3uJ2KH0pYuoGa1b9Tl5/y8jjTme5CCMhkjSDk6R
1GYBCQIQdEXOH0mcDpGx+dVYTFz/KkRAWVOYXfRdm5JnjkKFKIa0itL3+bxf0SWT
5Q4SzvInxXosaCJgWPqyoo7mkcIYhiX7UwSvwJdn3QUbeno3cbLsVcuBe664UFNw
c59WB35H+Uc=
=1la0
-----END PGP MESSAGE-----
fp: 403215E0F99D2582C7055C512C77841620B8F380
- created_at: "2024-01-22T00:20:14Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAyxL760fnpFcAQ//Wut5sLyYF+Ubwj9mYVWUOP2kiILKHtgAzExx7IS9mQtd
EwgbP/eXF4hWF1uEf0BDAY2J0uQRjB6rzUgoFZT3/+445dVBHd16x1Nqp1Vu4fFh
k9bntD3ePjH40eLfvAtTsUrKN91HMnJzR9TXUgYkuQSvkFYQYrz9XPujJj2IoR65
PWp8ZvSYEmKk8bDpE7oinwAhHXocgnRR24mJv5OgHNB1QLFLegBK3F40zJJMPaZk
WsoJgrbW3E4A2KxSOyU3aip2vRIlDm7+Yfmd+/P4cfh/ZVKjcvuG4+BdSCxmwZhi
JxWcXRu6kVWpKKlRz0WK7g/PQhsqdqDQTUrsk2lWG/jXRX5+F1kg8PK0jSCE4PH3
i8YCJzfdVvyruZMZZ4I6lG7kOKisMqnH/tS1VqR7itYaEBNRdjG98sThxpqw5CJo
j7lktnZRL+RUV6Zk9Ph1s4WnCn61fcQhBqxP/vEue+gC+sIvVuOF5uw3Ecj25pLQ
cxhF6pPSOvayy9qcdBG4/7ljdiEIeRaX8gUeBxEQhe2dh5x8nCZowLEQTczEil4r
We8BLjxdq/qEuO85J3vYsID44iPwOjOIGVeapAt+H3LXxk/tZZmpHf5Wbj48guSq
6IEISOGaG+KQ83EA2+tVWa4143dImofHBwc75rmxXJeR2kGCjwxf6DpcNWtvUkLS
VgEjHS9eL+zqSo0fxJcpTTLZx088ssS0dARtIGWj0jqHytsgl1kVq3HqUDBvCp3h
pdCYy0BkVZfesU5j2+lmfGZSUtgRyFIaoARprTRfp9VlvxBWkRI+
=py9c
-----END PGP MESSAGE-----
fp: 0b8be5d87a10a0e68dda97212c4befad1f9e915c
unencrypted_suffix: _unencrypted
version: 3.7.3

Binary file not shown.

View File

@ -0,0 +1,22 @@
<!--
SPDX-FileCopyrightText: 2020-2022 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
# nunotaba
## Hardware
ThinkPad T440 with mods to make it acceptable:
* Touchpad is changed for the T450s, which has physical mouse buttons
* Screen is an IPS panel with a resolution of 1920×1080
## Purpose
It is used as a backup.
## Name
Shinobu Nunotaba is a student/scientist from *A Certain Scientific Railgun*

View File

@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2020-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
../../users/simon
];
sbruder = {
gui.enable = true;
restic.system = {
enable = true;
qos = true;
};
unfree.allowSoftware = true;
wireguard.home.enable = true;
};
networking.hostName = "nunotaba";
system.stateVersion = "22.05";
}

View File

@ -0,0 +1,51 @@
# SPDX-FileCopyrightText: 2020-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, modulesPath, pkgs, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
kernelModules = [ "kvm-intel" ];
loader = {
grub.enable = false;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd = {
availableKernelModules = [ "aesni_intel" "ahci" "ehci_pci" "rtsx_pci_sdmmc" "sd_mod" "usb_storage" "usbhid" "xhci_pci" ];
kernelModules = [ "dm-snapshot" ];
luks.devices = {
root = {
name = "root";
device = "/dev/disk/by-uuid/7f0adc46-ef4f-44cc-a277-c4d886bb1ec7";
preLVM = true;
allowDiscards = true;
};
};
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/c92cdf14-10b5-4409-84a7-3dde54da9d1d";
fsType = "btrfs";
options = [ "discard=async" "noatime" "compress=zstd" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/1EE5-C5D9";
fsType = "vfat";
};
};
swapDevices = [
{ device = "/dev/disk/by-uuid/0c0358a1-6ffa-43c4-ab99-e7a8f4e1f09a"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}

View File

@ -0,0 +1,80 @@
wg-home-private-key: ENC[AES256_GCM,data:cu8kS8LOc5D0rhwAr9TUZSiWu0Nxtui5Hmh01eHKxhXTRnBJSpc9nxCgl8c=,iv:F+SsYf1wPzs4mAb2wsjTK2A9EmHVxoL0uL5YTur8nJM=,tag:qyMB82FdkvSqiC+iukeO9A==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2022-06-09T21:24:49Z"
mac: ENC[AES256_GCM,data:ULMv1q8wvG+tX+51Sv/wkjA8+v7OvnZntji09+c7KnepYUyIqeNdg6MocfGa9xeYpvFD6cWgmzE/JBdYRoTsaznC53aey6QGjYrAD4u1qeAN9FFYDFJ1/GLXmqqva4FzyFidhbMXCHx77YSRFd3Uhuig7xarHVKQZgLjXFIy9iM=,iv:YYWan4L3dqLDXH3slgHAnmCMvUQfaiBRTkMEH+l3PJk=,tag:MnAGpn1t0wRZn5CUTEsOow==,type:str]
pgp:
- created_at: "2024-01-22T00:20:15Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAVvZpTZ6B6tmjKsB91b3sZPjzZ07KL0HXflJ2/pYsPFYw
nm3arYf+1DJct11C/5DLSi6D+nLkFypXMtQjAPXhDEdhOOyNPDExE9CEbe4TeQuQ
hF4Dub78fMESoMASAQdAIlLQbtxpQ/OaCJbeR2LWebssrynWmOH3FAhmpI5EZWww
gMTDuxROhh6f/tjmN9mJvZknm6Aq/7EgNwie17o6cx4iEgY3z0sc+wT8gT7DkjmF
hF4DM6AcvgVUx2MSAQdAYf5/lBl+h65RmaZYwQ/Hxh3wIpM/LRmQg1Oi6F39kXAw
Ekjzq4P5YMWPAkE65DnFO23a0bXQr++sHOwkHhQITg6awJ0sWY4jRn1TlghJoCJj
1GgBCQIQC6OoQlwlV8kt4Jay7wDtQmoF0XccaUhHJk+wAefIPrpE9mGoNaztexQY
K2U0aC0Jygxwc10jXxdcQnasupAOmUMq7wH/12ODbVwRerCaBIj5HX9nXgZwg7iW
PDRLILxic/uC6w==
=JRCy
-----END PGP MESSAGE-----
fp: 6CD375BD0741F67E5A289BC333A01CBE0554C763
- created_at: "2024-01-22T00:20:15Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAKcw7+HNlWoPMEjI/k2Vc6Ug6Sa4hfOILzeH429aT1Www
3q1GUhE1cugCw8WN/Dd5G7Ee8nGN+slU2oyxbOwLGfbiKTl5YDHgn/iNnnffYhK2
hF4Dub78fMESoMASAQdAyjWq8loWLP6rv8vdxypkadi2ttEeUX4UtXLZqj1ex2gw
ZsNVUXTfEQSRNCLO1lrUE8WUcTdFyQWEnUqL4OT9Zf0z3JXu74fYBqGnnl9wY2ow
hF4DM6AcvgVUx2MSAQdASLoUugWfDb2QqtSVAQTWyO+zSFFpQvhZSmFzRZ8/cUIw
teMcPN/7gN3GWINS9qBvvK49K7xdjwCON6BOR2G7MWkMlEms6AuYbfiXGskS9Pmq
1GgBCQIQTcFv2IJfbtWa8BXycxacXUHQ7pDj5XQREf78tKWm/TYcRvjkO7g+w/Jh
mptqnEP02ldpG/RFdi0gFOLMboXT39rgz4omlPQEOcngMhLqapPkn0lLIErBMpv9
z4uBLuh2JKx2dg==
=vcN6
-----END PGP MESSAGE-----
fp: 0C8AF4B4320A511384DF6B5BB9BEFC7CC112A0C0
- created_at: "2024-01-22T00:20:15Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAM6/fp671Y1m9mmXJbA8qNaOFZuh496DRUGc18bQt+xkw
tHmgnMDdNnoWI61xI9+nXXPMVtseCy+5bnp3eV8WBfZiaWjawz23RTkACD4rPF8H
hF4Dub78fMESoMASAQdAyXCy5gcrYLY2aa6j7uOMpVEHgErkPkdEWYaBP2aSFAgw
JCt5VMs5mH3jeoetf6xsjXFZ0HwX/AiU7iziHhP6dF3YkNxAAMHz8N6Wxrk0kAVO
hF4DM6AcvgVUx2MSAQdA6IwZDGZyutIkapWVlyV8zKnV2cGyWDy6LbZOi4EFYzEw
1YrCol/KxrSskchywqtKrBguE7mnmLjKhs11kPkdcEVkVUKknLvEtXeyS9HntdzT
1GgBCQIQOuFVBYoAjjRL8IVUMrnkbVt2OHfhErvSpb+m8ynBdVgdVWkEoFCB1AZg
J+Bs2X9qpEeqQF9Y5bTV5bGxgt+7QBO5Mdbu+n8kKFW6L9M26zOaQ/rNZgjwe/CJ
qB63Om5VoRytYw==
=HXoQ
-----END PGP MESSAGE-----
fp: 403215E0F99D2582C7055C512C77841620B8F380
- created_at: "2024-01-22T00:20:15Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMA08nOrzNSYBrARAAnWZ30736o1hjy/6IDmy2CDqkwDjzkPbA9jLSawVfFYID
VIh+OvP5A1LkEVRNJ4HHcRpWFkel6UY+oZZDG+vQ1FU56q9c+buDIxP74RX8bX1q
Rq/L1yaKINANKgM7IEePI8Cwogk1yQhqRni8V4l1dPItvmvS62Ziwx10Tyaytghn
MGP/HjJxnig3CnUQ4fyg/cH/p7YDJvlTLqNvtTt9UpXeT50KJzrDyTpaMLRy/6in
zq8GKu6PjaSg/8+j4n6UJv+2f7yJFmeDCHA6+f4G5fSbiVdztHhjgSImByNXOQwJ
/hDJvtAVLUd8I61l/23eej0ZcLC0jWpChhVgFP/06Aru8KMXnZmzp9DxU/ugZKKE
1WzEHyrS7Cpw8+W3IyR7RaGZoxVjJP+cRDExifRwF1X7m47yoqTX+opxTHJpVmIO
BTkz/SPrJNarSOFm4Whi5X/9fWp7sBWenE+5GhR1UxX1YfdYvNhxxHmyprpj0u6T
GTOm+gTbsrB+xFgR6HiT6vmHQq01y7r+CgdHsl3faYpEkXxFj5wIm/VNLN70bIfF
l8x0aTtb6XuKRR6LduUYk7urixf+m+qQT+RnqEh6P/hCyvtDTmEwFwBixVtVKct5
NSk3SGM/KGn1L5YSiV9mMlsXlc9r+bn1VqO0PFOarYAofJFVK8kKKJ6Mxpmc0KvS
WAHbJfLusF94/mhhmra0nf3cSbIhrWT/Ju4M0N/wOIqITe6G7/PmUFSaZX4BvW0R
LfP8xqV/yW+UAf74gfy71cChe+C/CAsrVDnyKbZ0e16msi4rFgS8sYA=
=jYcw
-----END PGP MESSAGE-----
fp: 3176be14f468c6d43ab2206b4f273abccd49806b
unencrypted_suffix: _unencrypted
version: 3.7.3

71
machines/okarin/README.md Normal file
View File

@ -0,0 +1,71 @@
<!--
SPDX-FileCopyrightText: 2023-2024 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
# okarin
## Hardware
[Ionos VPS Linux XS](https://www.ionos.de/server/vps) S (1 Xeon Skylake vCPU, 1GiB RAM, 10GB SSD).
## Purpose
It will host services I want to have separated from the rest of my infrastructure.
## Name
Okabe Rintaro is a mad scientist from *Steins;Gate*
## Setup
Much like the namesake,
this server requires a “mad scientist” approach to set up.
However, it is much easier than setting up its predecessor,
which had just above 400MiB usable memory.
Ionos does not offer any NixOS installation media.
I could only choose between various installation media and rescue systems.
Also, installing NixOS with a low amount of memory is problematic.
I therefore created a VM locally with a disk image exactly 10737418240 Bytes in size.
On there, I installed NixOS.
Because encryption with `argon2id` as PBKDF is quite memory intensive,
I had to tune the parameters to ensure decryption was still possible on the target.
This can be done quite easily by interactively running the following command on the build VM:
cryptsetup luksChangeKey --pbkdf-memory 100747 --pbkdf-parallel 1 --pbkdf-force-iterations 29 /dev/vda3
The memory size was obtained by a successful run of `cryptsetup benchmark` inside the initrd on the target.
However, since those parameters are not ideal,
the following should later be run on the target host itself:
cryptsetup luksChangeKey --pbkdf-parallel 1 -i 10000 /dev/vda3
This will determine the memory usage automatically,
use one thread
and set the parameters so that decryption takes 10 seconds (10000ms).
The memory usage will not be as high as it could,
but it will be better.
Getting the disk image onto the server was done
by first `rsync`ing the image to another server (to allow for incremental iterations),
which then provided it via HTTP.
Using the Debian installation media in rescue mode
(as for some reason most other options tried to cache the file in memory and became very slow)
it was possible to write the image to disk with `wget -O /dev/sda http://server/okarin.img`.
Because of all the pitfalls of this,
you probably need more than one try.
To make debugging easier on the target, the following option can be set:
```nix
{ pkgs, ... }:
{
boot.initrd.preLVMCommands = ''
${pkgs.bashInteractive}/bin/bash
'';
}
```

View File

@ -0,0 +1,30 @@
# SPDX-FileCopyrightText: 2023-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
./services/proxy.nix
];
sbruder = {
nginx.hardening.enable = true;
full = false;
wireguard.home.enable = true;
infovhost.enable = true;
};
networking.hostName = "okarin";
system.stateVersion = "23.11";
networking.firewall.allowedTCPPorts = [
80
443
];
}

View File

@ -0,0 +1,66 @@
# SPDX-FileCopyrightText: 2023-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
sbruder.machine.isVm = true;
boot = {
kernelModules = [ ];
extraModulePackages = [ ];
kernelParams = [ "ip=dhcp" ];
initrd = {
availableKernelModules = [ "aesni_intel" "ahci" "sd_mod" "sr_mod" "virtio_net" "virtio_pci" "xhci_pci" ];
kernelModules = [ ];
network = {
enable = true; # remote unlocking
# for some reason, the DHCP server does not transmit the static route to the gateway in a form udhcpc understands
# this works around this, but is arguably quite hacky
postCommands = ''
ip route add 85.215.165.1 dev eth0
ip route add default via 85.215.165.1 dev eth0
'';
};
luks.devices."root".device = "/dev/disk/by-uuid/1dcb9ee1-5594-4174-98a7-a362da09f131";
};
loader.grub.device = "/dev/vda";
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/3ab8f4a7-952c-4b6c-93c6-7b307d5bb88b";
fsType = "btrfs";
options = [ "compress=zstd" "discard" "noatime" "ssd" ]; # for some reason, the kernel assumes rotational
};
"/boot" = {
device = "/dev/disk/by-uuid/97aec56b-5fea-4445-83dc-4a20dcf482ce";
fsType = "ext2";
};
};
zramSwap = {
enable = true;
memoryPercent = 150;
};
networking = {
useDHCP = false;
usePredictableInterfaceNames = false;
};
systemd.network = {
enable = true;
networks = {
eth0 = {
name = "eth0";
DHCP = "yes";
domains = [ "sbruder.de" ];
};
};
};
}

View File

@ -0,0 +1,80 @@
wg-home-private-key: ENC[AES256_GCM,data:RkdgneGhH7prr/tkvHJeChQku2eXve9pV/SvtwsOjeinYO9veHw0rimdonY=,iv:vK6zNpu8F+TSLDTaif686Awjhs8WS2XJHzMtlvqlsIM=,tag:aKhV+kspVu+0CgPmYersxw==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2023-12-25T22:06:33Z"
mac: ENC[AES256_GCM,data:VbjyqrqDLCBDD9vGOHxSzsr9a5ZFFBJUkBRxJYBLereMDvInPFZnTwplHHkS5TdDFFAsjrcCgpCuPsUIbDdxFUNNtjdIe5JJwFMwT8XEFrgcswMGSKD6mIH2VBWop5pqoAV0eQ3YfKtDyhNHwixR8a+Z+hbGAY01Z19yteo51ZM=,iv:69EeBag+iUEoa18I0w1HeJKRwSQVCMRqUdV2CzUzMnY=,tag:WViKXJExL33jQAIWHUS8xw==,type:str]
pgp:
- created_at: "2024-01-24T12:19:03Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdA4PdmtZTlpcdfuYKSuKN6X4EGjh/l2D8Jxt7dg1y/Z0kw
ScG/nWs9hVMFTBeqSM0eHgFfcZhBB/L85eNf9thktTUbcWq0GEUcz5mwUqILtkfA
hF4Dub78fMESoMASAQdAMcVZokes0YKtbUZp7b9zq303WXPga5yn8LbhnaRrHycw
+ECn4t8y8SXFICpAZ5n+xj5U8MdmdKOzhNQLleFKIHtWdyeUlwFi0qYYP8MRCLTB
hF4DM6AcvgVUx2MSAQdAIzXqgZ8WiIxIV05BumWLsyZUChwvDQc47NMd5ehhBEQw
I1LY11LTNENypr5q0mhy615kIbsdhpzAVLf4Bkf921zABsfFzuY5zJHqi8SKVm7/
1GYBCQIQHPC99/GrpHG703gozt2I0P2XMhlRpzj359qStWaQZ8NBL5Ugo5BLvphf
1/WYAlvnH4Uov2TxKdQs65IJSadQgs7lBWB5gqHklZ76E4Q+00oMQxwGjzMdddA/
hRlLbnUDE1Q=
=ol1Y
-----END PGP MESSAGE-----
fp: 6CD375BD0741F67E5A289BC333A01CBE0554C763
- created_at: "2024-01-24T12:19:03Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAaXq+nn0DDx+RAkEC+x+yeP5xbCIdXkR9tQCgWx1s0jkw
VRgFkiBa6IsS0v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h2U9H
VOK1Bc67BzU=
=3z3V
-----END PGP MESSAGE-----
fp: 403215E0F99D2582C7055C512C77841620B8F380
- created_at: "2024-01-24T12:19:03Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMA9pmsZ2EWzFWAQ/9Gl4dO83SmvGHyhEfile6G9ZUmhxwU2RFpPwEmjh4CV/v
z1k2zgdF200a6tj96977VhjhIG/LZioEi41M1QdIqgkGsKy89DluCY9RDTqMmqzo
w65JhI+PQqdQuKlsbUh2VLql7LijoIUxuBPowWG1lULZtEvRuCchM5rLFiBSC2YO
DA0T73kC2P89CNZlOllZNnVRCRrxm7IsEO6Mo1yOeJL16mYqC9qGGKnvYEbsSm4n
7ZZJvxXGnNzaXisyyjcJNgtsJAUX4TTlPH+Y2jpkhdHUvOkiwVQEokmnqTIKUp0e
7Dc6ZXApFQ1DlMMsjLwy+5AQJQZbY4p4jo9rvmON5i5DLPy4rN5yf8W7zwkuy2gN
Id53gxDZxHw0+mRsfYRrdOvmfUqqz79TyWVV8bvHR2Mo3shdL1fsWOzTlm66Y9Vt
4coJxgUsJEFdnsnXAFep2V18Ypg36b9wQXtZDXWtTg36UliZZ95sUAG2vHQDS50b
5XG07m1w8YgQSeiCObteAt4PqxEs1GYWmtRUmr4jvRQQzmVXCQP6+o0QJ5WK9bKl
auwT+H7POBJ3l+h9ykvmOidkAzeN7EWIirzvhDHsxvCklGCyo+Y3W5ZaLaFGfc/3
pdj1G/REVT6aQMtSuYUsD7QoZeiNNBNJXAtUuUS6mWxch8RnkW718wxYZLvi03jS
VgHaVWepbw/q0COmjyofCt1qZH+WMKSAguiQ6PHWAdP3hnzGgd7Qo84W54Fb3m1R
da72FFnILc3IYImbJI6QgJxAeS2K95nIWKdSix07c+m0zzFkemnB
=F0pC
-----END PGP MESSAGE-----
fp: e7370b48016c961ef8ad792fda66b19d845b3156
unencrypted_suffix: _unencrypted
version: 3.8.1

View File

@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: 2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, ... }:
let
proxyMap = {
"sbruder.xyz" = "renge";
"iv.sbruder.xyz" = "renge";
};
in
{
services.nginx.virtualHosts = lib.mapAttrs
(host: target: {
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
proxy_pass http://${target}.vpn.sbruder.de/;
proxy_set_header Host ${host};
'';
})
proxyMap;
}

19
machines/renge/README.md Normal file
View File

@ -0,0 +1,19 @@
<!--
SPDX-FileCopyrightText: 2022-2023 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
# renge
## Hardware
[Netcup VPS 1000 ARM G11 NUE](https://www.netcup.de/bestellen/produkt.php?produkt=3563) (6 vCPU Neoverse-N1, 8GB RAM, 256GiB SSD).
## Purpose
It will host most services that do not require large storage and benefit from high availability.
## Name
Renge Miyauchi is a character from *Non Non Biyori*

View File

@ -0,0 +1,77 @@
# SPDX-FileCopyrightText: 2022-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
./services/bang-evaluator.nix
./services/buchborgen.nix
./services/coturn.nix
./services/element-web.nix
./services/forgejo.nix
./services/grafana.nix
./services/hedgedoc.nix
./services/invidious
./services/mastodon.nix
./services/matrix
./services/murmur.nix
./services/password-hash-self-service.nix
./services/prometheus.nix
./services/sbruder.xyz
./services/schabernack.nix
];
sbruder = {
nginx.hardening.enable = true;
restic.system = {
enable = true;
prune = true;
};
wireguard.home.enable = true;
infovhost.enable = true;
wkd = {
enable = true;
};
};
networking.hostName = "renge";
system.stateVersion = "23.11";
services.nginx = {
enable = true;
virtualHosts."sbruder.de" = {
enableACME = true;
forceSSL = true;
root = pkgs.sbruder.contact;
};
};
networking.firewall.allowedTCPPorts = [
80
443
];
services.postgresql = {
enable = true;
package = pkgs.postgresql_16;
};
services.postgresqlBackup = {
enable = true;
startAt = [ ]; # triggered by restic system backup
location = "/var/lib/postgresql-backup";
compression = "none";
};
systemd.services.restic-backups-system = {
after = [ "postgresqlBackup.service" ];
wants = [ "postgresqlBackup.service" ];
};
}

View File

@ -0,0 +1,75 @@
# SPDX-FileCopyrightText: 2022-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
sbruder.machine.isVm = true;
boot = {
kernelModules = [ ];
extraModulePackages = [ ];
kernelParams = [ "ip=dhcp" ];
initrd = {
availableKernelModules = [
"aes_neon_blk"
"aes_neon_bs"
"ahci"
"sr_mod"
"usbhid"
"virtio_pci"
"virtio_scsi"
"xhci_pci"
];
kernelModules = [ ];
network.enable = true; # remote unlocking
luks.devices."root".device = "/dev/disk/by-uuid/dd131862-29a2-4464-8c7c-5a3fd1bab8ff";
};
loader = {
grub.enable = false;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/31412044-8ef5-4f02-bbda-55af44e344cc";
fsType = "btrfs";
options = [ "compress=zstd" "discard" "noatime" "ssd" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/40F5-721A";
fsType = "vfat";
};
};
swapDevices = [
{
device = "/dev/disk/by-partuuid/3143e511-3247-475c-b7c8-52880140bd7b";
randomEncryption.enable = true;
}
];
networking = {
useDHCP = false;
usePredictableInterfaceNames = false;
};
systemd.network = {
enable = true;
networks = {
eth0 = {
name = "eth0";
DHCP = "yes";
domains = [ "sbruder.de" ];
address = [ "2a03:4000:6b:d2::1/64" ];
gateway = [ "fe80::1" ];
};
};
};
}

View File

@ -0,0 +1,92 @@
forgejo-mail: ENC[AES256_GCM,data:3AlFHzVBA5TE4qv5ubG39K0varV8/HabO0q/RJZSD5o=,iv:qB0b5nR4oxhmWFkPaded6N8NDlAw9EK9z+xb5SmyCME=,tag:jguaVqFRBzU42K/69F8CBA==,type:str]
go-neb-overrides: ENC[AES256_GCM,data:1xy+SdsSTuerRox4skitg1mKLr1MoANFoCzz76TKSA31ORo/oUWVGrYxfusZxrFQWjYGRFpSYzmkzPn1RoWmbXyfwPEcisvjenXLNvwcyoontBd7TiiLdukEtya6RfGLRGKc8tfCzbDUWgiYz5IDMFBvKGnewFjB+au0/Ge2+2DTw6M4negjCz343TO/vbyTr5xT/5smmKz7Ouk9SbEo7yEuHkQPQfedGw2PYT82zdXd/Eje3Zq2EB4xcUU7beGrF1zkOdXQ4OVqB8XnkCnuLtNlnJtsffm0rbPDPD3/nhHKpJ8jXrN54V14dSnHW7yOifGMIus0VFMRZcIT7A+BroM9qzJhW3F4gsF1Bwp0CF+6zLLRjgpA0EOyvOwpLIftBZfMIpveAH62MVY0IBfwDdkI1itEOjj9EhTrOGxBx45Cj6Qk3Mk6ncyr15+E+KAmQRxZJrEW8Grk4PyzuxtxYd0n8LSaRUe1eNVUhHkQNpo/zvAPgrzcRnM91EwIoMvlNmwyC63j1h+OBKlXQgChAaB1O6HFXQY=,iv:pnw0jIcMqA771woDYNHxWMWE6wHGaNsXi5aBXOFAHJU=,tag:Wbcqb0FsctZWOS6u5s82mQ==,type:str]
hcloud_exporter-environment: ENC[AES256_GCM,data:5gDTeg4C08BgNxBFtzZ7ma6JiafwF4ly5URAG4WxUTlRaUmF32fmbPdAZmveKiKBA8cc6ewcEIfIVJ7d5tbbqCEX+vbf9nr1fuhN05Z6lfsJNLoATclX,iv:GzEnudGDc6+6BJgDtaNnOnT7IK8Z0fsYfs/oJzKO2UA=,tag:LYCvRxNeKdMmNve0aWswrw==,type:str]
invidious-extra-settings: ENC[AES256_GCM,data:bThgfyu5ESIyTLD7Q09Qici9ZZw/QYfCyBSjtbNb1EglCy0KHZrvDDAN4uDpdKrHxv8ctoN5Db7tRf5LUl6iyW7A5z9uYg481EXq3Sx6tZztepX0vg==,iv:FZ33tQWRsNEPjwuy/mH/N4e4PyjLx7sbv2G+9S5uigY=,tag:0GQn3AgoM2BPC5iCt5py8w==,type:str]
mastodon-mail: ENC[AES256_GCM,data:RT/fS7cqbcePd2qe7CR5jRh2jtKaS81ICbMUOlPUQsY=,iv:C7GYMB0U2KIfXuEnYaoIEfV89/EnJS6V9iG97X8zkPk=,tag:L4SVe6aYGcarvX1hmMqQOw==,type:str]
murmur-superuser: ENC[AES256_GCM,data:hPuMK8wbqD/3qKXQbOActq/VJZ+6jFlddQ==,iv:68ZhkpkfxakCOYxFXkCSP/sBamETeSs4CGTRaoBS6co=,tag:5UuYCxDiJ6e2CXjDV5/5yA==,type:str]
netbox-secret-key: ENC[AES256_GCM,data:lOE95j6CGkbfJQTLeG41g3BPKNhm0arqxIGAzwvXQyeZLBauAdqufQGKD7D4kPNzdZs=,iv:6HWXEr6Ju4IywP+2jpuTfER/bYI2oUgMSZEJCkq4XX8=,tag:TPD5TTr4Sew8lxPS5WIu5Q==,type:str]
prometheus-htpasswd: ENC[AES256_GCM,data:tiewfUfpvrmbrgk6AsBdiP4ng4TqG5UYf1mFcWOzuk8oO55rfZu+Naummz5RRYhJZil43nHFvn5LfIWkJv+CyPMZjpj7xRp4vb4/OCCAFjEzHhrzYVBYNkHM+ZLUTewEXuPVtZ6CZ5uviTExLN2V1moG3ExJdIoyUD16qh4=,iv:SkH609VxIVKJLmHUUNzICEjxHSyjLdwXfw0b7iU6png=,tag:BfNGcUZmk9ZXUvhoQZn6iQ==,type:str]
restic-ssh-key: ENC[AES256_GCM,data:9quBzUwv4qylVzESG94wSgzvuodSDM/smPh0j+LYJjXwEN1xksBIW2/Jv0XmF3Q+AWUF/C/lA2jteI3Mf6Pmn7zlqa3H7GwH8Os6/arQI3ywH2dHQLAFxgST2J0AlLGeZcJbntxW0buYw+Rz3q5Jbo+Wo9tQo+2EVvqX320qWBsEwinnahbUhZym3fipyE9g6JxGa3OFGiIn6JAQhst63WgpOfehQsAYu2bdW1gLrgFtURzDQQRQ28RxeD+nMUWRpQcq5GrX2rfSA7sengfQbmP3Ln1atp1YXctTalHsj+n4photBqLz6OfLaFKBqbdKRbinUgVAEarAocEOKk/qf1C6LS8yKjV9Mh/tKeCJQrCI/AccEP5DfMNqdRaWjoQxvjBRKaupPE7Rcuja++K/jm24nP9J8WDcrRSm0tlrVq2JnPHxJv+eUsZoGkvpyOs9AkTG1H2BCckYS5ZG4atjKoBfUvc3CitPNmPZcjSkPrkdRMZbu1BWR+cixFH9rFAUvVIn+e7sWGnqMA8xGXZS,iv:rLOTtmIFP7rwF9JY9ardO9pNqNh1uaobHKtQaGwSuGk=,tag:pCd4ZV0FjfD18qj9oQ236Q==,type:str]
synapse-registration-shared-secret: ENC[AES256_GCM,data:qwUjGPINIuBC3KYqMPmnU3l9uJ85DJsJFixvTFQTSuR+fcq6DEjx03Xk41ff7NJftAi+Gt0QLdqKp+viJfW7eU6iHKyfcgPE/nj46UECCWLM8HISxPFQ9IrP+DIo02k=,iv:C9jhBPexth+gnAs6+DBtEmP2qsWZoKmgw6ILbtXUScA=,tag:M3U+03I0Bj8Nhuu4GB98xw==,type:str]
synapse-turn-shared-secret: ENC[AES256_GCM,data:9MAsVAEnoF703p1enN70BXqlKZWacYmPCL25CNGdapZulGbMF5rAbpLxkJ3JiBNBYQt+DXSSb6zcmsT6yIqQZ4lW04lwtFV0RPJLfbfW9vUJQ3Bi5NUF,iv:keDUMEeintOwbBQzHHqVl8EFyQC1zqKG2LDvnBFSBxE=,tag:ymSwjZ+qC5kLIxMxlxwcAQ==,type:str]
turn-static-auth-secret: ENC[AES256_GCM,data:HyFKdLn9yClXwVGv4/UcC5QfnqjTK2ui43/SRJiJYC7soP+BZnbtCTFkVe04H2smRQQi9ftrXLWQQx5DdGZxpg==,iv:tIwZcq4pVzWa1bl7zX/YsEuaVCyDenJnPGL0RhF9lmg=,tag:ddXaLQ3U990eupAHLyXx6w==,type:str]
wg-home-private-key: ENC[AES256_GCM,data:5mj3Z4V+EidhQ4cjwBwarGUnsmCoNUP/P09Oeq24rrfM2yr4LhxXqEWVfKA=,iv:90PD4O9jBRF9qH9xmoYBP1dHmtQiY1dK8QvuJ5NceL4=,tag:xGU1VrEiMnEdQCNB4BqnAQ==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2024-04-26T10:40:21Z"
mac: ENC[AES256_GCM,data:rjLzGWhG6YTq8hJWvQeyl2pIGcy/2+UN4Hi1c5Cah8Z+LenYS93MIDVAwcb1c28ZWTKA6SiFyMd5pdMVMVMZP+WccnlwRvPySZhfyGtLXG8gR8yk35pUF+9WvrTvnY6geTPGoQTp/CeujEX9ceZ/s5Wq2vnt8JWdUIhLK7A8hiM=,iv:yhbtxFm1AbolC7t0m3S6hRJQ3paz/c9A3dA02e2l5mg=,tag:CoS0jG38DIdJTrFGcM/Hxw==,type:str]
pgp:
- created_at: "2024-01-22T00:20:10Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAecnfv38WCQ8Qv0pMNuv009PzldbVWeyeUFO4ku9q9w0w
zBjSFRW15EubJZC7kbB1G3bOATEYS5pJgraXlUOE+mumax6YkXzEcrzHXS6fnm62
hF4Dub78fMESoMASAQdAdeZFtFSOR3SvRR6w9gd9BIb22shVDWyu2tMK0WMdOj8w
rS3m4wI20FX1axD30ATt/3OHMCUFNk4IOc0yLGX2+xPtBNaEEbYbrsh9s7KdT/7Q
hF4DM6AcvgVUx2MSAQdAKo+Smohz1lWF/oyZm6WJnTScEDYBHnw4Gm65KEto1hkw
9TALI3QIca2vHiiAEsjQVfQrP/wFlIgkmAgMSojZM/mGAbapbPly9SapDZOjPBcL
1GgBCQIQn723uPbXAb0QOSj2welUisMum1GBxNaqP0nxe7O3ROA2nO/Z53yDAK8q
u/Rbk0OLcl9ZVg5TpSxWJkLD5gKejJMzetnSjHX8kkvV7mSQmWanUFL26muIWagj
TOwJ+wRu7k3MCA==
=nYCp
-----END PGP MESSAGE-----
fp: 6CD375BD0741F67E5A289BC333A01CBE0554C763
- created_at: "2024-01-22T00:20:10Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAJs/1k2gWY2EhR9fdGIitfObpQ7OXafmrxfxGpbm1Vw0w
rA1vEH3sstu1xJo8aXGlh8s2OFavAh2jVFII2FnJEzueIlRqPoZGDXFuyaLB+RbV
hF4Dub78fMESoMASAQdAnsegQHgjElMF4rHwdZAvt2lwlCVOtGlKPE/W5xibI04w
iPUGf0218W/iTOPryK3gexsudU8zPKnvTHgxPPNJRTfvF/ouwgCMu61lk1GHLOZq
hF4DM6AcvgVUx2MSAQdAvgjlfummhGWmii0h/jmhZIDu3p0CvRvA9Iqp5XaCaRkw
KQc6I68McNPK+0pbhYOQGgIqpr/q3Maj/CT1qh+U38eIBV4XMx+gjMKeTU5Wq1cm
1GgBCQIQf/ZKVR8meAn8WM0Xp2yGEh2EQjftAayPcnYROyzpsFf2otVGsQ2k4nrR
oMNClXtjiuuLBe8wBr33Qjba4sFm0MNiuMgCT6eDbJPDRyRWptF3ztyNf3kTODeo
tVz1t/ps1mUlZA==
=1KRJ
-----END PGP MESSAGE-----
fp: 0C8AF4B4320A511384DF6B5BB9BEFC7CC112A0C0
- created_at: "2024-01-22T00:20:10Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLHeEFiC484ASAQdAGJjHK4r3sbWQr+Db8TSMhh1d/GBrKp5hQNavDfx15CMw
JsCpvdk8sp+BiQAKhs4uBFyX8lbN3Fp+4Kc8D1dQMRvVusmDXaF1gSByhx18fpFB
hF4Dub78fMESoMASAQdAK6L6bJWCSHowtsLApq2bB+KcdHWu8zEGuIcGvPX6sXkw
HXgM1X1dFl891kMYCnyO9lf52Wg8oo8b8TaOMhfb/WstUMxSNr4YmPgiP8yuoFrJ
hF4DM6AcvgVUx2MSAQdAtjMlZZRKlMi1dvrN/ac6KPNvjqulWoUirUpUIgq+ik8w
puxgTM3lI10YG8wJJx+JoPDaERYIBdJzZA878Qp6eTYzxuUfZmcPxStoJqBqA2eO
1GgBCQIQMXFKQqxhSUX56pqb2BaqUtiNQ68no9a43rZV8uL8GneDap4Fd16kq02I
Rx4pCdL3bXThaVdjyvWw+MKD6I0t7jgAMcCD8rYhlQ709u/21qcsdrqOJTMV8w6L
3CK9GGHRnxRzqw==
=vDCy
-----END PGP MESSAGE-----
fp: 403215E0F99D2582C7055C512C77841620B8F380
- created_at: "2024-01-22T00:20:10Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAyhQdcrIW3A1ARAAzaEuorYL7UVgQi8QhuzqCmjUdGDxty/Wvq27i+0sRw5p
ePyCum7G210b52R9T39PuSUgo7/ts339uk0dSHKoj73Mx4Pa+KoKT6QESsUnnlsA
kxy87E//c4TO5RLlBSwrpMIom0+DscihDsirC619tRMvE2hzoZeceQZVZQxvz9lJ
NE3g7dxsk9wZ0siL8Bjga/VvgN6ZAwxm2rAcSb1rP1zCNdefHC/30nTMv5pgAv0f
YoNQHoLVc/aFvFi/1U1Kw2qm2EODtF5TjC9K1NdLDRdMdsq43IAi2XzPgMqiXV5t
AWExnAVvGG/+X4kdUIgH1W1i+L5b4GRa6jg5rYNd0G7xuL1e3+shBM+VCFj/EcJ2
t434IQla9q65bmfRnMp757HLUQ0lnOSsd9uTufSRaXecJfSyXSoMogKmmkDLN1zV
aN1XPx1NB26cjhnZh2oliA24WQeqADncaSdKloUR1Z6+ARbqrQJVrwHzhKdMjT39
zCsmcMmxOMpmqG+v6pzcnor+Jgag5moUYUzrWIl+2SeofH+cNYoUWbhtZYgoO/RV
DPloyM48U30K75EIFUsMiJ+N2K5bMR508xdYwv4U1RyhR7wdSIfRFkRhK1RqlVQe
mX3u6sDS261XLqxAc5JZUUtsDoBxMwxEtzuJ287hvdtY0/goOK1/O/g5z8UnXW3S
WAEnQOVNUwQnFyOmVjjbWf4y5SnoL3bM6gnpvcKgC9fvxbZqsrEoNq9QOu1iRmy8
e3OHZJr3oJuAoA5u38+SUCrv5s4mkBh9YwT/rpu5AiDE0sfcMsXLe38=
=q9lf
-----END PGP MESSAGE-----
fp: 06a917fc4a2a1b6b0f69a830285075cac85b7035
unencrypted_suffix: _unencrypted
version: 3.8.1

View File

@ -0,0 +1,16 @@
# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{
services.bang-evaluator = {
enable = true;
listenAddress = ":8000";
};
services.nginx.virtualHosts."bangs.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:8000";
};
}

View File

@ -0,0 +1,47 @@
# SPDX-FileCopyrightText: 2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ pkgs, ... }:
let
hiddenService = "kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion";
in
{
services.tor = {
enable = true;
client.enable = true;
};
systemd.services."socat-trantor" = {
after = [ "network.target" ];
before = [ "nginx.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
DynamicUser = true;
ExecStart = "${pkgs.socat}/bin/socat tcp4-LISTEN:3003,reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:127.0.0.1:${hiddenService}:80,socksport=9050";
Restart = "on-failure";
};
};
services.nginx = {
appendHttpConfig = ''
proxy_cache_path /var/cache/nginx/trantor levels=1:2 keys_zone=trantor:10m max_size=200m inactive=3600m use_temp_path=off;
'';
virtualHosts."buchborgen.sbruder.xyz" = {
enableACME = true;
forceSSL = true;
basicAuthFile = "/etc/nginx/trantor.htpasswd";
locations."/" = {
extraConfig = ''
proxy_set_header Authorization "";
proxy_set_header Host "${hiddenService}";
proxy_cache trantor;
proxy_cache_valid any 1h;
proxy_pass http://127.0.0.1:3003;
'';
};
};
};
}

View File

@ -1,10 +1,12 @@
# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
let
cfg = config.services.coturn;
fqdn = "turn.sbruder.de";
ipAddresses = [ "195.201.139.15" "2a01:4f8:1c1c:4397::" ];
in
{
sops.secrets.turn-static-auth-secret = {
@ -30,9 +32,6 @@ in
min-port = 49160;
max-port = 49200;
listening-ips = ipAddresses;
relay-ips = ipAddresses;
no-cli = true;
extraConfig = ''
@ -40,6 +39,31 @@ in
denied-peer-ip=192.168.0.0-192.168.255.255
denied-peer-ip=172.16.0.0-172.31.255.255
# https://www.rtcsec.com/article/cve-2020-26262-bypass-of-coturns-access-control-protection/
no-multicast-peers
denied-peer-ip=0.0.0.0-0.255.255.255
denied-peer-ip=10.0.0.0-10.255.255.255
denied-peer-ip=100.64.0.0-100.127.255.255
denied-peer-ip=127.0.0.0-127.255.255.255
denied-peer-ip=169.254.0.0-169.254.255.255
denied-peer-ip=172.16.0.0-172.31.255.255
denied-peer-ip=192.0.0.0-192.0.0.255
denied-peer-ip=192.0.2.0-192.0.2.255
denied-peer-ip=192.88.99.0-192.88.99.255
denied-peer-ip=192.168.0.0-192.168.255.255
denied-peer-ip=198.18.0.0-198.19.255.255
denied-peer-ip=198.51.100.0-198.51.100.255
denied-peer-ip=203.0.113.0-203.0.113.255
denied-peer-ip=240.0.0.0-255.255.255.255
denied-peer-ip=::1
denied-peer-ip=64:ff9b::-64:ff9b::ffff:ffff
denied-peer-ip=::ffff:0.0.0.0-::ffff:255.255.255.255
denied-peer-ip=100::-100::ffff:ffff:ffff:ffff
denied-peer-ip=2001::-2001:1ff:ffff:ffff:ffff:ffff:ffff:ffff
denied-peer-ip=2002::-2002:ffff:ffff:ffff:ffff:ffff:ffff:ffff
denied-peer-ip=fc00::-fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
denied-peer-ip=fe80::-febf:ffff:ffff:ffff:ffff:ffff:ffff:ffff
user-quota=12
total-quota=1200
'';

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, pkgs, ... }:
let
# This uses
@ -31,23 +35,22 @@ in
server_name = "matrix.sbruder.de";
};
};
showLabsSettings = true;
show_labs_settings = true;
branding = {
authFooterLinks = [ ];
auth_footer_links = [ ];
};
piwik = false;
defaultCountryCode = "DE";
settingDefaults = {
default_country_code = "DE";
setting_defaults = {
"UIFeature.feedback" = false;
"UIFeature.shareSocial" = false;
"UIFeature.identityServer" = false;
"UIFeature.thirdPartyId" = false;
};
disable_custom_urls = true;
jitsi.preferredDomain = "meet.jalr.de";
disable_guests = true;
disable_3pid_login = true;
desktopBuilds.available = false;
desktop_builds.available = false;
});
};
}

View File

@ -0,0 +1,85 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
let
cfg = config.services.forgejo;
in
{
sops.secrets.forgejo-mail = {
owner = cfg.user;
sopsFile = ../secrets.yaml;
};
systemd.services.forgejo.serviceConfig.SupplementaryGroups = lib.singleton "keys";
services.forgejo = {
enable = true;
lfs = {
enable = true;
};
database.type = "postgres";
mailerPasswordFile = config.sops.secrets.forgejo-mail.path;
settings = {
DEFAULT = {
APP_NAME = "sbrudergit";
};
mailer = {
ENABLED = true;
PROTOCOL = "smtps";
SMTP_ADDR = "vueko.sbruder.de";
FROM = "forgejo@sbruder.de";
USER = "forgejo@sbruder.de";
};
avatar = {
DISABLE_GRAVATAR = true;
};
server = {
# http server
DOMAIN = "git.sbruder.de";
PROTOCOL = "http+unix";
ROOT_URL = "https://git.sbruder.de/";
# privacy
DISABLE_ROUTER_LOG = true;
OFFLINE_MODE = true;
# internal ssh server
BUILTIN_SSH_SERVER_USER = "git";
START_SSH_SERVER = true;
SSH_PORT = 2022;
SSH_SERVER_HOST_KEYS = "ssh/forgejo.ed25519,ssh/forgejo.rsa";
};
service = {
DEFAULT_ALLOW_CREATE_ORGANIZATION = false;
DEFAULT_KEEP_EMAIL_PRIVATE = true;
ENABLE_NOTIFY_MAIL = true;
NO_REPLY_ADDRESS = "users.git.sbruder.de";
REGISTER_MANUAL_CONFIRM = true;
};
session = {
PROVIDER = "file";
COOKIE_SECURE = true;
};
log = {
LEVEL = "Warn";
};
};
};
networking.firewall.allowedTCPPorts = [ cfg.settings.server.SSH_PORT ];
services.nginx.virtualHosts."git.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://unix:/run/forgejo/forgejo.sock";
};
extraConfig = ''
client_max_body_size 1G; # Git LFS
'';
};
}

View File

@ -0,0 +1,65 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, ... }:
let
cfg = config.services.grafana;
in
{
services.grafana = {
enable = true;
settings = {
server = {
# grafana supports sockets, but no permission management (always 660 grafana:grafana)
http_addr = "127.0.0.1";
http_port = 3002;
domain = "grafana.sbruder.de";
rootUrl = "https://%(domain)s/";
};
database = {
type = "postgres";
host = "/run/postgresql";
user = "grafana";
};
analytics = {
reporting_enabled = false;
check_for_updates = false;
check_for_plugin_updates = false;
};
};
provision = {
enable = true;
datasources.settings.datasources = [
{
name = "Prometheus";
type = "prometheus";
url = "http://${config.services.prometheus.listenAddress}:${toString config.services.prometheus.port}";
isDefault = true;
}
];
};
};
systemd.services.grafana.after = [ "postgresql.service" ];
services.postgresql = {
enable = true;
ensureDatabases = [ cfg.settings.database.name ];
ensureUsers = [
{
name = cfg.settings.database.user;
ensureDBOwnership = true;
}
];
};
services.nginx.virtualHosts."grafana.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations = {
"/".proxyPass = "http://${cfg.settings.server.http_addr}:${toString cfg.settings.server.http_port}";
};
};
}

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
let
cfg = config.services.hedgedoc;
@ -7,37 +11,34 @@ in
enable = true;
ensureDatabases = [ "hedgedoc" ];
ensureUsers = lib.singleton {
name = "codimd";
ensurePermissions = {
"DATABASE hedgedoc" = "ALL PRIVILEGES";
};
name = "hedgedoc";
ensureDBOwnership = true;
};
};
services.hedgedoc = {
enable = true;
configuration = {
settings = {
host = "127.0.0.1";
port = 3001;
db = {
dialect = "postgres";
host = "/run/postgresql";
#user = "hedgedoc";
user = "hedgedoc";
database = "hedgedoc";
};
domain = "pad.sbruder.de";
protocolUseSSL = true;
csp.enable = true;
imageUploadType = "filesystem";
uploadsPath = "/data/hedgedoc/uploads";
};
};
systemd.services.hedgedoc = {
after = [ "postgresql.service" ];
preStart = toString (pkgs.writeShellScript "hedgedoc-generate-session-secret" ''
if [ ! -f ${cfg.workDir}/session_secret_env ]; then
echo "CMD_SESSION_SECRET=$(${pkgs.pwgen}/bin/pwgen -s 32 1)" > ${cfg.workDir}/session_secret_env
if [ ! -f /var/lib/hedgedoc/session_secret_env ]; then
echo "CMD_SESSION_SECRET=$(${pkgs.pwgen}/bin/pwgen -s 32 1)" > /var/lib/hedgedoc/session_secret_env
fi
'');
serviceConfig = {
@ -45,19 +46,19 @@ in
"CMD_LOGLEVEL=warn"
];
EnvironmentFile = [
"-${cfg.workDir}/session_secret_env" # - ensures that it will not fail on first start
"-/var/lib/hedgedoc/session_secret_env" # - ensures that it will not fail on first start
];
};
};
systemd.tmpfiles.rules = [
"d ${cfg.configuration.uploadsPath} 0700 codimd codimd - -"
"d ${cfg.settings.uploadsPath} 0700 hedgedoc hedgedoc - -"
];
services.nginx.virtualHosts."pad.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://${cfg.configuration.host}:${toString cfg.configuration.port}";
locations."/".proxyPass = "http://${cfg.settings.host}:${toString cfg.settings.port}";
};
}

View File

@ -0,0 +1,46 @@
From a5b4cf207d3942963d8d7553ec3d6cd36bdc41fc Mon Sep 17 00:00:00 2001
From: Simon Bruder <simon@sbruder.de>
Date: Thu, 9 Sep 2021 16:56:57 +0200
Subject: [PATCH] Prefer opus audio streams in listen mode
---
src/invidious/views/components/player.ecr | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr
index c3c02df0..82c89500 100644
--- a/src/invidious/views/components/player.ecr
+++ b/src/invidious/views/components/player.ecr
@@ -7,14 +7,14 @@
<source src="<%= URI.parse(hlsvp).request_target %><% if params.local %>?local=true<% end %>" type="application/x-mpegURL" label="livestream">
<% else %>
<% if params.listen %>
- <% # default to 128k m4a stream
- best_m4a_stream_index = 0
- best_m4a_stream_bitrate = 0
+ <% # default to 128k opus stream
+ best_opus_stream_index = 0
+ best_opus_stream_bitrate = 0
audio_streams.each_with_index do |fmt, i|
bandwidth = fmt["bitrate"].as_i
- if (fmt["mimeType"].as_s.starts_with?("audio/mp4") && bandwidth > best_m4a_stream_bitrate)
- best_m4a_stream_bitrate = bandwidth
- best_m4a_stream_index = i
+ if (fmt["mimeType"].as_s.starts_with?("audio/webm") && bandwidth > best_opus_stream_bitrate)
+ best_opus_stream_bitrate = bandwidth
+ best_opus_stream_index = i
end
end
@@ -25,7 +25,7 @@
bitrate = fmt["bitrate"]
mimetype = HTML.escape(fmt["mimeType"].as_s)
- selected = (i == best_m4a_stream_index)
+ selected = (i == best_opus_stream_index)
%>
<source src="<%= src_url %>" type='<%= mimetype %>' label="<%= bitrate %>k" selected="<%= selected %>">
<% if !params.local && !CONFIG.disabled?("local") %>
--
2.36.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: AGPL-3.0-or-later

View File

@ -1,4 +1,8 @@
{ config, pkgs, ... }:
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
{
sops.secrets.invidious-extra-settings = {
@ -10,7 +14,7 @@
services.invidious = {
enable = true;
package = pkgs.invidious.overrideAttrs (o: o // {
package = pkgs.unstable.invidious.overrideAttrs (o: o // {
patches = (o.patches or [ ]) ++ [
./0001-Prefer-opus-audio-streams-in-listen-mode.patch
];
@ -36,6 +40,7 @@
local = true; # no external requests
use_pubsub_feeds = true;
modified_source_code_url = "https://github.com/sbruder/invidious/tree/patches";
https_only = lib.mkForce true;
};
extraSettingsFile = config.sops.secrets.invidious-extra-settings.path;
};
@ -45,9 +50,16 @@
};
services.nginx.virtualHosts."iv.sbruder.xyz" = {
enableACME = false;
forceSSL = false;
extraConfig = ''
allow ${config.sbruder.wireguard.home.subnet};
deny all;
'';
locations = {
"/robots.txt".return = "200 'User-agent: *\\nDisallow: /'";
"/privacy".return = "301 'https://sbruder.xyz/#privacy'";
"/feed/popular".return = "403"; # leaks data about its users
};
};
}

View File

@ -0,0 +1,32 @@
# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, ... }:
{
sops.secrets.mastodon-mail = {
owner = config.services.mastodon.user;
sopsFile = ../secrets.yaml;
};
services.mastodon = {
enable = true;
configureNginx = true;
localDomain = "procrastination.space";
smtp = {
createLocally = false;
host = "vueko.sbruder.de";
port = 465;
user = "mastodon@sbruder.de";
passwordFile = config.sops.secrets.mastodon-mail.path;
fromAddress = config.services.mastodon.smtp.user;
authenticate = true;
};
streamingProcesses = 5;
extraConfig = {
SMTP_TLS = "true";
RAILS_LOG_LEVEL = "warn";
};
};
}

View File

@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{
imports = [
./synapse.nix
./mautrix-whatsapp.nix
./go-neb.nix
];
}

View File

@ -1,6 +1,10 @@
# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
let
synapseCfg = config.services.matrix-synapse;
synapseCfg = config.services.matrix-synapse.settings;
in
{
sops.secrets = {

View File

@ -1,7 +1,11 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# somewhat adapted from https://github.com/NixOS/nixpkgs/pull/59211
{ config, lib, pkgs, ... }:
let
synapseCfg = config.services.matrix-synapse;
synapseCfg = config.services.matrix-synapse.settings;
in
let
config = rec {
@ -46,7 +50,10 @@ let
reaction_notices = true;
relay.enable = false;
};
logging.print_level = "info";
logging = {
print_level = "info";
file_name_format = null;
};
};
generatedConfig = pkgs.runCommandNoCC "mautrix-whatsapp-config"
@ -74,5 +81,5 @@ in
};
};
services.matrix-synapse.app_service_config_files = lib.singleton "${generatedConfig}/registration.yaml";
services.matrix-synapse.settings.app_service_config_files = lib.singleton "${generatedConfig}/registration.yaml";
}

View File

@ -1,6 +1,10 @@
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
let
cfg = config.services.matrix-synapse;
cfg = config.services.matrix-synapse.settings;
fqdn = "matrix.sbruder.de";
domain = "sbruder.de";
@ -20,66 +24,68 @@ in
services.matrix-synapse = {
enable = true;
server_name = domain;
public_baseurl = "https://${fqdn}";
listeners = lib.singleton {
port = 8008;
bind_address = "127.0.0.1";
type = "http";
tls = false;
x_forwarded = true;
resources = lib.singleton {
names = [ "client" "federation" "metrics" ];
compress = false;
};
};
settings = {
server_name = domain;
public_baseurl = "https://${fqdn}";
dataDir = "/data/matrix/synapse";
turn_uris = [
"turns:turn.sbruder.de:5349?transport=udp"
"turns:turn.sbruder.de:5349?transport=tcp"
"turn:turn.sbruder.de:3478?transport=udp"
"turn:turn.sbruder.de:3478?transport=tcp"
];
turn_user_lifetime = "3600000"; # 1h
enable_metrics = true;
# adapted from https://github.com/NixOS/nixpkgs/blob/7e10bf4327491a6ebccbe1aaa8e6c6c0aca4663a/nixos/modules/services/misc/matrix-synapse-log_config.yaml
# - set root.level to WARNING instead of INFO
logConfig = builtins.toJSON {
version = 1;
formatters.journal_fmt.format = "%(name)s: [%(request)s] %(message)s";
filters.context = {
"()" = "synapse.util.logcontext.LoggingContextFilter";
request = "";
listeners = lib.singleton {
port = 8008;
bind_addresses = [ "127.0.0.1" ];
type = "http";
tls = false;
x_forwarded = true;
resources = lib.singleton {
names = [ "client" "federation" "metrics" ];
compress = false;
};
};
handlers.journal = {
class = "systemd.journal.JournalHandler";
formatter = "journal_fmt";
filters = [ "context" ];
SYSLOG_IDENTIFIER = "synapse";
};
turn_uris = [
"turns:turn.sbruder.de:5349?transport=udp"
"turns:turn.sbruder.de:5349?transport=tcp"
"turn:turn.sbruder.de:3478?transport=udp"
"turn:turn.sbruder.de:3478?transport=tcp"
];
turn_user_lifetime = "3600000"; # 1h
root = {
level = "WARNING";
handlers = [ "journal" ];
};
enable_metrics = true;
disable_existing_loggers = false;
};
# adapted from https://github.com/NixOS/nixpkgs/blob/7e10bf4327491a6ebccbe1aaa8e6c6c0aca4663a/nixos/modules/services/misc/matrix-synapse-log_config.yaml
# - set root.level to WARNING instead of INFO
log_config = pkgs.writeText "log_config.yaml" (builtins.toJSON {
version = 1;
max_upload_size = "50M";
formatters.journal_fmt.format = "%(name)s: [%(request)s] %(message)s";
filters.context = {
"()" = "synapse.util.logcontext.LoggingContextFilter";
request = "";
};
handlers.journal = {
class = "systemd.journal.JournalHandler";
formatter = "journal_fmt";
filters = [ "context" ];
SYSLOG_IDENTIFIER = "synapse";
};
root = {
level = "WARNING";
handlers = [ "journal" ];
};
disable_existing_loggers = false;
});
max_upload_size = "50M";
extraConfig = ''
# Im okay with using matrix.org as trusted key server
suppress_key_server_warning: true
'';
suppress_key_server_warning = true;
# For mautrix-whatsapp backfilling
experimental_features.msc2716_enabled = true;
};
extraConfigFiles = with config.sops.secrets; [
synapse-registration-shared-secret.path
@ -91,12 +97,8 @@ in
enable = true;
# synapse requires custom databse configuration:
# CREATE DATABASE "matrix-synapse" TEMPLATE template0 LC_COLLATE "C" LC_CTYPE "C";
ensureUsers = lib.singleton {
name = "matrix-synapse";
ensurePermissions = {
"DATABASE \"matrix-synapse\"" = "ALL PRIVILEGES";
};
};
# as the databse is not created with NixOS,
# the ownership cant be ensured here.
};
services.nginx.virtualHosts = {
@ -111,7 +113,7 @@ in
listenerCfg = (lib.elemAt cfg.listeners 0);
in
{
proxyPass = "http://${listenerCfg.bind_address}:${toString listenerCfg.port}";
proxyPass = "http://${lib.elemAt listenerCfg.bind_addresses 0}:${toString listenerCfg.port}";
extraConfig = ''
client_max_body_size ${cfg.max_upload_size};

View File

@ -0,0 +1,33 @@
# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, ... }:
{
sops.secrets.murmur-superuser = {
owner = config.users.users.murmur.name;
sopsFile = ../secrets.yaml;
};
users.users.murmur.isSystemUser = true; # Infinisils module does not set that
services.murmur = {
enable = true;
openFirewall = true;
superuserPasswordFile = config.sops.secrets.murmur-superuser.path;
acmeDomain = "mumble.sbruder.de";
config = {
bandwidth = "128000";
obfuscate = true;
logfile = ""; # log to stdout
username = ''[ \\-=\\w\\[\\]\\{\\}\\(\\)\\@\\|\\.]+'';
channelname = ''[ \\-=\\w\\#\\[\\]\\{\\}\\(\\)\\@\\|]+'';
};
};
services.nginx.virtualHosts."mumble.sbruder.de" = {
enableACME = true;
forceSSL = true;
};
}

View File

@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: 2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ inputs, pkgs, ... }:
{
services.nginx.virtualHosts."phss.sbruder.de" = {
enableACME = true;
forceSSL = true;
root = "${inputs.password-hash-self-service.packages.${pkgs.system}.default}";
};
}

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
let
cfg = config.services.prometheus;
@ -63,30 +67,40 @@ in
static_configs = mkStaticTargets [
"fuuko.vpn.sbruder.de:9100"
"mayushii.vpn.sbruder.de:9100"
"sayuri.vpn.sbruder.de:9100"
"nunotaba.vpn.sbruder.de:9100"
"renge.vpn.sbruder.de:9100"
"hitagi.vpn.sbruder.de:9100"
"vueko.vpn.sbruder.de:9100"
"okarin.vpn.sbruder.de:9100"
"shinobu.vpn.sbruder.de:9100"
"nazuna.vpn.sbruder.de:9100"
"yuzuru.vpn.sbruder.de:9100"
];
}
{
job_name = "aria2";
static_configs = mkStaticTarget "127.0.0.1:9578";
relabel_configs = lib.singleton {
target_label = "instance";
replacement = "torrent.sbruder.de";
source_labels = lib.singleton "__address__";
regex = "(.*)\\.vpn\\.sbruder\\.de:9100";
};
}
{
job_name = "fritzbox";
static_configs = mkStaticTarget "127.0.0.1:9133";
job_name = "qbittorrent";
static_configs = mkStaticTargets [
"fuuko.vpn.sbruder.de:9561"
"nazuna.vpn.sbruder.de:9561"
];
relabel_configs = lib.singleton {
target_label = "instance";
source_labels = lib.singleton "__address__";
regex = "(.*)\\.vpn\\.sbruder\\.de:9561";
};
}
(
let
listenerCfg = (lib.elemAt config.services.matrix-synapse.listeners 0);
listenerCfg = (lib.elemAt config.services.matrix-synapse.settings.listeners 0);
in
{
job_name = "synapse";
static_configs = mkStaticTarget "${listenerCfg.bind_address}:${toString listenerCfg.port}";
static_configs = mkStaticTarget "${lib.elemAt listenerCfg.bind_addresses 0}:${toString listenerCfg.port}";
metrics_path = "/_synapse/metrics";
relabel_configs = lib.singleton {
target_label = "instance";
@ -96,16 +110,67 @@ in
)
{
job_name = "dnsmasq";
static_configs = mkStaticTarget (with config.services.prometheus.exporters.dnsmasq; "${listenAddress}:${toString port}");
static_configs = mkStaticTarget "shinobu.vpn.sbruder.de:${toString config.services.prometheus.exporters.dnsmasq.port}";
relabel_configs = lib.singleton {
target_label = "instance";
replacement = "fuuko.home.sbruder.de";
replacement = "shinobu";
};
}
{
job_name = "hcloud";
static_configs = mkStaticTarget config.services.hcloud_exporter.listenAddress;
}
{
job_name = "co2";
static_configs = mkStaticTarget "shinobu.vpn.sbruder.de:9672";
}
{
job_name = "rspamd";
static_configs = mkStaticTarget "vueko.vpn.sbruder.de";
metrics_path = "/rspamd/metrics";
relabel_configs = lib.singleton {
target_label = "instance";
replacement = "vueko.sbruder.de";
};
}
{
job_name = "knot";
static_configs = mkStaticTargets [
"vueko.vpn.sbruder.de:9433"
"renge.vpn.sbruder.de:9433"
"okarin.vpn.sbruder.de:9433"
"yuzuru.vpn.sbruder.de:9433"
];
relabel_configs = lib.singleton {
target_label = "instance";
source_labels = lib.singleton "__address__";
regex = "(.*)\\.vpn\\.sbruder\\.de:9433";
};
}
{
job_name = "snmp";
metrics_path = "/snmp";
params = {
module = [ "if_mib" ];
};
static_configs = mkStaticTargets [
"karibik.management.shinonome-lab.de"
];
relabel_configs = [
{
source_labels = lib.singleton "__address__";
target_label = "__param_target";
}
{
source_labels = lib.singleton "__param_target";
target_label = "instance";
}
{
target_label = "__address__";
replacement = "shinobu.vpn.sbruder.de:9116";
}
];
}
];
rules =
@ -123,7 +188,7 @@ in
rules = map mkAlert [
{
name = "InstanceDown";
expr = ''up{instance!~"(sayuri|mayushii).vpn.sbruder.de:.*"} == 0'';
expr = ''up{instance!~"(nunotaba|hitagi|mayushii|fuuko)"} == 0'';
description = "Instance {{ $labels.instance }} of job {{ $labels.job }} has been down for more than 1 minutes.";
}
{
@ -143,28 +208,29 @@ in
for = "2m";
description = "Node {{ $labels.instance }} is using more than 90% of available RAM.";
}
{
name = "TP440ACPIBroken";
expr = ''node_hwmon_temp_celsius{chip="thermal_thermal_zone0",instance="nunotaba.vpn.sbruder.de:9100",job="node",sensor="temp1"} == 48'';
for = "10m";
description = "Thinkpad T440s ACPI temperature is broken. Its reported temperature is 48°C for the last 10 minutes. That doesnt seem right. Try suspending";
}
{
name = "TorrentNoPeers";
expr = "sum by (instance) (aria2_torrent_peers) == 0";
description = "Aria2 instance {{ $labels.instance }} has no peers. There might be a network connectivity problem";
expr = "sum by (instance) (qBittorrent_torrent_connected_leechs) == 0";
description = "qBittorrent instance {{ $labels.instance }} has no peers. There might be a network connectivity problem";
}
# <40% is to account for /boot being full (which causes ugly errors on rebuild)
{
name = "DiskFull";
expr = ''node_filesystem_free_bytes{fstype!~"ramfs|tmpfs", mountpoint!~"/nix/store"} / node_filesystem_size_bytes{fstype!~"ramfs|tmpfs", mountpoint!~"/nix/store"} < 0.4 and node_filesystem_free_bytes{fstype!~"ramfs|tmpfs", mountpoint!~"/nix/store"} < 4*1024^3'';
description = "Device {{ $labels.device }} on {{ $labels.instance }}:{{ $labels.mountpoint }} has less than 4GiB free space while being used over 40%";
}
];
};
})
];
exporters = {
fritzbox = {
enable = true;
gatewayAddress = "192.168.100.1";
listenAddress = "127.0.0.1";
};
};
};
# get rid of “could not call action: authorization required” every scrape
systemd.services.prometheus-fritzbox-exporter.serviceConfig.StandardOutput = "null";
# exporters that are not part of nixpkgs prometheus infrastructure
services.hcloud_exporter = {
enable = true;

View File

@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: 2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: CC0-1.0
index.html

View File

@ -0,0 +1,63 @@
# SPDX-FileCopyrightText: 2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# I dont do this, because I want to.
# I think I might have to do this because of § 8.2 of Hetzners ToS.
{ config, lib, ... }:
let
serviceBlocks = {
nitter = [
{ path = "/ks1v/status/1439866313476689924"; report = "2023-04-21-Hetzner-C591581F-ROSKOMNADZOR.txt"; }
];
iv = [
{ video = "NR57D2UVqm4"; report = "2023-04-28-Hetzner-C633C02D-ROSKOMNADZOR.txt"; }
];
libreddit = [
];
};
in
{
services.nginx.virtualHosts = lib.mapAttrs'
(domain: blocks: lib.nameValuePair "${domain}.sbruder.xyz" {
locations = lib.listToAttrs
(map
(block:
let
# workaround for nginx dropping parent headers
# see https://github.com/yandex/gixy/blob/master/docs/en/plugins/addheaderredefinition.md
parentHeaders = lib.concatStringsSep "\n" (lib.filter
(lib.hasPrefix "add_header ")
(lib.splitString "\n" config.services.nginx.commonHttpConfig));
transparency_url = "https://sbruder.xyz/transparency/${block.report}";
return_statement = ''
${parentHeaders}
add_header Link "<${transparency_url}>; rel=blocked-by" always;
add_header Content-Type text/html always;
return 451 '<html><head><title>451 Unavailable For Legal Reasons</title></head><body><center><h1>451 Unavailable For Legal Reasons</h1><p><a href="${transparency_url}">Transparency</a></p></center><hr><center>nginx</center></body></html>';
'';
path =
if block ? "path"
then block.path
else
(if block ? "video"
then "/" # not pretty, but I dont know how to do this differently
else throw "invalid block");
location_block =
if block ? "video"
then {
extraConfig = ''
if ($arg_v = ${block.video}) {
${return_statement}
}
'';
}
else { extraConfig = return_statement; };
in
lib.nameValuePair
path
location_block)
blocks);
})
serviceBlocks;
}

View File

@ -1,10 +1,15 @@
{ pkgs, ... }:
# SPDX-FileCopyrightText: 2021-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, pkgs, ... }:
{
services.nginx.virtualHosts."sbruder.xyz" = {
forceSSL = true;
enableACME = true;
imports = [
./blocks.nix
];
services.nginx.virtualHosts."sbruder.xyz" = {
root = pkgs.stdenvNoCC.mkDerivation {
name = "sbruder.xyz";
@ -33,8 +38,20 @@
'';
};
extraConfig = ''
allow ${config.sbruder.wireguard.home.subnet};
deny all;
'';
locations = {
"/imprint/".alias = "${pkgs.sbruder.imprint}/";
"/transparency/" = {
alias = "/var/www/transparency/";
extraConfig = ''
autoindex on;
charset utf-8;
'';
};
};
};
}

View File

@ -1,8 +1,12 @@
<!--
SPDX-FileCopyrightText: 2022-2023 Simon Bruder <simon@sbruder.de>
SPDX-License-Identifier: CC-BY-SA-4.0
-->
On this domain, the following services are currently available:
* [Invidious](https://iv.sbruder.xyz)
* [Libreddit](https://libreddit.sbruder.xyz)
* [Nitter](https://nitter.sbruder.xyz)
They are all semi-public instances.
That means, they are not included in lists of public instances,
@ -14,7 +18,7 @@ and configuring the addresses to point to this server.
However, please note the following if you want to use them:
* These services are provided as-is without any guarantees.
* You must not use these services for any activities illegal under Finnish or German law.
* You must not use these services for any activities illegal under German law.
* You must not use these services to interfere with the operation of the services
or the sites that originally provide the data.
* Please dont over/abuse these services.
@ -25,10 +29,28 @@ Also note the following service-specific things:
* **Invidious**: There are no backups, so you are responsible for using the data export feature to back up important data.
The VPS providing the services is running NixOS.
The configuration is available [here](https://git.sbruder.de/simon/nixos-config/src/branch/master/machines/yuzuru).
The configuration is available [here](https://git.sbruder.de/simon/nixos-config/src/branch/master/machines/renge).
If you have any questions, please [contact me](https://sbruder.de).
## History
Previously, the following services were also available:
* [Libreddit](https://libreddit.sbruder.xyz)
* [Nitter](https://nitter.sbruder.xyz)
They are no longer offered,
as both Twitter (which no longer exists in its previous form) and Reddit
have become extremely hostile to third party applications,
which made them unreliable and forced the developers (at least for Libreddit)
to discontinue development.
The recommended migration path is to use alternative hosted instances
(<https://nitter.net> has been mostly working at the time of writing this)
or discontinue usage of that platform.
<!-- REUSE-IgnoreStart -->
## A Note to Copyright Holders
The services are only relaying content that is otherwise already available on the Internet.
@ -37,9 +59,9 @@ please report this to the site originally making it available.
Otherwise the content will still be available on the Internet.
If you still want to report illegal content to me instead of the original site,
send me an Email to the address stated in the imprint.
This is the fastest way to resolve the issue,
so please use that if you care about it.
you can contact me by the means specified in the imprint.
Please dont send letters by snail mail if you want a fast response.
<!-- REUSE-IgnoreEnd -->
## Imprint
@ -47,14 +69,20 @@ See [Imprint](/imprint/).
## Privacy
The Libreddit and Nitter services do not store your personally identifiable information.
If you log in to an Invidious account,
the data you provide to the service will be stored.
You can export or delete that data by using its built-in data control feature.
In the case of an error, details of the problematic request might be stored on the server
and used strictly for debugging and fixing the error.
Those logs will be deleted after one week.
## Transparency
For transparency reasons,
you can find all take down requests [here](/transparency/).
I was not sure if the reported content could be seen as violating Hetzners ToS,
and therefore complied, even though I dont want to support the authority asking for removal.
#### Fine Print

View File

@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: 2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: CC-BY-SA-4.0
title: sbruder.xyz
mainfont: Roboto, Helvetica, Arial, sans-serif

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
let
domain = "schulischer-schabernack.de";
@ -21,7 +25,7 @@ in
forceSSL = true;
enableACME = true;
root = "/var/www/schabernack/production";
root = "/var/www/schabernack";
# only log page views, rss feed access, media file download and embed views
extraConfig = ''
@ -35,38 +39,10 @@ in
enableACME = true;
globalRedirect = domain;
extraConfig = ''
access_log off;
'';
};
"staging.${domain}" = {
forceSSL = true;
enableACME = true;
root = "/var/www/schabernack/staging";
extraConfig = ''
access_log off;
'';
};
};
};
systemd.tmpfiles.rules = [
"d /var/www/schabernack/production 0755 schabernack root -"
"d /var/www/schabernack/staging 0755 schabernack root -"
];
users = {
users.schabernack = {
isSystemUser = true;
group = "schabernack";
shell = "/bin/sh";
openssh.authorizedKeys.keys = map
(key: "command=\"${pkgs.rrsync}/bin/rrsync -wo /var/www/schabernack/\",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ${key}")
config.sbruder.pubkeys.trustedKeys;
};
groups.schabernack = { };
};
}

View File

@ -1,21 +0,0 @@
# sayuri
## Hardware
HP Z440 workstation.
* [Intel Xeon E5-1620 v4](https://ark.intel.com/content/www/us/en/ark/products/92991/intel-xeon-processor-e5-1620-v4-10m-cache-3-50-ghz.html)
* 16 GiB DDR4 2400 MHz ECC memory
* 250GB Samsung 970 Evo Pro NVMe SSD
* 256GB micron SSD
* 2TB Toshiba HDWA120 HDD
* Sapphire Nitro+ Radeon RX 480
## Purpose
Tasks that benefit from parallel computing, require a decent amount of GPU
power or possibly even both.
## Name
Sayuri Kurata is a student from *Kanon*

View File

@ -1,97 +0,0 @@
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
../../users/simon
];
sbruder = {
games = {
enable = true;
performanceIndex = 8;
};
gui.enable = true;
media-proxy.enable = true;
mullvad.enable = true;
restic.system = {
enable = true;
extraPaths = [
"/data"
];
};
unfree.allowSoftware = true;
wireguard.home.enable = true;
};
virtualisation.libvirtd = {
enable = true;
qemu.package = pkgs.qemu_kvm;
};
services.tor = {
enable = true;
client.enable = true;
};
services.privoxy = {
enable = true;
enableTor = true;
};
services.samba = {
enable = true;
securityType = "user";
extraConfig = ''
interfaces = 192.168.122.1
bind interfaces only = yes
map to guest = bad user
load printers = no
printing = bsd
disable spoolss = yes
usershare max shares = 0
acl allow execute always = True
'';
shares = {
qemu = {
path = "/data/cache/win10/shared";
browseable = "yes";
"read only" = "no";
"guest ok" = "yes";
"force user" = "simon";
};
};
};
networking.firewall.trustedInterfaces = [ "virbr0" ];
networking.hostName = "sayuri";
system.stateVersion = "20.03";
specialisation = {
foldingathome.configuration = {
services.foldingathome = {
enable = true;
user = "sbruder";
};
};
intel-sucks.configuration = {
# https://make-linux-fast-again.com/
boot.kernelParams = [
"l1tf=off"
"mds=off"
"mitigations=off"
"no_stf_barrier"
"noibpb"
"noibrs"
"nopti"
"nospec_store_bypass_disable"
"nospectre_v1"
"nospectre_v2"
"tsx=on"
"tsx_async_abort=off"
];
sbruder.gui.enable = lib.mkForce false;
};
};
}

Some files were not shown because too many files have changed in this diff Show More