flake: replace deprecated pkgs.system with stdenv.hostPlatform.system

This commit is contained in:
4cuck committed 2026-05-30 22:28:13 -04:00
1 parent 740584d048
commit 40a6f5a8d0
1 file changed
+3 -2
+3 -2
View File
@@ -163,7 +163,7 @@
options.services.teapot = {
enable = lib.mkEnableOption "teapot, a privacy-focused Twitter/X frontend";
package = lib.mkPackageOption self.packages.${pkgs.system} "default" { };
package = lib.mkPackageOption self.packages.${pkgs.stdenv.hostPlatform.system} "default" { };
server = {
hostname = lib.mkOption {
@@ -371,7 +371,8 @@
DynamicUser = true;
LoadCredential = [
"sessionsFile:${cfg.sessionsFile}"
] ++ lib.optional (cfg.kagiTokenFile != null) "kagiToken:${cfg.kagiTokenFile}";
]
++ lib.optional (cfg.kagiTokenFile != null) "kagiToken:${cfg.kagiTokenFile}";
StateDirectory = "teapot";
Environment = [
"TEAPOT_CONF_FILE=/var/lib/teapot/teapot.toml"