Updated configuration locations
This commit is contained in:
parent
12c009d9f3
commit
e674d487de
5 changed files with 6 additions and 3 deletions
|
|
@ -14,6 +14,7 @@
|
|||
file = {
|
||||
".ssh/id_ed25519".source = "${self}/secrets/crypt/arisu/id_ed25519";
|
||||
".ssh/id_ed25519.pub".source = "${self}/secrets/crypt/arisu/id_ed25519.pub";
|
||||
".config/sops/age/keys.txt".source = "${self}/secrets/crypt/arisu/keys.txt";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
file = {
|
||||
".ssh/id_ed25519".source = "${self}/secrets/crypt/chibi/id_ed25519";
|
||||
".ssh/id_ed25519.pub".source = "${self}/secrets/crypt/chibi/id_ed25519.pub";
|
||||
".config/sops/age/keys.txt".source = "${self}/secrets/crypt/chibi/keys.txt";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
file = {
|
||||
".ssh/id_ed25519".source = "${self}/secrets/crypt/kokoro/id_ed25519";
|
||||
".ssh/id_ed25519.pub".source = "${self}/secrets/crypt/kokoro/id_ed25519.pub";
|
||||
".config/sops/age/keys.txt".source = "${self}/secrets/crypt/kokoro/keys.txt";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
./hardware-configuration.nix
|
||||
|
||||
inputs.disko.nixosModules.default
|
||||
(import ../../core/disko.nix {
|
||||
(import ../disko.nix {
|
||||
main = "/dev/mmcblk1";
|
||||
extras = [];
|
||||
})
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
hostName = config.networking.hostName;
|
||||
userHome = config.users.users.c4patino.home;
|
||||
in {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
|
|
@ -14,7 +14,7 @@ in {
|
|||
defaultSopsFile = "${self}/secrets/sops/secrets.yaml";
|
||||
defaultSopsFormat = "yaml";
|
||||
age = {
|
||||
keyFile = "${self}/secrets/crypt/${hostName}/keys.txt";
|
||||
keyFile = "${userHome}/.config/sops/age/keys.txt";
|
||||
generateKey = true;
|
||||
};
|
||||
secrets = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue