fix(secrets): remove config/lib reference
This commit is contained in:
parent
cd9a20f368
commit
f445431f07
1 changed files with 4 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
||||||
{ config, lib, ... }:
|
with builtins;
|
||||||
with lib;
|
|
||||||
let
|
let
|
||||||
# set ssh public keys here for your system and user
|
flatten = x: if isList x then concatMap (y: flatten y) x else [ x ];
|
||||||
|
|
||||||
systems = {
|
systems = {
|
||||||
Infini-DESKTOP = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID7uX1myj9ghv7wMoL038oGDCdScdyLd7RvYdnoioSBh root@Infini-DESKTOP";
|
Infini-DESKTOP = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID7uX1myj9ghv7wMoL038oGDCdScdyLd7RvYdnoioSBh root@Infini-DESKTOP";
|
||||||
Infini-FRAMEWORK = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF7PmPq/7e+YIVAvIcs6EOJ3pZVJhinwus6ZauJ3aVp0 root@Infini-FRAMEWORK";
|
Infini-FRAMEWORK = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF7PmPq/7e+YIVAvIcs6EOJ3pZVJhinwus6ZauJ3aVp0 root@Infini-FRAMEWORK";
|
||||||
Infini-SERVER = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO8ptHWTesaUzglq01O8OVqeAGxFhXutUZpkgPpBFqzY root@Infini-SERVER";
|
Infini-SERVER = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO8ptHWTesaUzglq01O8OVqeAGxFhXutUZpkgPpBFqzY root@Infini-SERVER";
|
||||||
};
|
};
|
||||||
users = {
|
users = {
|
||||||
infinidoge = config.users.users.infinidoge.openssh.authorizedKeys.keys;
|
infinidoge = import ../users/infinidoge/ssh-keys.nix;
|
||||||
};
|
};
|
||||||
allKeys = flatten [
|
allKeys = flatten [
|
||||||
(attrValues systems)
|
(attrValues systems)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue