sops: root d, hosts d, modules/servers til multiscrobbler
This commit is contained in:
3
jawz.nix
3
jawz.nix
@@ -1,6 +1,7 @@
|
||||
{ config, ... }: {
|
||||
sops.secrets = let
|
||||
keyConfig = file: {
|
||||
sopsFile = ./secrets/keys.yaml;
|
||||
owner = config.users.users.jawz.name;
|
||||
inherit (config.users.users.jawz) group;
|
||||
path = "/home/jawz/.ssh/${file}";
|
||||
@@ -30,8 +31,8 @@
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacerocdreyes@100CDREYES"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMkpeIV9G26W2/e9PsjBx3sNwPGoicJ807ExRGh4KjhW jawz@server"
|
||||
(builtins.readFile ./secrets/ssh/ed25519_workstation.pub)
|
||||
(builtins.readFile ./secrets/ssh/ed25519_server.pub)
|
||||
(builtins.readFile ./secrets/ssh/ed25519_miniserver.pub)
|
||||
(builtins.readFile ./secrets/ssh/ed25519_galaxy.pub)
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user