h: enable golink again

This commit is contained in:
Aaron Bieber 2024-05-10 15:06:29 -06:00
parent 09eda63b5f
commit 3747dce84d
No known key found for this signature in database
3 changed files with 16 additions and 5 deletions

View File

@ -605,11 +605,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715013914, "lastModified": 1715355149,
"narHash": "sha256-CDDvW6q58r8Cos29SZrb8/iBy+F2t3EL/0t0OYuWRMA=", "narHash": "sha256-zu9HCDdREn5f9/966El5F6igi5dBcouAx4xAsFztITM=",
"ref": "main", "ref": "main",
"rev": "0a0370face676948ef79545c03fa9987a05701c2", "rev": "caa53355bbe7bd3fb3d5acc4dfb68031e33ca132",
"revCount": 148, "revCount": 149,
"type": "git", "type": "git",
"url": "ssh://xin-secrets-ro/qbit/xin-secrets.git" "url": "ssh://xin-secrets-ro/qbit/xin-secrets.git"
}, },

View File

@ -156,6 +156,12 @@ in
owner = "root"; owner = "root";
sopsFile = config.xin-secrets.h.secrets.services; sopsFile = config.xin-secrets.h.secrets.services;
}; };
golink = {
mode = "400";
owner = config.services.golink.user;
sopsFile = config.xin-secrets.h.secrets.services;
};
#wallabag_secret = { #wallabag_secret = {
# mode = "400"; # mode = "400";
# owner = "wallabag"; # owner = "wallabag";
@ -310,6 +316,10 @@ in
}; };
services = { services = {
golink = {
enable = true;
envFile = config.sops.secrets.golink.path;
};
smartd.enable = false; smartd.enable = false;
mcchunkie.enable = true; mcchunkie.enable = true;
wallabag = { wallabag = {

View File

@ -1,11 +1,12 @@
{ config { config
, lib , lib
, pkgs , pkgs
, inputs
, ... , ...
}: }:
with pkgs; let with pkgs; let
inherit (inputs.unstable.legacyPackages.${pkgs.system}) golink;
cfg = config.services.golink; cfg = config.services.golink;
golink = callPackage ../pkgs/golink.nix { };
in in
{ {
options = with lib; { options = with lib; {