update to 25.05

This commit is contained in:
Joakim Repomaa
2025-06-11 00:26:49 +03:00
parent 584380ef7f
commit e2c8ba9c3a
8 changed files with 15 additions and 31 deletions

View File

@@ -1,6 +1,5 @@
{
lib,
inputs,
config,
pkgs,
...
@@ -9,13 +8,8 @@ let
cfg = config.services.readeck;
secrets = config.age.secrets;
fqdn = "${cfg.subdomain}.${config.networking.domain}";
pkgsUnstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system};
in
{
imports = [
"${inputs.nixpkgs-unstable}/nixos/modules/services/web-apps/readeck.nix"
];
options.services.readeck = {
subdomain = lib.mkOption {
type = lib.types.str;
@@ -25,7 +19,7 @@ in
config = lib.mkIf cfg.enable {
services = {
readeck = {
package = pkgsUnstable.readeck;
package = pkgs.readeck;
environmentFile = secrets.readeck.path;
settings = {
server.port = lib.mkDefault 8090;