mirror of
https://github.com/4cuck/teapawt.git
synced 2026-10-27 09:04:35 +00:00
flake: replace deprecated pkgs.system with stdenv.hostPlatform.system
This commit is contained in:
1 parent
740584d048
commit
40a6f5a8d0
1 file changed
+3
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user