secrets: start secrets.nix revamp
This commit is contained in:
parent
990e054e62
commit
9c11766c7d
1 changed files with 17 additions and 3 deletions
|
@ -1,8 +1,22 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
# set ssh public keys here for your system and user
|
||||
system = "";
|
||||
user = "";
|
||||
allKeys = [ system user ];
|
||||
systems = {
|
||||
Infini-DESKTOP = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID9a6DiYuEeA+bX4rWgWGRUZwtln8sXtxCG9fPuvp9Hx root@Infini-DESKTOP";
|
||||
Infini-FRAMEWORK = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF7PmPq/7e+YIVAvIcs6EOJ3pZVJhinwus6ZauJ3aVp0 root@Infini-FRAMEWORK";
|
||||
# Infini-RPI = "";
|
||||
# Infini-SERVER = "";
|
||||
# Infini-STICK = "";
|
||||
# Infini-SWIFT = "";
|
||||
};
|
||||
users = {
|
||||
infinidoge = "";
|
||||
};
|
||||
allKeys = flatten [
|
||||
(attrValues systems)
|
||||
(attrValues users)
|
||||
];
|
||||
in
|
||||
{
|
||||
"secret.age".publicKeys = allKeys;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue