mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
proxy: use config.local.keys
This commit is contained in:
parent
26ae9e9a61
commit
89b41c57bc
1 changed files with 8 additions and 6 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
modulesPath,
|
modulesPath,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
config,
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
local = {
|
local = {
|
||||||
|
|
@ -30,11 +30,13 @@
|
||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
users.root = {
|
users.root = {
|
||||||
hashedPassword = "!";
|
hashedPassword = "!";
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = builtins.attrValues {
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILZKIp3iObuxEUPx1dsMiN3vyMaMQb0N1gKJY78TtRxd"
|
inherit (config.local.keys)
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILpYY2uw0OH1Re+3BkYFlxn0O/D8ryqByJB/ljefooNc"
|
gerg_gerg-phone
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWbwkFJmRBgyWyWU+w3ksZ+KuFw9uXJN3PwqqE7Z/i8"
|
gerg_gerg-windows
|
||||||
];
|
gerg_gerg-desktop
|
||||||
|
;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue