h: enable golink again
This commit is contained in:
parent
09eda63b5f
commit
3747dce84d
8
flake.lock
generated
8
flake.lock
generated
@ -605,11 +605,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715013914,
|
||||
"narHash": "sha256-CDDvW6q58r8Cos29SZrb8/iBy+F2t3EL/0t0OYuWRMA=",
|
||||
"lastModified": 1715355149,
|
||||
"narHash": "sha256-zu9HCDdREn5f9/966El5F6igi5dBcouAx4xAsFztITM=",
|
||||
"ref": "main",
|
||||
"rev": "0a0370face676948ef79545c03fa9987a05701c2",
|
||||
"revCount": 148,
|
||||
"rev": "caa53355bbe7bd3fb3d5acc4dfb68031e33ca132",
|
||||
"revCount": 149,
|
||||
"type": "git",
|
||||
"url": "ssh://xin-secrets-ro/qbit/xin-secrets.git"
|
||||
},
|
||||
|
@ -156,6 +156,12 @@ in
|
||||
owner = "root";
|
||||
sopsFile = config.xin-secrets.h.secrets.services;
|
||||
};
|
||||
golink = {
|
||||
mode = "400";
|
||||
owner = config.services.golink.user;
|
||||
sopsFile = config.xin-secrets.h.secrets.services;
|
||||
};
|
||||
|
||||
#wallabag_secret = {
|
||||
# mode = "400";
|
||||
# owner = "wallabag";
|
||||
@ -310,6 +316,10 @@ in
|
||||
};
|
||||
|
||||
services = {
|
||||
golink = {
|
||||
enable = true;
|
||||
envFile = config.sops.secrets.golink.path;
|
||||
};
|
||||
smartd.enable = false;
|
||||
mcchunkie.enable = true;
|
||||
wallabag = {
|
||||
|
@ -1,11 +1,12 @@
|
||||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, inputs
|
||||
, ...
|
||||
}:
|
||||
with pkgs; let
|
||||
inherit (inputs.unstable.legacyPackages.${pkgs.system}) golink;
|
||||
cfg = config.services.golink;
|
||||
golink = callPackage ../pkgs/golink.nix { };
|
||||
in
|
||||
{
|
||||
options = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user