mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
fix secrets
This commit is contained in:
parent
9afa07edfe
commit
7a041b8471
|
@ -3,12 +3,14 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
ip = "192.168.1.177";
|
||||
gateway = "192.168.1.1";
|
||||
username = "homelab";
|
||||
secrets = builtins.toString inputs.nix-secrets;
|
||||
in
|
||||
{
|
||||
# setting up networking!!
|
||||
|
@ -61,5 +63,5 @@ in
|
|||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
|
||||
sops.age.generateKey = true;
|
||||
sops.defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
sops.defaultSopsFile = "${secrets}/secrets/secrets.yaml";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue