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
|
let
|
||||||
# set ssh public keys here for your system and user
|
# set ssh public keys here for your system and user
|
||||||
system = "";
|
systems = {
|
||||||
user = "";
|
Infini-DESKTOP = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID9a6DiYuEeA+bX4rWgWGRUZwtln8sXtxCG9fPuvp9Hx root@Infini-DESKTOP";
|
||||||
allKeys = [ system user ];
|
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
|
in
|
||||||
{
|
{
|
||||||
"secret.age".publicKeys = allKeys;
|
"secret.age".publicKeys = allKeys;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue