diff options
Diffstat (limited to 'modules/private/system/monitoring-1.nix')
-rw-r--r-- | modules/private/system/monitoring-1.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/private/system/monitoring-1.nix b/modules/private/system/monitoring-1.nix index 2198d09..e335080 100644 --- a/modules/private/system/monitoring-1.nix +++ b/modules/private/system/monitoring-1.nix | |||
@@ -1,4 +1,3 @@ | |||
1 | { privateFiles }: | ||
2 | { config, pkgs, resources, ... }: | 1 | { config, pkgs, resources, ... }: |
3 | { | 2 | { |
4 | deployment = { | 3 | deployment = { |
@@ -6,8 +5,10 @@ | |||
6 | targetHost = config.hostEnv.ips.main.ip4; | 5 | targetHost = config.hostEnv.ips.main.ip4; |
7 | substituteOnDestination = true; | 6 | substituteOnDestination = true; |
8 | }; | 7 | }; |
8 | # ssh-keyscan monitoring-1 | nix-shell -p ssh-to-age --run ssh-to-age | ||
9 | secrets.ageKeys = [ "age1dn4lzhgxusqrpjjnzm7w8ml39ptf326htuzmpqdqs2gg3wq7cqzqxuvx8k" ]; | ||
9 | boot.kernelPackages = pkgs.linuxPackages_latest; | 10 | boot.kernelPackages = pkgs.linuxPackages_latest; |
10 | myEnv = import "${privateFiles}/environment.nix" // { inherit privateFiles; }; | 11 | myEnv = import ../../../nixops/secrets/environment.nix; |
11 | 12 | ||
12 | imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ] ++ builtins.attrValues (import ../..); | 13 | imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ] ++ builtins.attrValues (import ../..); |
13 | 14 | ||