mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
9 lines
271 B
Nix
9 lines
271 B
Nix
{ pkgs, config, ... }:
|
|
|
|
{
|
|
imports = [ ./kat ];
|
|
|
|
users.users.root = {
|
|
openssh.authorizedKeys.keys = with pkgs.lib; concatLists (mapAttrsToList (name: user: if elem "wheel" user.extraGroups then user.openssh.authorizedKeys.keys else []) config.users.users);
|
|
};
|
|
}
|