Commit Graph

131 Commits

Author SHA1 Message Date
78705d440a homeassistant: only switch bathroom light when it is already on
All checks were successful
flake / flake (push) Successful in 1m18s
Although the system now knows whether the bathroom light is on, it switches the switch every time the light should be turned off regardless of if it's already off. Because this is a device running on battery that performs a physical movement this runs the battery out very fast. Adjust the system to only switch the light off if it thinks it's on, even though this has the potential for desyncs.
2024-05-25 22:03:11 +01:00
3f829236a2 homeassistant: read bathroom light status from motion sensor
All checks were successful
flake / flake (push) Successful in 1m18s
2024-05-25 17:03:57 +01:00
22305815c6 matrix: fix warning about renamed sliding sync
All checks were successful
flake / flake (push) Successful in 1m17s
2024-05-25 16:33:05 +01:00
62e61bec8a matrix: add sliding sync
All checks were successful
flake / flake (push) Successful in 1m18s
2024-05-24 10:18:30 +01:00
796bbc7a68 chore(deps): update nixpkgs to nixos-24.05 (#271)
All checks were successful
flake / flake (push) Successful in 1m20s
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [nixpkgs](https://github.com/NixOS/nixpkgs) | major | `nixos-23.11` -> `nixos-24.05` |

---

### Release Notes

<details>
<summary>NixOS/nixpkgs (nixpkgs)</summary>

### [`vnixos-24.05`](https://github.com/NixOS/nixpkgs/compare/nixos-23.11...nixos-24.05)

[Compare Source](https://github.com/NixOS/nixpkgs/compare/nixos-23.11...nixos-24.05)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjM3NC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: Jake Hillion <jake@hillion.co.uk>
Reviewed-on: #271
Co-authored-by: Renovate Bot <renovate-bot@noreply.gitea.hillion.co.uk>
Co-committed-by: Renovate Bot <renovate-bot@noreply.gitea.hillion.co.uk>
2024-05-23 22:40:58 +01:00
8123653a92 jorah.cx: delete
All checks were successful
flake / flake (push) Successful in 1m17s
2024-05-21 22:43:56 +01:00
a9c9600b14 matrix: move jorah->boron
All checks were successful
flake / flake (push) Successful in 2m20s
2024-05-18 19:14:39 +01:00
eae5e105ff unifi: move jorah->boron
All checks were successful
flake / flake (push) Successful in 1m21s
2024-05-18 16:52:22 +01:00
f1fd6ee270 gitea: fix ips in iptables rules
All checks were successful
flake / flake (push) Successful in 1m10s
2024-05-18 15:34:43 +01:00
f59824ad62 gitea: move jorah->boron
All checks were successful
flake / flake (push) Successful in 2m16s
2024-05-12 13:11:54 +01:00
bff93529aa www.global: move jorah->boron
All checks were successful
flake / flake (push) Successful in 1m56s
2024-05-12 12:11:15 +01:00
13bfe6f787 boron: enable authoritative dns
All checks were successful
flake / flake (push) Successful in 2m4s
2024-05-10 22:44:48 +01:00
ad8c8b9b19 boron: enable version_tracker
All checks were successful
flake / flake (push) Successful in 2m5s
2024-05-10 22:12:49 +01:00
a4235b2581 boron: move to kernel 6.8 and re-image
All checks were successful
flake / flake (push) Successful in 1m58s
The extremely modern hardware on this server appears to experience
kernel crashes with the default NixOS 23.11 kernel 6.1 and the default
NixOS 24.05 kernel 6.6. Empirical testing shows the server staying up on
Ubuntu 22's 6.2 and explicit NixOS kernel 6.8.

The server was wiped during this testing so now needs reimaging.
2024-05-08 21:11:09 +01:00
a272cd0661 downloads: add explicit nameservers
All checks were successful
flake / flake (push) Successful in 1m48s
2024-05-06 00:07:25 +01:00
1ca4daab9c locations: move attrset into config block
All checks were successful
flake / flake (push) Successful in 1m42s
2024-04-28 10:39:40 +01:00
745ea58dec homeassistant: update trusted proxies
All checks were successful
flake / flake (push) Successful in 1m46s
2024-04-27 19:14:12 +01:00
348bca745b jorah: add authoritative dns server
All checks were successful
flake / flake (push) Successful in 1m44s
2024-04-27 18:54:46 +01:00
0ef24c14e7 tailscale: update to included nixos module
All checks were successful
flake / flake (push) Successful in 1m43s
2024-04-27 15:36:45 +01:00
d9233021c7 add enable options for modules/common/default
All checks were successful
flake / flake (push) Successful in 2m9s
2024-04-27 13:46:06 +01:00
eba1dae06b chia: update to 2.2.1
All checks were successful
flake / flake (push) Successful in 1m59s
2024-04-24 23:36:51 +01:00
1c75fa88a7 boron.cx: add new dedicated server
All checks were successful
flake / flake (push) Successful in 1m49s
2024-04-23 20:45:44 +01:00
4d1521e4b4 be.lt: add beryllium laptop
All checks were successful
flake / flake (push) Successful in 1m43s
2024-04-21 17:15:14 +01:00
88b33598d7 microserver.parents -> li.pop
All checks were successful
flake / flake (push) Successful in 1m30s
2024-04-20 13:45:00 +01:00
d6b15a1f25 known_hosts: add jorah and theon
All checks were successful
flake / flake (push) Successful in 1m10s
2024-04-14 14:35:38 +01:00
52caf6edf9 gitea.actions: nixify basic docker runner
All checks were successful
flake / flake (push) Successful in 1m37s
2024-04-14 00:09:28 +01:00
016d0e61b5 www: proxy some domains via cloudflare
All checks were successful
flake / flake (push) Successful in 3m38s
2024-04-13 23:02:22 +01:00
b4a33bb6b2 jorah: fix dual networking setup
All checks were successful
flake / flake (push) Successful in 3m35s
2024-04-13 16:45:20 +01:00
8cee990f54 cleanup references to server stranger
All checks were successful
flake / flake (push) Successful in 3m34s
2024-04-10 21:38:08 +01:00
59e5717e00 vm.strangervm: delete
All checks were successful
flake / flake (push) Successful in 3m39s
2024-04-07 21:07:02 +01:00
f2fe064f72 mastodon: stop running
All checks were successful
flake / flake (push) Successful in 4m57s
2024-04-07 19:08:35 +01:00
dd76435ec3 drone: remove server
All checks were successful
flake / flake (push) Successful in 5m9s
2024-04-07 19:00:12 +01:00
ca1751533c update_script: escape quote
All checks were successful
flake / flake (push) Successful in 5m8s
2024-04-07 17:01:56 +01:00
72898701da update_script: remove accidental subshell from echo
All checks were successful
flake / flake (push) Successful in 5m9s
2024-04-07 16:13:13 +01:00
9752e63f09 all: add easy update script
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-07 14:11:58 +01:00
d3fb88a328 gitea: update settings
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-01 20:28:46 +01:00
88378c3179 deluge: update config options
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-28 22:30:26 +00:00
d682d5434b add links. pointing to matrix
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-27 22:37:31 +00:00
790d0a8a6b homeassistant: add switchbot component
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-18 21:26:34 +00:00
78a024a924 add homeassistant
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-16 19:46:22 +00:00
5e725b14bb impermenance: fix zsh history file
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-16 15:00:34 +00:00
7f25cab5f8 www: cleanup emby
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-16 13:44:07 +00:00
d7398e38df flake: update to nixpkgs 2311
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-10 15:34:54 +00:00
fc599096b4 chia: migrate to docker
All checks were successful
continuous-integration/drone/push Build is passing
Chia was pulled from the nixpkgs tree
(https://github.com/NixOS/nixpkgs/pull/270254) and the alternative
provided, `chia.nix`, still hasn't landed v2
(https://github.com/0xbbjubjub/chia.nix).

Switch to a more stable container release even if it's heavier than a
nixpkg. Hopefully at some point in the future the Nix build will
stabilise.

Latest docker package selected from https://github.com/Chia-Network/chia-docker/pkgs/container/chia - electing to do update this manually for determinism.
2024-02-08 23:33:46 +00:00
da8f4bb5a5 router: enable serial console on ttyS0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-07 22:33:51 +00:00
a1e4578ee1 ssh: fix github known hosts
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Using a pkgs.writeText causes an import at evaluation time instead of
just build time. This means that no host running `nix flake check` can
check all configurations if you have mixed architectures in a flake.

For some reason I've been getting away with this. This stopped when
switching to nixos-2311. Move the known hosts with a single key into the
NixOS config directly and put the GitHub keys in a real file. These
can't go into `.knownHosts` directly as it only supports one key per
host (sigh).

Reference: https://github.com/NixOS/nix/issues/4265
2024-02-06 22:39:49 +00:00
4c3b948beb remove darwin
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
I previously had one darwin host, `jakehillion-mbp-m1-13`. It never
worked right and I don't own the machine anymore. Clean up all darwin
references and add it from scratch when adding a machine in the future.
2024-02-06 22:14:58 +00:00
f176a9e4d5 impermanence: conditionally bind mount container storage
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-06 21:34:16 +00:00
c54f4f8166 install sapling
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-04 11:08:20 +01:00
2032b7693a unifi: update container to final revision
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
This is the final revision of
https://github.com/linuxserver/docker-unifi-controller

Future updates should switch to
https://github.com/linuxserver/docker-unifi-network-application

This is a pain and I'm not doing it now, it involves running mongodb
manually which is awful. Two options:
1. Switch to the new docker container.
2. Wait until NixOS natively supports a version later than 8.0.24 and
   switch to that.
2024-01-16 22:57:21 +00:00