summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2025-06-16 16:05:45 -0400
committerJoe Mou <dev@mou.fo>2025-06-16 16:09:25 -0400
commit0389280b39c6945249011277f68ed1dab3cc8ba3 (patch)
treecc3ec91d6cf1af8f0cee70cd4a0bcf596c6c8bd7
parentc21e4c9b731218199ba0c2b137f246d9560bb9e6 (diff)
Upgrade to NixOS 25.05
-rw-r--r--hostnix/elmo/configuration.nix6
-rw-r--r--hostnix/elmo/flake.lock8
-rw-r--r--hostnix/elmo/flake.nix2
-rw-r--r--hostnix/elmo/media.nix2
-rw-r--r--hostnix/elmo/privacy-frontends.nix2
5 files changed, 8 insertions, 12 deletions
diff --git a/hostnix/elmo/configuration.nix b/hostnix/elmo/configuration.nix
index 9218996..0bdda0d 100644
--- a/hostnix/elmo/configuration.nix
+++ b/hostnix/elmo/configuration.nix
@@ -70,11 +70,7 @@
whitelist = [ "192.168.0.0/24" ];
};
- services.locate = {
- enable = true;
- package = pkgs.plocate;
- localuser = null; # silence warning
- };
+ services.locate.enable = true;
services.postgresql = {
enable = true;
diff --git a/hostnix/elmo/flake.lock b/hostnix/elmo/flake.lock
index 86001b5..3463983 100644
--- a/hostnix/elmo/flake.lock
+++ b/hostnix/elmo/flake.lock
@@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
- "lastModified": 1749488106,
- "narHash": "sha256-b9GIWdF/8jKpCC5JIMgDLZgwe8cEbty2fyTyo1eDFfI=",
+ "lastModified": 1750005367,
+ "narHash": "sha256-h/aac1dGLhS3qpaD2aZt25NdKY7b+JT0ZIP2WuGsJMU=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "8fe3e32e7f210522377c3bcff80931a3284ace6a",
+ "rev": "6c64dabd3aa85e0c02ef1cdcb6e1213de64baee3",
"type": "github"
},
"original": {
"owner": "NixOS",
- "ref": "nixos-24.11",
+ "ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
diff --git a/hostnix/elmo/flake.nix b/hostnix/elmo/flake.nix
index 9629f55..0d81931 100644
--- a/hostnix/elmo/flake.nix
+++ b/hostnix/elmo/flake.nix
@@ -1,6 +1,6 @@
{
inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
};
outputs = { self, nixpkgs }: {
diff --git a/hostnix/elmo/media.nix b/hostnix/elmo/media.nix
index 4f3d644..8fff82e 100644
--- a/hostnix/elmo/media.nix
+++ b/hostnix/elmo/media.nix
@@ -46,7 +46,7 @@
services.komga = {
enable = true;
# Cannot override listening on all IPv4 interfaces.
- port = 7579;
+ settings.server.port = 7579;
};
# TODO SSO
diff --git a/hostnix/elmo/privacy-frontends.nix b/hostnix/elmo/privacy-frontends.nix
index ad90c32..5441aca 100644
--- a/hostnix/elmo/privacy-frontends.nix
+++ b/hostnix/elmo/privacy-frontends.nix
@@ -32,7 +32,7 @@
# https://github.com/zedeus/nitter/wiki/Guest-Account-Branch-Deployment
# Alternatively it can use logged in account tokens with
# https://github.com/PrivacyDevel/nitter/blob/master/twitter_oauth.sh
- guestAccounts = "/var/secrets/nitter/guest-accounts.jsonl";
+ sessionsFile = "/var/secrets/nitter/guest-accounts.jsonl";
server = {
port = 7873;
https = true;