nixpkgs: Refresh pins and flake inputs
Move all four channels and both home-manager inputs to the rebased fork and current channels, and refresh the other moving inputs. Bump the latest kernel to 7.3 and the release metadata to 26.11. Follow upstream removals: pin `colony-psql` (PostgreSQL 14) to `mine-stable` until the PostgreSQL 18 migration that follows, and `spoder` (Nextcloud 32) until its own migration, and take MinIO for `object` from `mine-stable` through a compatibility import. Replace Gitea's removed `DOMAIN` with `SSH_DOMAIN`, let `determinate-nix` pick its own nixpkgs, and drop the nginx bump now that every pin ships fixed releases. Move Frigate's recording retention to the `record.continuous` layout, since 0.18 rejects `record.retain`. Pass the borgbackup wrapper flags as separate arguments now that the package uses structured attributes. Stop `britway`'s mesh link gating `network-online.target`: systemd 262 holds it in configuring until `tailscale0` exists for its policy rule, and tailscaled only starts once the network is online. Keep the SCTP module block: no kernel in use carries the NGINX2Root SCTP fix yet. Record the checks `kelder` missed while out of service on its page. Notable upgrades: - Kernels: 6.18.64 LTS and 7.3.5 latest. - Gitea 1.27.2 -> 28.3.0, with schema migrations. - Home Assistant 2026.8.2 -> 2026.11.2 and Frigate 0.17.2 -> 0.18.3. - Jellyfin 10.11.11 -> 12.4, Radarr 6.1 -> 7.0.3 and Sonarr 4.0.17 -> 5.0.0 (a prerelease), each migrating its database. - HedgeDoc 1.11.1 -> 1.12.0, mautrix-whatsapp 26.08 -> 26.11, Vaultwarden 1.37.1 -> 1.37.5, Seerr 3.3.0 -> 3.5.2. - Headscale 0.29.3 -> 0.29.7, BIRD 2.19.2 -> 2.20.0 and Tuwunel 1.8.3 -> 1.9.4. - nginx 1.30.7 and 1.31.9 from the channels, with the NGINX2Root fixes. - `determinate-nix` 3.22.2 -> 3.24.3, `harmonia` 3.2.0 -> 3.3.0, `deploy-rs` 1.0.0, `copyparty` 1.20.21 -> 1.20.26, and `llm-agents` with Codex 0.170.0 and Claude Code 2.1.330. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a3d4918095
commit
31b5e3b608
18 files changed
+252
-172
No files matched your search
@@ -53,6 +53,17 @@ the host.
|
||||
- Sets `system.nixos.distroName = "KelderOS"`, a custom Plymouth theme and an `amogus-beep`
|
||||
boot jingle ([`boot.nix`](../../../nixos/boxes/kelder/boot.nix)).
|
||||
|
||||
## Returning to service
|
||||
|
||||
kelder is out of service and missed the November 2026 upgrade's live checks. Before its first
|
||||
deploy after it returns:
|
||||
|
||||
- Back up the `kelder-acquisition` state. The deploy moves Jellyfin to 12, Radarr to 7 and
|
||||
Sonarr to 5, and each migrates its database on start. Check playback, a search, download and
|
||||
import, and the Samba share afterwards.
|
||||
- Plan the `kelder-spoder` Nextcloud migration from its
|
||||
[page](containers/kelder-spoder.md) and the TODO beside its `mine-stable` pin.
|
||||
|
||||
## Notable config files
|
||||
|
||||
- [`nixos/boxes/kelder/default.nix`](../../../nixos/boxes/kelder/default.nix) — system, assignments, tunnel, NAT, containers.
|
||||
|
||||
@@ -5,13 +5,15 @@ the site's services.
|
||||
|
||||
- **Source:** [`nixos/boxes/kelder/containers/spoder/`](../../../../nixos/boxes/kelder/containers/spoder)
|
||||
- **Host:** NixOS container on [`kelder`](../README.md)
|
||||
- **nixpkgs:** `mine`
|
||||
- **nixpkgs:** `mine-stable` until the Nextcloud migration.
|
||||
|
||||
## Role
|
||||
|
||||
- **Nextcloud** (`nextcloud32`) at `cloud.hentai.engineer` (trusted alias
|
||||
`cloud-local.hentai.engineer`), SQLite backend, data in `/mnt/storage/nextcloud`
|
||||
(`/mnt/storage` is bind-mounted from the host).
|
||||
The package is temporarily allowlisted at `32.0.15`. Check the live version before planning
|
||||
the migration because Nextcloud upgrades must proceed one major version at a time.
|
||||
- **nginx reverse proxy** (`openresty`) terminating TLS for the site's public vhosts, with a
|
||||
wildcard ACME cert for `hentai.engineer` via Cloudflare DNS. The kelder host forwards
|
||||
`http`/`https` to this container; uploads are unlimited (`clientMaxBodySize = 0`) for
|
||||
|
||||
@@ -5,7 +5,7 @@ database, the containers (and the `git` VM) connect here over the `ctrs` network
|
||||
|
||||
- **Source:** [`shill/containers/colony-psql.nix`](../../../../../nixos/boxes/colony/vms/shill/containers/colony-psql.nix)
|
||||
- **Host:** NixOS container on [`shill`](../README.md)
|
||||
- **nixpkgs:** `mine`
|
||||
- **nixpkgs:** `mine-stable`. NixOS 26.05 still packages PostgreSQL 14.
|
||||
|
||||
## Role
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ Object storage and the Nix binary cache, plus HedgeDoc and wastebin.
|
||||
- **Source:** [`shill/containers/object.nix`](../../../../../nixos/boxes/colony/vms/shill/containers/object.nix)
|
||||
- **Host:** NixOS container on [`shill`](../README.md) (bind-mounts `/mnt/minio` and
|
||||
`/mnt/nix-cache` read-write)
|
||||
- **nixpkgs:** `mine`
|
||||
- **nixpkgs:** `mine`. The MinIO server, CLI, and service module come from `mine-stable`.
|
||||
|
||||
## Role
|
||||
|
||||
|
||||
Generated
+165
-111
@@ -24,6 +24,23 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"bdwgc": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1794480318,
|
||||
"narHash": "sha256-lFrtIzHVQhP9tKp3MN3PlmKuWyZVdMVbV+StbJ5WHOc=",
|
||||
"owner": "DeterminateSystems",
|
||||
"repo": "bdwgc",
|
||||
"rev": "021d8526504250669958da921b6744da60bdf6b1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "DeterminateSystems",
|
||||
"ref": "nix-patches-master",
|
||||
"repo": "bdwgc",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"boardie": {
|
||||
"inputs": {
|
||||
"devshell": "devshell",
|
||||
@@ -50,17 +67,19 @@
|
||||
"bootvine": {
|
||||
"inputs": {
|
||||
"crane": "crane",
|
||||
"flake-parts": "flake-parts",
|
||||
"import-tree": "import-tree",
|
||||
"nixpkgs": [
|
||||
"nixpkgs-unstable"
|
||||
],
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794730498,
|
||||
"narHash": "sha256-pwzcPy/J/zeOVRfUZgcPgBWFaSnnH7GQlGoOfBfX3eQ=",
|
||||
"lastModified": 1795177966,
|
||||
"narHash": "sha256-sRE3N7Wl1M3kQ2v9UX+skYbG3GK+fQ9JANn9MjJV5ZQ=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "91b7cd28c25d339d79f83956ba7d6ba99fdbe0d3",
|
||||
"revCount": 135,
|
||||
"rev": "958cfa1b54451a7481f315de76bcf5a4400e2793",
|
||||
"revCount": 150,
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/wvhulle/bootvine"
|
||||
},
|
||||
@@ -109,11 +128,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1790001035,
|
||||
"narHash": "sha256-1/SLBjSYBzDdDhvLQ83wrzBakyS/xNGgtxHGNuveOEQ=",
|
||||
"lastModified": 1795172407,
|
||||
"narHash": "sha256-fSkAj71qq1cD7k6+zb8oJbd77feGRO++WX50XOcHBM0=",
|
||||
"owner": "Mic92",
|
||||
"repo": "bun2nix",
|
||||
"rev": "07a5bfc8ac36c5370199343fa620b69f63186e33",
|
||||
"rev": "b8243c1e7ccacfe66210311884708687c883ae47",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -131,11 +150,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1787524125,
|
||||
"narHash": "sha256-P48TOQdIbB0PKMn4FTk6X0utbf0LemNlJ+bFcSbveGA=",
|
||||
"lastModified": 1795033213,
|
||||
"narHash": "sha256-tIbaLcyVwcC/NwIHIW3MwHuA14euwRxA4HkDJTeOHyQ=",
|
||||
"owner": "9001",
|
||||
"repo": "copyparty",
|
||||
"rev": "9de090265f8d063056320f41d984830839017a2f",
|
||||
"rev": "deb0380511737ad10b89c9ea929215d9330cf18f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -161,11 +180,11 @@
|
||||
},
|
||||
"crane_2": {
|
||||
"locked": {
|
||||
"lastModified": 1787326676,
|
||||
"narHash": "sha256-lWhBbBvC05/xwivKBBiM2YNizpmgqCgyOIzomvRuwxs=",
|
||||
"lastModified": 1793836618,
|
||||
"narHash": "sha256-TREenflwEjxOSq292FYwbc3kEm7TDRtXCZRNWEdjBmg=",
|
||||
"owner": "ipetkov",
|
||||
"repo": "crane",
|
||||
"rev": "692f7e9ef2ece8125b466f66f2af532b3edaed0d",
|
||||
"rev": "79fd63528501446749c09f08cad486a58c7d173e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -221,11 +240,11 @@
|
||||
"utils": "utils"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1786361680,
|
||||
"narHash": "sha256-IxaZkb9rCGEZ+yGndxKXONeIEcKMzoFUsvLTB5G/caw=",
|
||||
"lastModified": 1792446739,
|
||||
"narHash": "sha256-eINUtQW48bf9G3EYprthHMll8VDKxaXQP52TZFuwMmE=",
|
||||
"owner": "serokell",
|
||||
"repo": "deploy-rs",
|
||||
"rev": "16901271e5b30b591e56f7a84f25f186fb20f3e1",
|
||||
"rev": "1cec0527bd09074bbee6d4461900ce5d58267217",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -236,19 +255,20 @@
|
||||
},
|
||||
"determinate-nix": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"bdwgc": "bdwgc",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"git-hooks-nix": "git-hooks-nix",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"nixpkgs-23-11": "nixpkgs-23-11",
|
||||
"nixpkgs-regression": "nixpkgs-regression"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1787334067,
|
||||
"narHash": "sha256-wmwgSBcAGJe/e+FrLwJxlghYV12F7UkIodm0j6cosYg=",
|
||||
"rev": "c407745c8b9b616bebf7288697699c45794e31ac",
|
||||
"revCount": 27248,
|
||||
"lastModified": 1795038288,
|
||||
"narHash": "sha256-mZiNGyjdUVlfEvllLQKVK0ZbkxWIAC42jjERazi+lfU=",
|
||||
"rev": "4176767670de8766080d972a97b0cd9411c482d2",
|
||||
"revCount": 28083,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.22.2/01a02595-e77f-7e43-a616-5bbc77a2dc07/source.tar.gz"
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.24.3/01a1f0b9-59c2-76c2-a2fd-23133df9043e/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
@@ -300,11 +320,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1768818222,
|
||||
"narHash": "sha256-460jc0+CZfyaO8+w8JNtlClB2n4ui1RbHfPTLkpwhU8=",
|
||||
"lastModified": 1791918082,
|
||||
"narHash": "sha256-oN9JrhRfHa7MUTdUq+11dHn7u0Z4WfEA4mhzBq0/zoQ=",
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"rev": "255a2b1725a20d060f566e4755dbf571bbbb5f76",
|
||||
"rev": "9e29c63dde99a2d80c94b3d024c9768c01544558",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -346,6 +366,27 @@
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"bootvine",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1793576659,
|
||||
"narHash": "sha256-V1h85lUaJBQoHFrB2vpXZOE0Ju1MYSnIpsehoVZYlDo=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "ea2630b7470978622c7689a1ff75d2b389175399",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"determinate-nix",
|
||||
@@ -365,7 +406,7 @@
|
||||
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"flake-parts_3": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"llm-agents",
|
||||
@@ -386,7 +427,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_3": {
|
||||
"flake-parts_4": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"openwrt-imagebuilder",
|
||||
@@ -493,11 +534,11 @@
|
||||
"systems": "systems_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"lastModified": 1794427683,
|
||||
"narHash": "sha256-o7ey9gEilsxaifqJWnBDlYSKbNWYQYtKwDyXeZU2kaU=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"rev": "cd489559845d81f673a12885576016c65cbe9363",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -585,17 +626,17 @@
|
||||
"inputs": {
|
||||
"crane": "crane_2",
|
||||
"nix": "nix",
|
||||
"nix-darwin": "nix-darwin",
|
||||
"nixpkgs": [
|
||||
"nixpkgs-unstable"
|
||||
],
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1787502072,
|
||||
"narHash": "sha256-K5sKCAV3kPbUW0evsqpWrlQRsa2t0jfkduSZ+lRWAA8=",
|
||||
"lastModified": 1794990690,
|
||||
"narHash": "sha256-jG6TbDc796eTaL/CXfwu9GTTc543C364Eg1t2bDBeOk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "harmonia",
|
||||
"rev": "7c1ef262e324bbf61201fe92a73849eb3d6fd9e2",
|
||||
"rev": "dfe694ef3fe1b3e8a4a8fd55fd0ce854672186ed",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -654,11 +695,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1787377438,
|
||||
"narHash": "sha256-Sxu1NLTD/Ern6hFGLlZmtKCSct3YQXZI/lls8RE1XeM=",
|
||||
"lastModified": 1794943722,
|
||||
"narHash": "sha256-Qkh6uNyMsic61gfyOO8VXnC+HEBdti6Xe2kKiMf66O0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "65258d5c65a250189fde2e35f490d15e064c4c62",
|
||||
"rev": "5643e73425b85ac359ba2aaf83deae8ce1cd7968",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -674,11 +715,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1790989254,
|
||||
"narHash": "sha256-ZN+riaeFuE+DZ5zfqJiXlM12jLwZzeIXiNkU1YeHMXI=",
|
||||
"lastModified": 1795268568,
|
||||
"narHash": "sha256-1RJm4DEu7YHJv94sjSY7sjqT+kHx/AUwmtUN4dtFBUo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "acd21c5a3420a9d5fd0ed06299b10828267ef9ba",
|
||||
"rev": "6857c7f7c338ad181729c52071386b0d3afa24bc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -694,11 +735,11 @@
|
||||
"nixpkgs": "nixpkgs_5"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1769548169,
|
||||
"narHash": "sha256-03+JxvzmfwRu+5JafM0DLbxgHttOQZkUtDWBmeUkN8Y=",
|
||||
"lastModified": 1792739756,
|
||||
"narHash": "sha256-s0TeXWG5Ci75Y/Hzon0Z7NrN/fG773Rc54/z6oPFszQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "impermanence",
|
||||
"rev": "7b1d382faf603b6d264f58627330f9faa5cba149",
|
||||
"rev": "fa627f4c8b8e92f58f58a73d99ee4e1304e64eb2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -707,6 +748,21 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"import-tree": {
|
||||
"locked": {
|
||||
"lastModified": 1788467110,
|
||||
"narHash": "sha256-ljEMTXP/rH0tOvDzc9gzwww6KcHRPRnEHzd9lK48V7s=",
|
||||
"owner": "vic",
|
||||
"repo": "import-tree",
|
||||
"rev": "eb1b52eaecc57f7c136d07ae8a93e724dfecac46",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "vic",
|
||||
"repo": "import-tree",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"libnetRepo": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@@ -726,17 +782,17 @@
|
||||
"llm-agents": {
|
||||
"inputs": {
|
||||
"bun2nix": "bun2nix",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"flake-parts": "flake-parts_3",
|
||||
"nixpkgs": "nixpkgs_6",
|
||||
"systems": "systems_6",
|
||||
"treefmt-nix": "treefmt-nix_2"
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794721493,
|
||||
"narHash": "sha256-7extb+ld6xPCzcVuhVdvcvGPLu/qtDRrhFJmH68jXfM=",
|
||||
"lastModified": 1795241446,
|
||||
"narHash": "sha256-v8/CnsHh4/p58E5d0k208omIYUUu6EruiKRIYYNNuE0=",
|
||||
"owner": "numtide",
|
||||
"repo": "llm-agents.nix",
|
||||
"rev": "aeb1afe1529c5dc7dcdc54d644a8aed212d99dd0",
|
||||
"rev": "a59764a6424689d67c1bd9070fd48afa44a47ee0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -748,11 +804,11 @@
|
||||
"nix": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1787394889,
|
||||
"narHash": "sha256-qtDusLx9yn0aME9D9Oe5QhFnmDUaARwMJo/vt4+DtIU=",
|
||||
"lastModified": 1794947081,
|
||||
"narHash": "sha256-G96+ctkEILoLlWg4F8l5H+nGg/VBcaURvHfHR5rIySk=",
|
||||
"owner": "nixos",
|
||||
"repo": "nix",
|
||||
"rev": "88b09c64fbea076a0376830d98e5331f70ed31a3",
|
||||
"rev": "bada5b254b3ad8266188c7b4d7eafec5fbb23659",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -761,6 +817,27 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-darwin": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"harmonia",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1793418699,
|
||||
"narHash": "sha256-+RpTlcdh9KqZ+ZiLkNSTvibQWm935EcIdBzRPCTFsrQ=",
|
||||
"owner": "nix-darwin",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "ff0e21a414d4547183396da1b44a66f2577b65e9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-darwin",
|
||||
"repo": "nix-darwin",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixGL": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils_8",
|
||||
@@ -769,11 +846,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1762090880,
|
||||
"narHash": "sha256-fbRQzIGPkjZa83MowjbD2ALaJf9y6KMDdJBQMKFeY/8=",
|
||||
"lastModified": 1793798159,
|
||||
"narHash": "sha256-c263mBFrDLv2/sguzQeKL99aJ4PkCdcUzcAuA5Cpzjo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixGL",
|
||||
"rev": "b6105297e6f0cd041670c3e8628394d4ee247ed5",
|
||||
"rev": "4306ae1d15adf3d386f1462b330d4f2648404711",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -816,11 +893,11 @@
|
||||
},
|
||||
"nixpkgs-mine": {
|
||||
"locked": {
|
||||
"lastModified": 1787612836,
|
||||
"narHash": "sha256-25KxhEJHYVZXAwsHQbXpyaG9/WpWGo9EmGe7kzMc25Y=",
|
||||
"lastModified": 1795296436,
|
||||
"narHash": "sha256-HXC2lD2la2+b9uWP9keGtnK/XOy2WmxL7i2dvQ/YqTI=",
|
||||
"owner": "devplayer0",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c92598bc3fd46ff4d23407045091eea206120979",
|
||||
"rev": "d49dd66c813e9c18778620a557e66a837936c3bd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -832,11 +909,11 @@
|
||||
},
|
||||
"nixpkgs-mine-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1787523195,
|
||||
"narHash": "sha256-NI87OKi5hXSZlIgh5Gwjjca52MAJnwRaU/+Su99fMqg=",
|
||||
"lastModified": 1795296438,
|
||||
"narHash": "sha256-Xmc1u/umXixpveAbmnX9GvWv2HHdQWfxFFU3SDztfI0=",
|
||||
"owner": "devplayer0",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2a058ae98b603146eae51e6a268854ce0ad035a1",
|
||||
"rev": "eae8161ce80b59e0db44fbe85ba18e90e2349d85",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -864,11 +941,11 @@
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1787414105,
|
||||
"narHash": "sha256-WncT27+3BOkgTaJZLnCsf3LcYf9RXMuR9ONSN4rzQ7s=",
|
||||
"lastModified": 1795137884,
|
||||
"narHash": "sha256-iKXCN36qYfBni+3nH4vAd98/kshoIsPB2S9mYWhma30=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a9e6d84f9c2f9012f5fe7d964a7851352300e61a",
|
||||
"rev": "ab5c18fdedfc8f9bbc9d773f10a540790e2787a7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -879,11 +956,11 @@
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1787360063,
|
||||
"narHash": "sha256-dt4WdcvsA8/RCe+VZZwqU0X+XMM3wBbGCWA0/sFWzGo=",
|
||||
"lastModified": 1795234589,
|
||||
"narHash": "sha256-f/VVvxf5RsQgWVhUtefoca5ktVg0DA2bnkMOcmSnozo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2c423e03bbafcff28bfadc6781a4a8257f205cb5",
|
||||
"rev": "2786a2a72088ecf32aea5b3ec52099e6a7cff78f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -924,18 +1001,16 @@
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1784160687,
|
||||
"narHash": "sha256-iYL/bixrb6FlHFu/gIuBYzq6c6lM5AAXsXNSWXtIgQc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4382ed2b7a6839d4280a9b386db49cbc5907414d",
|
||||
"type": "github"
|
||||
"lastModified": 1794872590,
|
||||
"narHash": "sha256-E+XLAfnC7+bdr4qlEgRv6cdGmiqTU5oeFNKCha7epqQ=",
|
||||
"rev": "f68407657ad294471eb4b2e65d193df26edf729f",
|
||||
"revCount": 1018921,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2605.1018921%2Brev-f68407657ad294471eb4b2e65d193df26edf729f/01a1ea95-6db4-7d02-8a1d-753f3849fe0e/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4382ed2b7a6839d4280a9b386db49cbc5907414d",
|
||||
"type": "github"
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.2605"
|
||||
}
|
||||
},
|
||||
"nixpkgs_5": {
|
||||
@@ -956,11 +1031,11 @@
|
||||
},
|
||||
"nixpkgs_6": {
|
||||
"locked": {
|
||||
"lastModified": 1793977579,
|
||||
"narHash": "sha256-WrSODdZFVIs/Hh2NzC0bY+ROByi0bATg8WfePX8dPj8=",
|
||||
"lastModified": 1795095985,
|
||||
"narHash": "sha256-DOTZsOOoEtOY0ysY9L6JzyDHZm4lGBr6P1bt1mFXcRw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4fe25e12eb9f4c744966dd3de5a05246cf098601",
|
||||
"rev": "19cfded70b91ca0981373973c5b1efffdd4d6647",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -1011,18 +1086,18 @@
|
||||
},
|
||||
"openwrt-imagebuilder": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_3",
|
||||
"flake-parts": "flake-parts_4",
|
||||
"nixpkgs": [
|
||||
"nixpkgs-unstable"
|
||||
],
|
||||
"systems": "systems_8"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1787474509,
|
||||
"narHash": "sha256-jL5RS/TbKk7HxjsGyFWeceHveyRgM8btvfY9Z77P9jM=",
|
||||
"lastModified": 1795277677,
|
||||
"narHash": "sha256-rBMD8nxTLfgDRpl8NKxPx7xI3o2cY6mP39l77naKnek=",
|
||||
"owner": "astro",
|
||||
"repo": "nix-openwrt-imagebuilder",
|
||||
"rev": "4371439b1e4e582266fc38345d1a01db1f8db6d6",
|
||||
"rev": "c902702d3ccb88f45b5bc73390f425bea7e7d931",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -1228,11 +1303,11 @@
|
||||
},
|
||||
"systems_4": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"lastModified": 1791244623,
|
||||
"narHash": "sha256-uuanbkFk8a313Zfrxdcz8Us/yQtaxNnKJtX8v0ZPpd8=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"rev": "d36eeed142f88b5a636f2e3856a53c61654cf29b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -1317,27 +1392,6 @@
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"harmonia",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1786901030,
|
||||
"narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"llm-agents",
|
||||
@@ -1345,11 +1399,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1791885023,
|
||||
"narHash": "sha256-C3alQ2MEt0zVrUSho5NUDo3jmhbff72++bfwoqT9Omo=",
|
||||
"lastModified": 1795173499,
|
||||
"narHash": "sha256-J8IYl3oEdctyvBgWr+/L01MY5Xm0TU4WXwZDccN5jjk=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "0d6d739a833ba9a9c93034862e4a7b061a062a1c",
|
||||
"rev": "a0a97e31a897a3537eea5c49df4f8adaa83b3b37",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -38,10 +38,9 @@
|
||||
|
||||
# Determinate Nix, used as the common Nix implementation across systems, homes, the devshell and
|
||||
# CI (see lib.my.c.nix). We build it ourselves (FlakeHub's cache needs auth), so it flows through
|
||||
# our own Harmonia cache like everything else. Keep its tested nixpkgs pin: its packaging carries
|
||||
# compatibility patches that can conflict with newer nixpkgs patches.
|
||||
# our own Harmonia cache like everything else. Let its own lockfile choose the tested nixpkgs
|
||||
# revision because its packaging carries patches that can conflict with ours.
|
||||
determinate-nix.url = "https://flakehub.com/f/DeterminateSystems/nix-src/*";
|
||||
determinate-nix.inputs.nixpkgs.url = "github:NixOS/nixpkgs/4382ed2b7a6839d4280a9b386db49cbc5907414d";
|
||||
|
||||
# Stuff used by the flake for build / deployment
|
||||
# ragenix.url = "github:yaxitech/ragenix";
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ rec {
|
||||
|
||||
kernel = {
|
||||
lts = pkgs: pkgs.linuxKernel.packages.linux_6_18;
|
||||
latest = pkgs: pkgs.linuxKernel.packages.linux_7_2;
|
||||
latest = pkgs: pkgs.linuxKernel.packages.linux_7_3;
|
||||
};
|
||||
|
||||
nginx = rec {
|
||||
|
||||
+1
-1
@@ -254,7 +254,7 @@ rec {
|
||||
in
|
||||
{
|
||||
trivial = prev.trivial // {
|
||||
release = "26.08:u-${prev.trivial.release}";
|
||||
release = "26.11:u-${prev.trivial.release}";
|
||||
codeName = "Irritating";
|
||||
revisionWithDefault = default: self.rev or default;
|
||||
versionSuffix = ".${date}.${revCode self}:u-${revCode pkgsFlake}";
|
||||
|
||||
@@ -105,6 +105,9 @@ in
|
||||
(networkdAssignment "as211024" assignments.as211024)
|
||||
{
|
||||
matchConfig.Name = "as211024";
|
||||
# The routing policy rule below holds this link in "configuring" until
|
||||
# tailscale0 exists, and tailscaled only starts once the network is online
|
||||
linkConfig.RequiredForOnline = "no";
|
||||
networkConfig.IPv6AcceptRA = mkForce false;
|
||||
routes = [
|
||||
{
|
||||
|
||||
@@ -76,9 +76,9 @@ in
|
||||
mailerPasswordFile = config.age.secrets."gitea/mail.txt".path;
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.${pubDomain}";
|
||||
SSH_DOMAIN = "git.${pubDomain}";
|
||||
HTTP_ADDR = "::";
|
||||
ROOT_URL = "https://git.${pubDomain}";
|
||||
ROOT_URL = "https://git.${pubDomain}/";
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
|
||||
@@ -6,7 +6,8 @@ in
|
||||
{
|
||||
nixos.systems.colony-psql = { config, ... }: {
|
||||
system = "x86_64-linux";
|
||||
nixpkgs = "mine";
|
||||
# TODO: Migrate PostgreSQL 14 to a supported major release, then return to mine.
|
||||
nixpkgs = "mine-stable";
|
||||
rendered = config.configuration.config.my.asContainer;
|
||||
|
||||
assignments = {
|
||||
|
||||
@@ -22,14 +22,28 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
configuration = { lib, pkgs, config, assignments, ... }:
|
||||
configuration = { lib, pkgs, pkgsFlakes, config, assignments, ... }:
|
||||
let
|
||||
inherit (lib) mkMerge mkIf mkForce;
|
||||
inherit (config.my.user.homeConfig.lib.file) mkOutOfStoreSymlink;
|
||||
inherit (lib.my) networkdAssignment systemdAwaitPostgres;
|
||||
|
||||
# TODO: Migrate the object store and remove this MinIO compatibility pin.
|
||||
minioPkgs = import pkgsFlakes.mine-stable {
|
||||
inherit (pkgs.stdenv.hostPlatform) system;
|
||||
config.permittedInsecurePackages = [ "minio-2025-10-15T17-29-55Z" ];
|
||||
};
|
||||
# Unstable reserves services.minio for its removed-option diagnostic.
|
||||
minioModule = import "${pkgsFlakes.mine-stable}/nixos/modules/services/web-servers/minio.nix" {
|
||||
inherit lib;
|
||||
pkgs = minioPkgs;
|
||||
config = config // { services = config.services // { minio = config.my.minio; }; };
|
||||
};
|
||||
in
|
||||
{
|
||||
options.my.minio = minioModule.options.services.minio;
|
||||
config = mkMerge [
|
||||
minioModule.config
|
||||
{
|
||||
fileSystems = {
|
||||
"/var/lib/harmonia" = {
|
||||
@@ -43,6 +57,22 @@ in
|
||||
deploy.enable = false;
|
||||
server.enable = true;
|
||||
|
||||
minio = {
|
||||
enable = true;
|
||||
region = "eu-central-1";
|
||||
browser = true;
|
||||
rootCredentialsFile = config.age.secrets."object/minio.env".path;
|
||||
dataDir = [ "/mnt/minio" ];
|
||||
};
|
||||
|
||||
tmproot.persistence.config.directories = mkIf (config.my.tmproot.persistence.dir != null) [
|
||||
{
|
||||
directory = config.my.minio.configDir;
|
||||
user = "minio";
|
||||
group = "minio";
|
||||
}
|
||||
];
|
||||
|
||||
secrets = {
|
||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFdHbZErWLmTPO/aEWB1Fup/aGMf31Un5Wk66FJwTz/8";
|
||||
files = {
|
||||
@@ -150,24 +180,9 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
minio-client
|
||||
];
|
||||
};
|
||||
|
||||
# TODO/FIXME: this is bad...
|
||||
nixpkgs.config.permittedInsecurePackages = [ "minio-2025-10-15T17-29-55Z" ];
|
||||
environment.systemPackages = [ minioPkgs.minio-client ];
|
||||
|
||||
services = {
|
||||
minio = {
|
||||
enable = true;
|
||||
region = "eu-central-1";
|
||||
browser = true;
|
||||
rootCredentialsFile = config.age.secrets."object/minio.env".path;
|
||||
dataDir = [ "/mnt/minio" ];
|
||||
};
|
||||
|
||||
atticd = {
|
||||
enable = false;
|
||||
environmentFile = config.age.secrets."object/atticd.env".path;
|
||||
|
||||
@@ -143,7 +143,8 @@ in
|
||||
};
|
||||
record = {
|
||||
enabled = true;
|
||||
retain.days = 1;
|
||||
continuous.days = 1;
|
||||
motion.days = 0;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -158,7 +159,8 @@ in
|
||||
detect.enabled = false;
|
||||
record = {
|
||||
enabled = true;
|
||||
retain.days = 1;
|
||||
continuous.days = 1;
|
||||
motion.days = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -7,7 +7,8 @@ in
|
||||
{
|
||||
nixos.systems.kelder-spoder = { config, ... }: {
|
||||
system = "x86_64-linux";
|
||||
nixpkgs = "mine";
|
||||
# TODO: Verify the deployed Nextcloud version, migrate to a supported major, and return to mine.
|
||||
nixpkgs = "mine-stable";
|
||||
rendered = config.configuration.config.my.asContainer;
|
||||
|
||||
assignments = {
|
||||
@@ -87,12 +88,13 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [ "nextcloud-32.0.15" ];
|
||||
|
||||
services = {
|
||||
resolved.settings.Resolve = mkForce { };
|
||||
|
||||
nextcloud = {
|
||||
enable = true;
|
||||
# TODO: Might need to do some bullshit to go from Nextcloud 28 (?) to 32
|
||||
package = pkgs.nextcloud32;
|
||||
datadir = "/mnt/storage/nextcloud";
|
||||
hostName = "cloud.${domain}";
|
||||
|
||||
@@ -7,6 +7,7 @@ in
|
||||
imports = [ ./containers ];
|
||||
|
||||
nixos.systems.kelder = {
|
||||
# Currently out of service. Defer live checks and service migrations until it returns.
|
||||
system = "x86_64-linux";
|
||||
nixpkgs = "mine";
|
||||
home-manager = "mine";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, pkgsFlake, pkgs, pkgs', self, inputs, config, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkDefault mkMerge;
|
||||
inherit (lib) mkIf mkDefault mkMerge optionalAttrs versionOlder;
|
||||
inherit (lib.my) mkDefault';
|
||||
in
|
||||
{
|
||||
@@ -91,24 +91,6 @@ in
|
||||
preBuild = (old.preBuild or "") + "\nnpm run postinstall\n";
|
||||
});
|
||||
})
|
||||
(final: prev:
|
||||
let
|
||||
# Bump nginx to a release with the NGINX2Root fixes until every pin ships one.
|
||||
# TODO: Drop once all channels are past these versions.
|
||||
bump = pkg: version: hash:
|
||||
if prev.lib.versionOlder pkg.version version then
|
||||
pkg.overrideAttrs {
|
||||
inherit version;
|
||||
src = final.fetchurl {
|
||||
url = "https://nginx.org/download/nginx-${version}.tar.gz";
|
||||
inherit hash;
|
||||
};
|
||||
} else pkg;
|
||||
in
|
||||
{
|
||||
nginxStable = bump prev.nginxStable "1.30.7" "sha256-JWW1yDcFDpWPcPsPc8SOK8pFQq00n9NW9G+wxyYQvG4=";
|
||||
nginxMainline = bump prev.nginxMainline "1.31.9" "sha256-oRxe7uLiV/RHjw5kn4SwBAeH0nfS0+UjOVKqa23LgK0=";
|
||||
})
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
@@ -131,6 +113,9 @@ in
|
||||
kernelPackages = mkDefault (lib.my.c.kernel.lts pkgs);
|
||||
|
||||
# Containers share the host kernel. Block SCTP on the system that owns it.
|
||||
# TODO: Lift once every kernel in use carries the NGINX2Root SCTP use-after-free fix,
|
||||
# upstream f2540da93a11 ("sctp: do not free a new asoc peeled off while sendmsg slept").
|
||||
# Not in 6.18.64 or 7.3.5 or their stable queues (checked 2026-11-22).
|
||||
extraModprobeConfig = mkIf (!config.boot.isContainer) ''
|
||||
install sctp ${pkgs.coreutils}/bin/false
|
||||
'';
|
||||
@@ -162,8 +147,10 @@ in
|
||||
|
||||
initrd = {
|
||||
systemd = {
|
||||
enable = mkDefault true;
|
||||
emergencyAccess = mkDefault true;
|
||||
} // optionalAttrs (versionOlder pkgsFlake.lib.trivial.release "26.11") {
|
||||
# TODO: Remove when 26.11 is stable. Newer NixOS always uses systemd stage 1.
|
||||
enable = mkDefault true;
|
||||
};
|
||||
services.lvm.enable = mkDefault true;
|
||||
};
|
||||
@@ -202,7 +189,7 @@ in
|
||||
|
||||
services = {
|
||||
# TODO: Remove if-else when 26.11 releases
|
||||
kmscon = if (config.system.nixos.release == "26.08:u-26.11") then {
|
||||
kmscon = if (pkgsFlake.lib.trivial.release == "26.11") then {
|
||||
enable = mkDefault false;
|
||||
config = {
|
||||
hwaccel = config.hardware.graphics.enable;
|
||||
|
||||
@@ -62,7 +62,7 @@ in
|
||||
jack.enable = true;
|
||||
};
|
||||
dbus = {
|
||||
packages = with pkgs; [ gcr ];
|
||||
packages = [ (pkgs.gcr_3 or pkgs.gcr) ];
|
||||
};
|
||||
gnome = {
|
||||
gnome-keyring.enable = true;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ lib, pkgs, options, config, ... }:
|
||||
{ lib, pkgs, pkgsFlake, options, config, ... }:
|
||||
let
|
||||
inherit (lib)
|
||||
optionalString concatStringsSep concatMap concatMapStringsSep mkIf mkDefault mkMerge mkForce mkVMOverride
|
||||
mkAliasDefinitions mapAttrsToList filterAttrs;
|
||||
mkAliasDefinitions mapAttrsToList filterAttrs optionalAttrs versionOlder;
|
||||
inherit (lib.my) mkOpt' mkBoolOpt' mkVMOverride';
|
||||
|
||||
cfg = config.my.tmproot;
|
||||
@@ -232,11 +232,13 @@ in
|
||||
}
|
||||
];
|
||||
|
||||
# TODO: Remove when 26.11 is stable. Newer NixOS has no scripted initrd.
|
||||
boot = optionalAttrs (versionOlder pkgsFlake.lib.trivial.release "26.11") {
|
||||
# Catch non-existent source directories that are needed for boot (see `pathsNeededForBoot` in
|
||||
# nixos/lib/util.nix). We do this by monkey-patching the `waitDevice` function that would otherwise hang.
|
||||
# Seems like systemd initrd doesn't care because it uses the systemd.mount units
|
||||
# ("If this mount is a bind mount and the specified path does not exist yet it is created as directory.")
|
||||
boot.initrd.postDeviceCommands = mkIf (!config.boot.initrd.systemd.enable) ''
|
||||
initrd.postDeviceCommands = mkIf (!config.boot.initrd.systemd.enable) ''
|
||||
ensurePersistSource() {
|
||||
[ -e "/mnt-root$1" ] && return
|
||||
echo "Persistent source directory $1 does not exist, creating..."
|
||||
@@ -259,6 +261,7 @@ in
|
||||
type waitDevice > /dev/null || (echo "waitDevice is missing!"; fail)
|
||||
alias waitDevice=_waitDevice
|
||||
'';
|
||||
};
|
||||
|
||||
environment.persistence."${cfg.persistence.dir}" = mkAliasDefinitions options.my.tmproot.persistence.config;
|
||||
|
||||
@@ -347,7 +350,7 @@ in
|
||||
}
|
||||
];
|
||||
})
|
||||
(mkIf config.services.minio.enable {
|
||||
(mkIf (((options.services.minio or { }) ? enable) && config.services.minio.enable) {
|
||||
my.tmproot.persistence.config.directories = [
|
||||
{
|
||||
directory = config.services.minio.configDir;
|
||||
@@ -546,9 +549,9 @@ in
|
||||
|
||||
services.borgbackup.package = pkgs.borgbackup.overrideAttrs (o: {
|
||||
makeWrapperArgs = o.makeWrapperArgs ++ [
|
||||
"--set-default BORG_BASE_DIR /var/lib/borgbackup"
|
||||
"--set-default BORG_CONFIG_DIR /var/lib/borgbackup/config"
|
||||
"--set-default BORG_CACHE_DIR /var/cache/borgbackup"
|
||||
"--set-default" "BORG_BASE_DIR" "/var/lib/borgbackup"
|
||||
"--set-default" "BORG_CONFIG_DIR" "/var/lib/borgbackup/config"
|
||||
"--set-default" "BORG_CACHE_DIR" "/var/cache/borgbackup"
|
||||
];
|
||||
});
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user