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