1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 10:37:44 +00:00

hosts.pala: add ssh ids

This commit is contained in:
RGBCube 2025-07-22 17:50:23 +03:00
parent b09a30c186
commit 0d3b0ee75c
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
5 changed files with 16 additions and 1 deletions

View file

@ -6,6 +6,16 @@ in {
type = "desktop"; 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"; networking.hostName = "pala";
users.users.pala = { users.users.pala = {

BIN
hosts/pala/id-cull.age Normal file

Binary file not shown.

BIN
hosts/pala/id-no.age Normal file

Binary file not shown.

BIN
hosts/pala/id.age Normal file

Binary file not shown.

View file

@ -1,5 +1,5 @@
let let
inherit (import ./keys.nix) best disk nine admins all; inherit (import ./keys.nix) admins all best disk nine pala;
in { in {
# best # best
"hosts/best/id.age".publicKeys = [ best ] ++ admins; "hosts/best/id.age".publicKeys = [ best ] ++ admins;
@ -33,6 +33,11 @@ in {
"hosts/nine/github2forgejo/environment.age".publicKeys = [ nine ] ++ admins; "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 # shared
"modules/common/ssh/config.age".publicKeys = all; "modules/common/ssh/config.age".publicKeys = all;
"modules/linux/restic/password.age".publicKeys = all; "modules/linux/restic/password.age".publicKeys = all;