test multiple keys
This commit is contained in:
@@ -29,19 +29,9 @@
|
||||
users.users."remote-builder" = lib.mkIf config.sysconfig.remoteBuildHost {
|
||||
isNormalUser = true;
|
||||
createHome = false;
|
||||
/*openssh.authorizedKeys.keyFiles = [
|
||||
config.sops.secrets."remoteBuildClientKeys/laptop".path
|
||||
];*/
|
||||
/*openssh.authorizedKeys.keyFiles = (builtins.map
|
||||
(y: config.sops.secrets.${y}.path)
|
||||
(builtins.partition
|
||||
(x: (builtins.match "^remoteBuildClientKeys/.+" x) != null)
|
||||
(builtins.attrNames config.sops.secrets)
|
||||
).right
|
||||
);*/
|
||||
};
|
||||
|
||||
sops.templates."remote-builder" = {
|
||||
sops.templates."remote-builder" = lib.mkIf config.sysconfig.remoteBuildHost {
|
||||
content = builtins.concatStringsSep ''''\n'' (builtins.map
|
||||
(y: config.sops.placeholder.${y})
|
||||
(builtins.partition
|
||||
@@ -53,8 +43,6 @@
|
||||
owner = "remote-builder";
|
||||
};
|
||||
|
||||
#environment.etc."ssh/authorized_keys.d/remote-builder" = {};
|
||||
|
||||
hardware = {
|
||||
|
||||
graphics.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user