Fix: SSH path was empty.
This commit is contained in:
parent
32ceed3318
commit
46ee5c8b5c
@ -243,6 +243,10 @@
|
||||
mac = "00:02:C9:56:BF:9A";
|
||||
ip = "192.168.1.23";
|
||||
};
|
||||
ssh = {
|
||||
path = ".ssh";
|
||||
privateKey = "admin@fighter";
|
||||
};
|
||||
dataDirs = {
|
||||
appdata = "/appdata";
|
||||
library = {
|
||||
|
@ -1,8 +1,7 @@
|
||||
{ sys, pkgs, inputs, flake, ... }: {
|
||||
imports = [ inputs.sops-nix.nixosModules.sops ];
|
||||
sops = {
|
||||
age.sshKeyPaths = [ "${sys.ssh.path}/${sys.ssh.privateKey}" ];
|
||||
#age.keyFile = "/home/${sys.username}/.config/sops/age/keys.txt"; # This file is expected to be provided from outside the nix-store
|
||||
age.sshKeyPaths = [ "/home/${sys.username}/${sys.ssh.path}/${sys.ssh.privateKey}" ];
|
||||
age.generateKey = false;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user