mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 02:27:44 +00:00
hosts.pala: add ssh ids
This commit is contained in:
parent
b09a30c186
commit
0d3b0ee75c
5 changed files with 16 additions and 1 deletions
|
@ -6,6 +6,16 @@ in {
|
|||
|
||||
type = "desktop";
|
||||
|
||||
secrets.id.file = ./id.age;
|
||||
secrets.id-cull.file = ./id-cull.age;
|
||||
secrets.id-no.file = ./id-no.age;
|
||||
|
||||
services.openssh.extraConfig = /* sshclientconfig */ ''
|
||||
HostKey ${config.secrets.id.path}
|
||||
HostKey ${config.secrets.id-cull.path}
|
||||
HostKey ${config.secrets.id-no.path}
|
||||
'';
|
||||
|
||||
networking.hostName = "pala";
|
||||
|
||||
users.users.pala = {
|
||||
|
|
BIN
hosts/pala/id-cull.age
Normal file
BIN
hosts/pala/id-cull.age
Normal file
Binary file not shown.
BIN
hosts/pala/id-no.age
Normal file
BIN
hosts/pala/id-no.age
Normal file
Binary file not shown.
BIN
hosts/pala/id.age
Normal file
BIN
hosts/pala/id.age
Normal file
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
let
|
||||
inherit (import ./keys.nix) best disk nine admins all;
|
||||
inherit (import ./keys.nix) admins all best disk nine pala;
|
||||
in {
|
||||
# best
|
||||
"hosts/best/id.age".publicKeys = [ best ] ++ admins;
|
||||
|
@ -33,6 +33,11 @@ in {
|
|||
|
||||
"hosts/nine/github2forgejo/environment.age".publicKeys = [ nine ] ++ admins;
|
||||
|
||||
# pala
|
||||
"hosts/pala/id.age".publicKeys = [ pala ] ++ admins;
|
||||
"hosts/pala/id-cull.age".publicKeys = [ pala ] ++ admins;
|
||||
"hosts/pala/id-no.age".publicKeys = [ pala ] ++ admins;
|
||||
|
||||
# shared
|
||||
"modules/common/ssh/config.age".publicKeys = all;
|
||||
"modules/linux/restic/password.age".publicKeys = all;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue