From 57c6b890f9088bb333eeab215ecfeca9d09ce3ef Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 20 Jun 2017 00:02:04 +0200 Subject: tv dummy_secrets: init --- tv/dummy_secrets/default.nix | 8 ++++++++ tv/dummy_secrets/repos.nix | 1 + tv/dummy_secrets/ssh.id_ed25519 | 3 +++ tv/dummy_secrets/ssh.id_rsa | 3 +++ 4 files changed, 15 insertions(+) create mode 100644 tv/dummy_secrets/default.nix create mode 100644 tv/dummy_secrets/repos.nix create mode 100644 tv/dummy_secrets/ssh.id_ed25519 create mode 100644 tv/dummy_secrets/ssh.id_rsa (limited to 'tv/dummy_secrets') diff --git a/tv/dummy_secrets/default.nix b/tv/dummy_secrets/default.nix new file mode 100644 index 000000000..ab90db55c --- /dev/null +++ b/tv/dummy_secrets/default.nix @@ -0,0 +1,8 @@ +{ config, ... }: +{ + users.users.root = { + openssh.authorizedKeys.keys = [ + config.krebs.users.tv.pubkey + ]; + }; +} diff --git a/tv/dummy_secrets/repos.nix b/tv/dummy_secrets/repos.nix new file mode 100644 index 000000000..eed712458 --- /dev/null +++ b/tv/dummy_secrets/repos.nix @@ -0,0 +1 @@ +_: {} diff --git a/tv/dummy_secrets/ssh.id_ed25519 b/tv/dummy_secrets/ssh.id_ed25519 new file mode 100644 index 000000000..a7d2adab4 --- /dev/null +++ b/tv/dummy_secrets/ssh.id_ed25519 @@ -0,0 +1,3 @@ +-----BEGIN OPENSSH PRIVATE KEY----- +dummy +-----END OPENSSH PRIVATE KEY----- diff --git a/tv/dummy_secrets/ssh.id_rsa b/tv/dummy_secrets/ssh.id_rsa new file mode 100644 index 000000000..dd7209c2e --- /dev/null +++ b/tv/dummy_secrets/ssh.id_rsa @@ -0,0 +1,3 @@ +-----BEGIN RSA PRIVATE KEY----- +dummy +-----END RSA PRIVATE KEY----- -- cgit v1.2.3