mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-26 15:12:14 +00:00
fix
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
{ lib, pkgs, config, hostName,... }:
|
||||
{ lib, pkgs, config, ... }:
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.custom.mullvad;
|
||||
secretstore = config._secretstore;
|
||||
host = config.networking.hostName;
|
||||
|
||||
|
||||
in {
|
||||
|
||||
@@ -15,7 +17,7 @@ in {
|
||||
services.mullvad-vpn.enable = true;
|
||||
|
||||
sops.secrets.device_json = {
|
||||
sopsFile = "${secretstore}/hosts/${hostName}/mullvad/device.json";
|
||||
sopsFile = "${secretstore}/hosts/${host}/mullvad/device.json";
|
||||
format = "binary";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user