tv dummy_secrets: init
This commit is contained in:
parent
7cdd99f2b7
commit
57c6b890f9
@ -11,7 +11,7 @@ with import <stockholm/lib>;
|
|||||||
nixos-config.symlink = "stockholm/tv/1systems/${host.name}.nix";
|
nixos-config.symlink = "stockholm/tv/1systems/${host.name}.nix";
|
||||||
secrets.file =
|
secrets.file =
|
||||||
if getEnv "dummy_secrets" == "true"
|
if getEnv "dummy_secrets" == "true"
|
||||||
then toString <stockholm/null>
|
then toString <stockholm/tv/dummy_secrets>
|
||||||
else "/home/tv/secrets/${host.name}";
|
else "/home/tv/secrets/${host.name}";
|
||||||
secrets-common.file = "/home/tv/secrets/common";
|
secrets-common.file = "/home/tv/secrets/common";
|
||||||
stockholm.file = "/home/tv/stockholm";
|
stockholm.file = "/home/tv/stockholm";
|
||||||
|
8
tv/dummy_secrets/default.nix
Normal file
8
tv/dummy_secrets/default.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
users.users.root = {
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
config.krebs.users.tv.pubkey
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
1
tv/dummy_secrets/repos.nix
Normal file
1
tv/dummy_secrets/repos.nix
Normal file
@ -0,0 +1 @@
|
|||||||
|
_: {}
|
3
tv/dummy_secrets/ssh.id_ed25519
Normal file
3
tv/dummy_secrets/ssh.id_ed25519
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
|
dummy
|
||||||
|
-----END OPENSSH PRIVATE KEY-----
|
3
tv/dummy_secrets/ssh.id_rsa
Normal file
3
tv/dummy_secrets/ssh.id_rsa
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-----BEGIN RSA PRIVATE KEY-----
|
||||||
|
dummy
|
||||||
|
-----END RSA PRIVATE KEY-----
|
Loading…
Reference in New Issue
Block a user