fixing fitbit

This commit is contained in:
2023-11-30 14:48:39 +00:00
parent 915db56560
commit 4dc8f4b226
13 changed files with 285 additions and 25 deletions

View File

@@ -0,0 +1,18 @@
{
lib,
pkgs,
config,
...
}:
with lib; let
secretstore = config._secretstore;
host = config.networking.hostName;
secretpath = "${secretstore}/hosts/${host}/mullvad/device.json";
in {
sops.secrets.device_json = {
sopsFile = "${secretstore}/hosts/${host}/mullvad/device.json";
device_json.format = "binary";
};
environment.etc."mullvad-vpn/device.conf".source = config.sops.secrets.device_json.path;
}